commit:     4714f7f11c5cbe2338213927773e4937a0d2b69c
Author:     Kristian Fiskerstrand <k_f <AT> gentoo <DOT> org>
AuthorDate: Thu Aug  2 13:02:01 2018 +0000
Commit:     Kristian Fiskerstrand <k_f <AT> gentoo <DOT> org>
CommitDate: Thu Aug  2 13:07:46 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4714f7f1

gnome-extra/nemo: Make selinux optional

Closes: https://bugs.gentoo.org/662550
Package-Manager: Portage-2.3.40, Repoman-2.3.9

 gnome-extra/nemo/{nemo-3.8.5.ebuild => nemo-3.8.5-r1.ebuild} | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)

diff --git a/gnome-extra/nemo/nemo-3.8.5.ebuild 
b/gnome-extra/nemo/nemo-3.8.5-r1.ebuild
similarity index 89%
rename from gnome-extra/nemo/nemo-3.8.5.ebuild
rename to gnome-extra/nemo/nemo-3.8.5-r1.ebuild
index 886c1c1d8e2..d22c0fb12ac 100644
--- a/gnome-extra/nemo/nemo-3.8.5.ebuild
+++ b/gnome-extra/nemo/nemo-3.8.5-r1.ebuild
@@ -14,7 +14,7 @@ 
SRC_URI="https://github.com/linuxmint/nemo/archive/${PV}.tar.gz -> ${P}.tar.gz"
 LICENSE="GPL-2+ LGPL-2+ FDL-1.1"
 SLOT="0"
 KEYWORDS="~amd64 ~x86"
-IUSE="exif +introspection +nls packagekit tracker xmp"
+IUSE="exif +introspection +nls packagekit selinux tracker xmp"
 RESTRICT=test
 
 COMMON_DEPEND="
@@ -36,7 +36,7 @@ COMMON_DEPEND="
        introspection? ( >=dev-libs/gobject-introspection-0.6.4:= )
        tracker? ( >=app-misc/tracker-0.12:= )
        xmp? ( >=media-libs/exempi-2.2.0:= )
-       sys-libs/libselinux
+       selinux? ( sys-libs/libselinux )
 "
 RDEPEND="${COMMON_DEPEND}
        x11-themes/adwaita-icon-theme
@@ -72,8 +72,9 @@ src_prepare() {
 src_configure() {
        meson_src_configure \
                -Dexif=$(usex exif true false) \
-               -Denable-tracker=$(usex tracker true false) \
-               -Dxmp=$(usex xmp true false)
+               -Dtracker=$(usex tracker true false) \
+               -Dxmp=$(usex xmp true false) \
+               -Dselinux=$(usex selinux true false)
 }
 
 src_install() {

Reply via email to