diff options
author | Mike Gilbert <floppym@gentoo.org> | 2017-01-14 20:11:46 -0500 |
---|---|---|
committer | Mike Gilbert <floppym@gentoo.org> | 2017-01-14 20:17:23 -0500 |
commit | b804ac8b176f70a0b71ac8dad768f7bb28bd2eda (patch) | |
tree | 1d82ce24ed2b4a2cfa9de41034b70ca3f3964a43 /media-libs/libwebp/libwebp-0.5.2.ebuild | |
parent | app-emacs/ocaml-mode: ia64 stable wrt bug #463018 (diff) | |
download | gentoo-b804ac8b176f70a0b71ac8dad768f7bb28bd2eda.tar.gz gentoo-b804ac8b176f70a0b71ac8dad768f7bb28bd2eda.tar.bz2 gentoo-b804ac8b176f70a0b71ac8dad768f7bb28bd2eda.zip |
media-libs/libwebp: add USE flags for avx2, sse2, sse4.1, and neon
Bug: https://bugs.gentoo.org/595526
Package-Manager: Portage-2.3.3_p32, Repoman-2.3.1_p25
Diffstat (limited to 'media-libs/libwebp/libwebp-0.5.2.ebuild')
-rw-r--r-- | media-libs/libwebp/libwebp-0.5.2.ebuild | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/media-libs/libwebp/libwebp-0.5.2.ebuild b/media-libs/libwebp/libwebp-0.5.2.ebuild index 9118d8544222..078afd65385f 100644 --- a/media-libs/libwebp/libwebp-0.5.2.ebuild +++ b/media-libs/libwebp/libwebp-0.5.2.ebuild @@ -12,7 +12,7 @@ SRC_URI="http://downloads.webmproject.org/releases/webp/${P}.tar.gz" LICENSE="BSD" SLOT="0/6" # subslot = libwebp soname version KEYWORDS="~alpha amd64 arm ~arm64 hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 sparc x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~x64-macos ~m68k-mint" -IUSE="experimental gif +jpeg opengl +png static-libs swap-16bit-csp tiff" +IUSE="cpu_flags_x86_avx2 cpu_flags_x86_sse2 cpu_flags_x86_sse4_1 experimental gif +jpeg neon opengl +png static-libs swap-16bit-csp tiff" # TODO: dev-lang/swig bindings in swig/ subdirectory RDEPEND="gif? ( media-libs/giflib:= ) @@ -48,6 +48,11 @@ multilib_src_configure() { $(use_enable opengl gl) $(use_enable tiff) + $(use_enable cpu_flags_x86_avx2 avx2) + $(use_enable cpu_flags_x86_sse2 sse2) + $(use_enable cpu_flags_x86_sse4_1 sse4.1) + $(use_enable neon) + # Only used for gif2webp binary wrt #486646 $(multilib_native_use_enable gif) ) |