diff options
author | Sam James <sam@gentoo.org> | 2021-10-24 04:01:49 +0000 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2021-10-24 04:06:03 +0000 |
commit | aea51db57baf3f3f50a44f122d5cb0c7f2a632fb (patch) | |
tree | 305a6f9d9a9ae8cd46021aea851ffc61e9f917e0 /media-libs/libavif | |
parent | media-libs/libavif: Bump to 0.9.3 (diff) | |
download | gentoo-aea51db57baf3f3f50a44f122d5cb0c7f2a632fb.tar.gz gentoo-aea51db57baf3f3f50a44f122d5cb0c7f2a632fb.tar.bz2 gentoo-aea51db57baf3f3f50a44f122d5cb0c7f2a632fb.zip |
media-libs/libavif: sync live ebuild
See: https://github.com/gentoo/gentoo/pull/22671
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'media-libs/libavif')
-rw-r--r-- | media-libs/libavif/libavif-9999.ebuild | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/media-libs/libavif/libavif-9999.ebuild b/media-libs/libavif/libavif-9999.ebuild index 1cb15d73dc44..1be688c4b5e7 100644 --- a/media-libs/libavif/libavif-9999.ebuild +++ b/media-libs/libavif/libavif-9999.ebuild @@ -15,10 +15,12 @@ SLOT="0" KEYWORDS="" IUSE="+aom dav1d examples extras gdk-pixbuf rav1e svt-av1" +REQUIRED_USE="|| ( aom dav1d )" + DEPEND="media-libs/libpng[${MULTILIB_USEDEP}] sys-libs/zlib[${MULTILIB_USEDEP}] virtual/jpeg[${MULTILIB_USEDEP}] - aom? ( >=media-libs/libaom-2.0.0[${MULTILIB_USEDEP}] ) + aom? ( >=media-libs/libaom-3.1.2:=[${MULTILIB_USEDEP}] ) dav1d? ( media-libs/dav1d[${MULTILIB_USEDEP}] ) gdk-pixbuf? ( x11-libs/gdk-pixbuf:2[${MULTILIB_USEDEP}] ) rav1e? ( media-video/rav1e[capi] ) @@ -26,8 +28,6 @@ DEPEND="media-libs/libpng[${MULTILIB_USEDEP}] RDEPEND="${DEPEND}" BDEPEND="virtual/pkgconfig" -REQUIRED_USE="|| ( aom dav1d )" - multilib_src_configure() { local mycmakeargs=( -DBUILD_SHARED_LIBS=ON @@ -40,6 +40,8 @@ multilib_src_configure() { -DAVIF_LOCAL_JPEG=OFF -DAVIF_BUILD_GDK_PIXBUF=$(usex gdk-pixbuf ON OFF) + + -DAVIF_ENABLE_WERROR=OFF ) if multilib_is_native_abi; then |