summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2017-12-25 13:17:27 +0100
committerAndreas Sturmlechner <asturm@gentoo.org>2017-12-25 14:53:01 +0100
commit26b21b170d77a21ffbbd755947bf7ab2bb7944e7 (patch)
treee92b7ff281b43e47e8a5d234f13048ef85ec6399 /media-libs
parentmedia-libs/libextractor: Re-add USE=gstreamer (diff)
downloadgentoo-26b21b170d77a21ffbbd755947bf7ab2bb7944e7.tar.gz
gentoo-26b21b170d77a21ffbbd755947bf7ab2bb7944e7.tar.bz2
gentoo-26b21b170d77a21ffbbd755947bf7ab2bb7944e7.zip
media-libs/libextractor: Add USE=apparmor
Package-Manager: Portage-2.3.19, Repoman-2.3.6
Diffstat (limited to 'media-libs')
-rw-r--r--media-libs/libextractor/libextractor-1.6.ebuild4
-rw-r--r--media-libs/libextractor/metadata.xml1
2 files changed, 4 insertions, 1 deletions
diff --git a/media-libs/libextractor/libextractor-1.6.ebuild b/media-libs/libextractor/libextractor-1.6.ebuild
index 624482596d93..3f80bc169d58 100644
--- a/media-libs/libextractor/libextractor-1.6.ebuild
+++ b/media-libs/libextractor/libextractor-1.6.ebuild
@@ -10,7 +10,7 @@ SRC_URI="mirror://gnu/${PN}/${P}.tar.gz"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86"
-IUSE="+archive +bzip2 ffmpeg flac gif gsf gstreamer gtk jpeg +magic midi mp4 mpeg tidy tiff vorbis +zlib" # test
+IUSE="apparmor +archive +bzip2 ffmpeg flac gif gsf gstreamer gtk jpeg +magic midi mp4 mpeg tidy tiff vorbis +zlib" # test
RESTRICT="test"
@@ -21,6 +21,7 @@ COMMON_DEPEND="
sys-devel/libtool
virtual/libiconv
virtual/libintl
+ apparmor? ( sys-libs/libapparmor )
archive? ( app-arch/libarchive:= )
bzip2? ( app-arch/bzip2 )
ffmpeg? ( virtual/ffmpeg )
@@ -82,6 +83,7 @@ src_configure() {
e_ac_cv lib_FLAC_FLAC__stream_decoder_init_stream=$(usex flac)
e_ac_cv lib_FLAC_FLAC__stream_decoder_init_ogg_stream=$(usex flac)
+ e_ac_cv header_sys_apparmor_h=$(usex apparmor)
e_ac_cv header_archive_h=$(usex archive)
e_ac_cv header_bzlib_h=$(usex bzip2)
e_ac_cv header_gif_lib_h=$(usex gif)
diff --git a/media-libs/libextractor/metadata.xml b/media-libs/libextractor/metadata.xml
index 7df945748e38..63d0717ca8c8 100644
--- a/media-libs/libextractor/metadata.xml
+++ b/media-libs/libextractor/metadata.xml
@@ -2,6 +2,7 @@
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<use>
+ <flag name="apparmor">Enable apparmor support using <pkg>sys-libs/libapparmor</pkg></flag>
<flag name="archive">Enable archive support using <pkg>app-arch/libarchive</pkg></flag>
<flag name="gsf">Enable OLE2 (MS Office) plug-in support using <pkg>gnome-extra/libgsf</pkg></flag>
<flag name="magic">Enable magic support using <pkg>sys-apps/file</pkg></flag>