summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Pipping <sping@gentoo.org>2016-03-06 23:45:10 +0100
committerSebastian Pipping <sping@gentoo.org>2016-03-06 23:53:58 +0100
commit1b50ababb379bc9242f04483e8d1103082a36bf0 (patch)
treef6dae29979fee88ca92254b0e827432c4b292acc /media-libs/babl
parentdev-perl/Error: Mark 0.170.240 stable for arm64 (diff)
downloadgentoo-1b50ababb379bc9242f04483e8d1103082a36bf0.tar.gz
gentoo-1b50ababb379bc9242f04483e8d1103082a36bf0.tar.bz2
gentoo-1b50ababb379bc9242f04483e8d1103082a36bf0.zip
media-libs/babl: Add use flag for CPU feature f16c (bug #576388)
Diffstat (limited to 'media-libs/babl')
-rw-r--r--media-libs/babl/babl-0.1.16.ebuild3
-rw-r--r--media-libs/babl/metadata.xml3
2 files changed, 5 insertions, 1 deletions
diff --git a/media-libs/babl/babl-0.1.16.ebuild b/media-libs/babl/babl-0.1.16.ebuild
index 74f36162e658..97deb60aa7e5 100644
--- a/media-libs/babl/babl-0.1.16.ebuild
+++ b/media-libs/babl/babl-0.1.16.ebuild
@@ -20,7 +20,7 @@ HOMEPAGE="http://www.gegl.org/babl/"
LICENSE="LGPL-3"
SLOT="0"
-IUSE="altivec cpu_flags_x86_sse cpu_flags_x86_sse2 cpu_flags_x86_mmx"
+IUSE="altivec cpu_flags_x86_sse cpu_flags_x86_sse2 cpu_flags_x86_mmx cpu_flags_x86_f16c"
RDEPEND=""
DEPEND="${RDEPEND}
@@ -43,6 +43,7 @@ src_configure() {
--disable-static \
--disable-maintainer-mode \
$(use_enable altivec) \
+ $(use_enable cpu_flags_x86_f16c f16c) \
$(use_enable cpu_flags_x86_mmx mmx) \
$(use_enable cpu_flags_x86_sse sse) \
$(use_enable cpu_flags_x86_sse sse2)
diff --git a/media-libs/babl/metadata.xml b/media-libs/babl/metadata.xml
index 82b7b7953794..c86b23d9da68 100644
--- a/media-libs/babl/metadata.xml
+++ b/media-libs/babl/metadata.xml
@@ -4,4 +4,7 @@
<maintainer type="person">
<email>sping@gentoo.org</email>
</maintainer>
+ <use>
+ <flag name='cpu_flags_x86_f16c'>Take advantage of CPU feature f16c</flag>
+ </use>
</pkgmetadata>