mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-20 22:27:17 -08:00
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
This commit is contained in:
@@ -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)
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user