x11-misc/xscreensaver: Add IUSE=caps
authorJeroen Roovers <jer@gentoo.org>
Fri, 13 Dec 2019 09:54:53 +0000 (10:54 +0100)
committerJeroen Roovers <jer@gentoo.org>
Fri, 13 Dec 2019 09:58:14 +0000 (10:58 +0100)
Package-Manager: Portage-2.3.81, Repoman-2.3.20
Bug: https://bugs.gentoo.org/702652
Signed-off-by: Jeroen Roovers <jer@gentoo.org>
x11-misc/xscreensaver/xscreensaver-5.43-r1.ebuild
x11-misc/xscreensaver/xscreensaver-5.43-r2.ebuild

index a3724193e8b7a92b552b57816ac2337ae4191e96..0e7b5548e7578e3e835dbbce50f181e7a8ffa3ed 100644 (file)
@@ -13,7 +13,7 @@ SRC_URI="
 LICENSE="BSD"
 SLOT="0"
 KEYWORDS="~alpha amd64 ~arm ~arm64 hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc x86 ~amd64-linux ~x86-linux ~x64-solaris ~x86-solaris"
-IUSE="gdm jpeg new-login offensive opengl pam +perl selinux suid xinerama"
+IUSE="caps gdm jpeg new-login offensive opengl pam +perl selinux suid xinerama"
 
 COMMON_DEPEND="
        >=gnome-base/libglade-2
@@ -32,6 +32,7 @@ COMMON_DEPEND="
        x11-libs/libXt
        x11-libs/libXxf86misc
        x11-libs/libXxf86vm
+       caps? ( sys-libs/libcap )
        jpeg? ( virtual/jpeg:0 )
        new-login? (
                gdm? ( gnome-base/gdm )
@@ -102,6 +103,7 @@ src_configure() {
        export RPM_PACKAGE_VERSION=no #368025
 
        econf \
+               $(use_with caps setcap-hacks) \
                $(use_with jpeg) \
                $(use_with new-login login-manager) \
                $(use_with opengl gl) \
index d5c1aeca6ef0c0ab2c57e3001110ab4257daaeb9..31c271493a2177e64f3b3005266e3a59d1c881aa 100644 (file)
@@ -13,7 +13,7 @@ SRC_URI="
 LICENSE="BSD"
 SLOT="0"
 KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-solaris ~x86-solaris"
-IUSE="gdm jpeg new-login offensive opengl pam +perl selinux suid xinerama"
+IUSE="caps gdm jpeg new-login offensive opengl pam +perl selinux suid xinerama"
 
 COMMON_DEPEND="
        >=gnome-base/libglade-2
@@ -32,6 +32,7 @@ COMMON_DEPEND="
        x11-libs/libXt
        x11-libs/libXxf86misc
        x11-libs/libXxf86vm
+       caps? ( sys-libs/libcap )
        jpeg? ( virtual/jpeg:0 )
        new-login? (
                gdm? ( gnome-base/gdm )
@@ -102,6 +103,7 @@ src_configure() {
        export RPM_PACKAGE_VERSION=no #368025
 
        econf \
+               $(use_with caps setcap-hacks) \
                $(use_with jpeg) \
                $(use_with new-login login-manager) \
                $(use_with opengl gl) \