diff options
author | Aliaksei Urbanski <aliaksei.urbanski@gmail.com> | 2024-07-31 10:56:27 +0300 |
---|---|---|
committer | Joonas Niilola <juippis@gentoo.org> | 2024-08-01 09:28:12 +0300 |
commit | db2e6b894b5b6168eeb56cc8a3c2f6f4e349a964 (patch) | |
tree | 1c10108b99b55581be3f6249cafef8b5fe012774 /media-libs | |
parent | media-libs/libavif: add 1.1.1 (diff) | |
download | gentoo-db2e6b894b5b6168eeb56cc8a3c2f6f4e349a964.tar.gz gentoo-db2e6b894b5b6168eeb56cc8a3c2f6f4e349a964.tar.bz2 gentoo-db2e6b894b5b6168eeb56cc8a3c2f6f4e349a964.zip |
media-libs/libavif: fix 9999
These changes fix:
- configuration options
- missing media-gfx/imagemagick[lcms]
for the test_cmd_icc_profile test
Signed-off-by: Aliaksei Urbanski <aliaksei.urbanski@gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/37667
Signed-off-by: Joonas Niilola <juippis@gentoo.org>
Diffstat (limited to 'media-libs')
-rw-r--r-- | media-libs/libavif/libavif-9999.ebuild | 15 |
1 files changed, 12 insertions, 3 deletions
diff --git a/media-libs/libavif/libavif-9999.ebuild b/media-libs/libavif/libavif-9999.ebuild index 0f5d4d481176..d13f567ad6dd 100644 --- a/media-libs/libavif/libavif-9999.ebuild +++ b/media-libs/libavif/libavif-9999.ebuild @@ -21,7 +21,12 @@ DEPEND=" media-libs/libpng:=[${MULTILIB_USEDEP}] aom? ( >=media-libs/libaom-3.3.0:=[${MULTILIB_USEDEP}] ) dav1d? ( >=media-libs/dav1d-1.0.0:=[${MULTILIB_USEDEP}] ) - extras? ( test? ( dev-cpp/gtest ) ) + extras? ( + test? ( + dev-cpp/gtest + media-gfx/imagemagick[lcms] + ) + ) gdk-pixbuf? ( dev-libs/glib:2[${MULTILIB_USEDEP}] x11-libs/gdk-pixbuf:2[${MULTILIB_USEDEP}] @@ -39,12 +44,14 @@ BDEPEND=" multilib_src_configure() { local mycmakeargs=( -DBUILD_SHARED_LIBS=ON - -DAVIF_CODEC_AOM=$(usex aom SYSTEM OFF) - -DAVIF_CODEC_DAV1D=$(usex dav1d SYSTEM OFF) -DAVIF_CODEC_LIBGAV1=OFF + + # bug 916948 -DAVIF_LIBYUV=OFF # Use system libraries. + -DAVIF_CODEC_AOM=$(usex aom SYSTEM OFF) + -DAVIF_CODEC_DAV1D=$(usex dav1d SYSTEM OFF) -DAVIF_ZLIBPNG=SYSTEM -DAVIF_JPEG=SYSTEM @@ -62,6 +69,7 @@ multilib_src_configure() { -DAVIF_BUILD_APPS=$(usex extras ON OFF) -DAVIF_BUILD_TESTS=$(usex test ON OFF) -DAVIF_ENABLE_GTEST=$(usex extras $(usex test ON OFF) OFF) + -DAVIF_GTEST=$(usex extras $(usex test SYSTEM OFF) OFF) ) else mycmakeargs+=( @@ -72,6 +80,7 @@ multilib_src_configure() { -DAVIF_BUILD_APPS=OFF -DAVIF_BUILD_TESTS=OFF -DAVIF_ENABLE_GTEST=OFF + -DAVIF_GTEST=OFF ) if ! use aom ; then |