mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
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>
This commit is contained in:
committed by
Michał Górny
parent
6b9eaf6e71
commit
dc2da66d1d
@@ -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
|
||||
}
|
||||
|
||||
@@ -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
|
||||
}
|
||||
|
||||
@@ -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
|
||||
}
|
||||
|
||||
@@ -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
|
||||
}
|
||||
|
||||
7
profiles/features/big-endian/package.use
Normal file
7
profiles/features/big-endian/package.use
Normal file
@@ -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
|
||||
Reference in New Issue
Block a user