Skip to content

Commit

Permalink
net-misc/tigervnc: keywords xinerama dri3.
Browse files Browse the repository at this point in the history
Package-Manager: Portage-2.3.13, Repoman-2.3.3
Closes: #6581
  • Loading branch information
xdch47 authored and monsieurp committed Dec 24, 2017
1 parent 2c3af51 commit 9e5b6fd
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 11 deletions.
3 changes: 2 additions & 1 deletion net-misc/tigervnc/metadata.xml
Expand Up @@ -10,9 +10,10 @@
<name>Proxy Maintainers</name>
</maintainer>
<use>
<flag name="drm">build with DRM support</flag>
<flag name="drm">Build with DRM support</flag>
<flag name="server">Build TigerVNC server</flag>
<flag name="xorgmodule">Build the Xorg module</flag>
<flag name="dri3">Build with DRI3 support </flag>
</use>
<upstream>
<remote-id type="github">TigerVNC/tigervnc</remote-id>
Expand Down
13 changes: 8 additions & 5 deletions net-misc/tigervnc/tigervnc-1.8.0-r1.ebuild
Expand Up @@ -18,7 +18,7 @@ SRC_URI="https://github.com/TigerVNC/tigervnc/archive/v${PV}.tar.gz -> ${P}.tar.
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86"
IUSE="+drm gnutls nls java +opengl pam server systemd +xorgmodule"
IUSE="+drm gnutls nls java +opengl pam server systemd +xorgmodule xinerama dri3"

CDEPEND="virtual/jpeg:0
sys-libs/zlib
Expand All @@ -40,7 +40,10 @@ CDEPEND="virtual/jpeg:0
opengl? ( >=app-eselect/eselect-opengl-1.3.1-r1 )
xorgmodule? ( =x11-base/xorg-server-${XSERVER_VERSION%.*}* )
drm? ( x11-libs/libdrm )
)"
)
xinerama? ( x11-libs/libXinerama )
dri3? ( x11-proto/dri3proto )
"

RDEPEND="${CDEPEND}
!net-misc/tightvnc
Expand Down Expand Up @@ -121,7 +124,7 @@ src_configure() {
--disable-devel-docs \
--disable-dmx \
--disable-dri \
--disable-dri3 \
$(use_enable dri3) \
--disable-glamor \
--disable-kdrive \
--disable-libunwind \
Expand All @@ -133,7 +136,7 @@ src_configure() {
--disable-tslib \
--disable-unit-tests \
--disable-xephyr \
--disable-xinerama \
$(use_enable xinerama) \
--disable-xnest \
--disable-xorg \
--disable-xvfb \
Expand All @@ -153,7 +156,7 @@ src_compile() {
if use server; then
# deps of the vnc module and the module itself
local d subdirs=(
fb xfixes Xext dbe $(usex opengl glx "") randr render damageext miext Xi xkb
fb xfixes Xext dbe $(usex opengl glx "") $(usex dri3 dri3 "") randr render damageext miext Xi xkb
composite dix mi os hw/vnc
)
for d in "${subdirs[@]}"; do
Expand Down
13 changes: 8 additions & 5 deletions net-misc/tigervnc/tigervnc-1.8.0.ebuild
Expand Up @@ -18,7 +18,7 @@ SRC_URI="https://github.com/TigerVNC/tigervnc/archive/v${PV}.tar.gz -> ${P}.tar.
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 ~sh sparc x86"
IUSE="+drm gnutls nls java +opengl pam server systemd +xorgmodule"
IUSE="+drm gnutls nls java +opengl pam server systemd +xorgmodule xinerama dri3"

CDEPEND="virtual/jpeg:0
sys-libs/zlib
Expand All @@ -40,7 +40,10 @@ CDEPEND="virtual/jpeg:0
opengl? ( >=app-eselect/eselect-opengl-1.3.1-r1 )
xorgmodule? ( =x11-base/xorg-server-${XSERVER_VERSION%.*}* )
drm? ( x11-libs/libdrm )
)"
)
xinerama? ( x11-libs/libXinerama )
dri3? ( x11-proto/dri3proto )
"

RDEPEND="${CDEPEND}
!net-misc/tightvnc
Expand Down Expand Up @@ -120,7 +123,7 @@ src_configure() {
--disable-devel-docs \
--disable-dmx \
--disable-dri \
--disable-dri3 \
$(use_enable dri3) \
--disable-glamor \
--disable-kdrive \
--disable-libunwind \
Expand All @@ -132,7 +135,7 @@ src_configure() {
--disable-tslib \
--disable-unit-tests \
--disable-xephyr \
--disable-xinerama \
$(use_enable xinerama) \
--disable-xnest \
--disable-xorg \
--disable-xvfb \
Expand All @@ -152,7 +155,7 @@ src_compile() {
if use server; then
# deps of the vnc module and the module itself
local d subdirs=(
fb xfixes Xext dbe $(usex opengl glx "") randr render damageext miext Xi xkb
fb xfixes Xext dbe $(usex opengl glx "") $(usex dri3 dri3 "") randr render damageext miext Xi xkb
composite dix mi os hw/vnc
)
for d in "${subdirs[@]}"; do
Expand Down

0 comments on commit 9e5b6fd

Please sign in to comment.