summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAliaksei Urbanski <aliaksei.urbanski@gmail.com>2024-04-03 17:16:23 +0300
committerMichał Górny <mgorny@gentoo.org>2024-04-03 19:44:11 +0200
commitdc2da66d1d3d2d0ec26eebd4301c3782d5659788 (patch)
tree21b99407213b54c26ae45dce04b03b32b2644089 /media-libs/libavif
parentmedia-libs/libavif: drop 1.0.1 and 1.0.3 (diff)
downloadgentoo-dc2da66d1d3d2d0ec26eebd4301c3782d5659788.tar.gz
gentoo-dc2da66d1d3d2d0ec26eebd4301c3782d5659788.tar.bz2
gentoo-dc2da66d1d3d2d0ec26eebd4301c3782d5659788.zip
media-libs/libavif: add ~mips to the KEYWORDS
These changes also fix pkgcheck warnings: - enable dav1d by default for big-endian arches - remove redundant `unset __GL_NO_DSO_FINALIZER` - replace deprecated virtual/jpeg with media-libs/libjpeg-turbo Bug: https://bugs.gentoo.org/375615 Closes: https://bugs.gentoo.org/918451 Signed-off-by: Aliaksei Urbanski <aliaksei.urbanski@gmail.com> Closes: https://github.com/gentoo/gentoo/pull/35823 Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'media-libs/libavif')
-rw-r--r--media-libs/libavif/libavif-0.10.1.ebuild18
-rw-r--r--media-libs/libavif/libavif-0.11.1.ebuild14
-rw-r--r--media-libs/libavif/libavif-1.0.4.ebuild14
-rw-r--r--media-libs/libavif/libavif-9999.ebuild12
4 files changed, 13 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
}