diff options
-rw-r--r-- | media-libs/libavif/libavif-0.10.1.ebuild | 18 | ||||
-rw-r--r-- | media-libs/libavif/libavif-0.11.1.ebuild | 14 | ||||
-rw-r--r-- | media-libs/libavif/libavif-1.0.4.ebuild | 14 | ||||
-rw-r--r-- | media-libs/libavif/libavif-9999.ebuild | 12 | ||||
-rw-r--r-- | profiles/features/big-endian/package.use | 7 |
5 files changed, 20 insertions, 45 deletions
diff --git a/media-libs/libavif/libavif-0.10.1.ebuild b/media-libs/libavif/libavif-0.10.1.ebuild index 7046bbe5fc0b..c5d6d137e153 100644 --- a/media-libs/libavif/libavif-0.10.1.ebuild +++ b/media-libs/libavif/libavif-0.10.1.ebuild @@ -12,14 +12,14 @@ SRC_URI="https://github.com/AOMediaCodec/libavif/archive/v${PV}.tar.gz -> ${P}.t LICENSE="BSD-2" # See bug #822336 re subslot SLOT="0/${PV}" -KEYWORDS="amd64 arm arm64 ~loong ppc64 ~riscv sparc x86" +KEYWORDS="amd64 arm arm64 ~loong ~mips ppc64 ~riscv sparc x86" IUSE="+aom dav1d examples extras gdk-pixbuf rav1e svt-av1" REQUIRED_USE="|| ( aom dav1d )" -DEPEND="media-libs/libpng[${MULTILIB_USEDEP}] +DEPEND="media-libs/libjpeg-turbo[${MULTILIB_USEDEP}] + media-libs/libpng[${MULTILIB_USEDEP}] sys-libs/zlib[${MULTILIB_USEDEP}] - virtual/jpeg[${MULTILIB_USEDEP}] aom? ( >=media-libs/libaom-3.3.0:=[${MULTILIB_USEDEP}] ) dav1d? ( >=media-libs/dav1d-1.0.0:=[${MULTILIB_USEDEP}] ) gdk-pixbuf? ( x11-libs/gdk-pixbuf:2[${MULTILIB_USEDEP}] ) @@ -82,17 +82,9 @@ pkg_postinst() { ewarn "Enable aom, rav1e or svt-av1 flag if you want to save .AVIF files." fi - if use gdk-pixbuf ; then - # causes segfault if set, see bug 375615 - unset __GL_NO_DSO_FINALIZER - multilib_foreach_abi gnome2_gdk_pixbuf_update - fi + use gdk-pixbuf && multilib_foreach_abi gnome2_gdk_pixbuf_update } pkg_postrm() { - if use gdk-pixbuf ; then - # causes segfault if set, see bug 375615 - unset __GL_NO_DSO_FINALIZER - multilib_foreach_abi gnome2_gdk_pixbuf_update - fi + use gdk-pixbuf && multilib_foreach_abi gnome2_gdk_pixbuf_update } diff --git a/media-libs/libavif/libavif-0.11.1.ebuild b/media-libs/libavif/libavif-0.11.1.ebuild index 5db185050183..fb3932ae0321 100644 --- a/media-libs/libavif/libavif-0.11.1.ebuild +++ b/media-libs/libavif/libavif-0.11.1.ebuild @@ -12,7 +12,7 @@ SRC_URI="https://github.com/AOMediaCodec/libavif/archive/v${PV}.tar.gz -> ${P}.t LICENSE="BSD-2" # See bug #822336 re subslot SLOT="0/${PV}" -KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc64 ~riscv ~x86" +KEYWORDS="~amd64 ~arm ~arm64 ~loong ~mips ~ppc64 ~riscv ~x86" IUSE="+aom dav1d examples extras gdk-pixbuf rav1e svt-av1" REQUIRED_USE="|| ( aom dav1d )" @@ -85,17 +85,9 @@ pkg_postinst() { ewarn "Enable aom, rav1e or svt-av1 flag if you want to save .AVIF files." fi - if use gdk-pixbuf ; then - # causes segfault if set, see bug 375615 - unset __GL_NO_DSO_FINALIZER - multilib_foreach_abi gnome2_gdk_pixbuf_update - fi + use gdk-pixbuf && multilib_foreach_abi gnome2_gdk_pixbuf_update } pkg_postrm() { - if use gdk-pixbuf ; then - # causes segfault if set, see bug 375615 - unset __GL_NO_DSO_FINALIZER - multilib_foreach_abi gnome2_gdk_pixbuf_update - fi + use gdk-pixbuf && multilib_foreach_abi gnome2_gdk_pixbuf_update } diff --git a/media-libs/libavif/libavif-1.0.4.ebuild b/media-libs/libavif/libavif-1.0.4.ebuild index e9f32be578ca..8b80e9991a0a 100644 --- a/media-libs/libavif/libavif-1.0.4.ebuild +++ b/media-libs/libavif/libavif-1.0.4.ebuild @@ -15,7 +15,7 @@ SRC_URI=" LICENSE="BSD-2" # See bug #822336 re subslot SLOT="0/16" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc64 ~riscv ~sparc ~x86" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc64 ~riscv ~sparc ~x86" IUSE="+aom dav1d examples extras gdk-pixbuf rav1e svt-av1 test" RESTRICT="!test? ( test )" REQUIRED_USE="|| ( aom dav1d )" @@ -96,17 +96,9 @@ pkg_postinst() { ewarn "Enable aom, rav1e or svt-av1 flag if you want to save .AVIF files." fi - if use gdk-pixbuf ; then - # causes segfault if set, see bug 375615 - unset __GL_NO_DSO_FINALIZER - multilib_foreach_abi gnome2_gdk_pixbuf_update - fi + use gdk-pixbuf && multilib_foreach_abi gnome2_gdk_pixbuf_update } pkg_postrm() { - if use gdk-pixbuf ; then - # causes segfault if set, see bug 375615 - unset __GL_NO_DSO_FINALIZER - multilib_foreach_abi gnome2_gdk_pixbuf_update - fi + use gdk-pixbuf && multilib_foreach_abi gnome2_gdk_pixbuf_update } diff --git a/media-libs/libavif/libavif-9999.ebuild b/media-libs/libavif/libavif-9999.ebuild index 55658a6a3fec..0f5d4d481176 100644 --- a/media-libs/libavif/libavif-9999.ebuild +++ b/media-libs/libavif/libavif-9999.ebuild @@ -93,17 +93,9 @@ pkg_postinst() { ewarn "Enable aom, rav1e or svt-av1 flag if you want to save .AVIF files." fi - if use gdk-pixbuf ; then - # causes segfault if set, see bug 375615 - unset __GL_NO_DSO_FINALIZER - multilib_foreach_abi gnome2_gdk_pixbuf_update - fi + use gdk-pixbuf && multilib_foreach_abi gnome2_gdk_pixbuf_update } pkg_postrm() { - if use gdk-pixbuf ; then - # causes segfault if set, see bug 375615 - unset __GL_NO_DSO_FINALIZER - multilib_foreach_abi gnome2_gdk_pixbuf_update - fi + use gdk-pixbuf && multilib_foreach_abi gnome2_gdk_pixbuf_update } diff --git a/profiles/features/big-endian/package.use b/profiles/features/big-endian/package.use new file mode 100644 index 000000000000..6904fbb6c9bf --- /dev/null +++ b/profiles/features/big-endian/package.use @@ -0,0 +1,7 @@ +# Copyright 2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +# Aliaksei Urbanski <aliaksei.urbanski@gmail.com> (2024-03-19) +# Enable dav1d by default for libavif since +# aom is masked while one of them is required +media-libs/libavif dav1d |