From c606691579be45bd061aac2a9f266db26ecfe332 Mon Sep 17 00:00:00 2001 From: Andreas Sturmlechner Date: Sun, 9 Jan 2022 16:24:17 +0100 Subject: media-libs/libavif: Drop 0.8.4-r1, 0.9.0-r3, 0.9.1-r1, 0.9.2-r1 Package-Manager: Portage-3.0.30, Repoman-3.0.3 Signed-off-by: Andreas Sturmlechner --- media-libs/libavif/Manifest | 4 - .../libavif/files/libavif-0.9.0-pkg-config.patch | 28 ------ media-libs/libavif/libavif-0.8.4-r1.ebuild | 76 -------------- media-libs/libavif/libavif-0.9.0-r3.ebuild | 109 --------------------- media-libs/libavif/libavif-0.9.1-r1.ebuild | 105 -------------------- media-libs/libavif/libavif-0.9.2-r1.ebuild | 105 -------------------- 6 files changed, 427 deletions(-) delete mode 100644 media-libs/libavif/files/libavif-0.9.0-pkg-config.patch delete mode 100644 media-libs/libavif/libavif-0.8.4-r1.ebuild delete mode 100644 media-libs/libavif/libavif-0.9.0-r3.ebuild delete mode 100644 media-libs/libavif/libavif-0.9.1-r1.ebuild delete mode 100644 media-libs/libavif/libavif-0.9.2-r1.ebuild (limited to 'media-libs') diff --git a/media-libs/libavif/Manifest b/media-libs/libavif/Manifest index 686b39d3ebdf..343db8559ca7 100644 --- a/media-libs/libavif/Manifest +++ b/media-libs/libavif/Manifest @@ -1,5 +1 @@ -DIST libavif-0.8.4.tar.gz 2952844 BLAKE2B b5cd46d668212aab23c8146ebfcb793214873d9f82e1b7ca5876cb9859b96ac5b60ad86c2345654f85e97cb6d920f286b683d0bb588ce7db04f50322b158678c SHA512 92c5df26da70ca113ff3b217a4a09e3dea0b7c4737e0924bd2b232502cfda0c79f4f0785bc7992c973491af7660338cda481bae7b999632815142564bf3275ba -DIST libavif-0.9.0.tar.gz 2961252 BLAKE2B 75a3d9c0f9ada1934fdafb8208571c6a863ffe04210d84b26207952028280d4e5c4efe42a6d4bc1fe417e3bbc06e8b93c416472c79ccd08d760ab65a663e16d9 SHA512 220ef27edf716af4ffc5b035c63f84e2848f165a3fe9c1b74dc0ba29f0de65147610fd4266f1b2419f60cfbb72159368da840fcb574c7a07364a60548d3db179 -DIST libavif-0.9.1.tar.gz 1985366 BLAKE2B b498f00c56fe3058cf11f10cc629aad618ad297b625155ec8012f88493f8ae076933e4a4ebc7d97249019a64f01b68db34ab7ff5f9c35db0b1b74dd9048bd191 SHA512 15fa857ee40aeae2ee077d244c6e11a34193f2348e922b5dfa8579a91fa6ceff05c7146e85f9222ebaa6ef2d76e876ea050e8056990cad80850fb4d9581de9a5 -DIST libavif-0.9.2.tar.gz 1987058 BLAKE2B a734014945498d29121d64e54f34b367582688bd230f16b58635c363a9722b36ccd58ae0a95918c0322c0cb38b3e29b68bdc344bb99f61adc1397969db39f480 SHA512 04400ae76214d2f0361a14897d6ee97be675375865bb96c8d237e9a4a1152ac1a966db903c11df82da71b0bc68599a5857e038cc90d63c5d3bc77b13169a3e75 DIST libavif-0.9.3.tar.gz 2000521 BLAKE2B b9dbaf01e58058a1ab9191081242a0f669b714d319075b6330963bc8ae31f576fb77b108de4745125eb42d39682e74a3174d062a029ccb765b3030f4092a96b8 SHA512 8e95666c784d1badc7e18d27a7c21cae3b8ef3b8da9a762eb8f7216d77fba29b9ca309c01d13bcf4890e03c6bc335ba4baf3f5877396bd0584be9ea60018daa7 diff --git a/media-libs/libavif/files/libavif-0.9.0-pkg-config.patch b/media-libs/libavif/files/libavif-0.9.0-pkg-config.patch deleted file mode 100644 index b1238b321770..000000000000 --- a/media-libs/libavif/files/libavif-0.9.0-pkg-config.patch +++ /dev/null @@ -1,28 +0,0 @@ -https://github.com/AOMediaCodec/libavif/pull/532 - -From 4ce461df9109f0b05a05aa01e1e1538663b2bc9b Mon Sep 17 00:00:00 2001 -From: Mike Frysinger -Date: Thu, 4 Mar 2021 21:20:33 -0500 -Subject: [PATCH] libavif.pc: respect libdir setting - -Do not hardcode "lib" as that is often the wrong path with multilib. -On an x86_64 system for example, it should actually be "lib64". ---- - libavif.pc.cmake | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/libavif.pc.cmake b/libavif.pc.cmake -index 006539b14782..4ef2c8a97b57 100644 ---- a/libavif.pc.cmake -+++ b/libavif.pc.cmake -@@ -1,6 +1,6 @@ - prefix=@CMAKE_INSTALL_PREFIX@ - exec_prefix=${prefix}/bin --libdir=${prefix}/lib -+libdir=${prefix}/@CMAKE_INSTALL_LIBDIR@ - includedir=${prefix}/include - - Name: @PROJECT_NAME@ --- -2.30.0 - diff --git a/media-libs/libavif/libavif-0.8.4-r1.ebuild b/media-libs/libavif/libavif-0.8.4-r1.ebuild deleted file mode 100644 index a1703c043d39..000000000000 --- a/media-libs/libavif/libavif-0.8.4-r1.ebuild +++ /dev/null @@ -1,76 +0,0 @@ -# Copyright 2020-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit cmake gnome2-utils - -DESCRIPTION="Library for encoding and decoding .avif files" -HOMEPAGE="https://github.com/AOMediaCodec/libavif" -SRC_URI="https://github.com/AOMediaCodec/libavif/archive/v${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="BSD-2" -# See bug #822336 re subslot -SLOT="0/${PV}" -KEYWORDS="amd64 ~arm arm64 ~ppc64 x86" -IUSE="+aom dav1d examples extras gdk-pixbuf rav1e" - -DEPEND="media-libs/libpng - sys-libs/zlib - virtual/jpeg - aom? ( >=media-libs/libaom-2.0.0 ) - dav1d? ( media-libs/dav1d ) - gdk-pixbuf? ( x11-libs/gdk-pixbuf:2 ) - rav1e? ( media-video/rav1e[capi] )" -RDEPEND="${DEPEND}" -BDEPEND="virtual/pkgconfig" - -REQUIRED_USE="|| ( aom dav1d )" - -src_configure() { - local mycmakeargs=( - -DBUILD_SHARED_LIBS=ON - -DAVIF_CODEC_AOM=$(usex aom ON OFF) - -DAVIF_CODEC_DAV1D=$(usex dav1d ON OFF) - -DAVIF_CODEC_LIBGAV1=OFF - -DAVIF_CODEC_RAV1E=$(usex rav1e ON OFF) - - # Use system libraries. - -DAVIF_LOCAL_ZLIBPNG=OFF - -DAVIF_LOCAL_JPEG=OFF - - -DAVIF_BUILD_EXAMPLES=$(usex examples ON OFF) - -DAVIF_BUILD_APPS=$(usex extras ON OFF) - -DAVIF_BUILD_TESTS=$(usex extras ON OFF) - - -DAVIF_BUILD_GDK_PIXBUF=$(usex gdk-pixbuf ON OFF) - - -DAVIF_ENABLE_WERROR=OFF - ) - - cmake_src_configure -} - -pkg_preinst() { - if use gdk-pixbuf ; then - gnome2_gdk_pixbuf_savelist - fi -} - -pkg_postinst() { - if ! use aom && ! use rav1e ; then - ewarn "aom and rav1e flags are not set," - ewarn "libavif will work in read-only mode." - ewarn "Enable aom or rav1e flag if you want to save .AVIF files." - fi - - if use gdk-pixbuf ; then - gnome2_gdk_pixbuf_update - fi -} - -pkg_postrm() { - if use gdk-pixbuf ; then - gnome2_gdk_pixbuf_update - fi -} diff --git a/media-libs/libavif/libavif-0.9.0-r3.ebuild b/media-libs/libavif/libavif-0.9.0-r3.ebuild deleted file mode 100644 index b4846ff1d5cf..000000000000 --- a/media-libs/libavif/libavif-0.9.0-r3.ebuild +++ /dev/null @@ -1,109 +0,0 @@ -# Copyright 2020-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -CMAKE_ECLASS=cmake -inherit cmake-multilib gnome2-utils - -DESCRIPTION="Library for encoding and decoding .avif files" -HOMEPAGE="https://github.com/AOMediaCodec/libavif" -SRC_URI="https://github.com/AOMediaCodec/libavif/archive/v${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="BSD-2" -# See bug #822336 re subslot -SLOT="0/${PV}" -KEYWORDS="amd64 arm arm64 ppc64 x86" -IUSE="+aom dav1d examples extras gdk-pixbuf rav1e svt-av1" - -DEPEND="media-libs/libpng[${MULTILIB_USEDEP}] - sys-libs/zlib[${MULTILIB_USEDEP}] - virtual/jpeg[${MULTILIB_USEDEP}] - aom? ( >=media-libs/libaom-2.0.0[${MULTILIB_USEDEP}] ) - dav1d? ( media-libs/dav1d[${MULTILIB_USEDEP}] ) - gdk-pixbuf? ( x11-libs/gdk-pixbuf:2[${MULTILIB_USEDEP}] ) - rav1e? ( media-video/rav1e[capi] ) - svt-av1? ( >=media-libs/svt-av1-0.8.6 )" -RDEPEND="${DEPEND}" -BDEPEND="virtual/pkgconfig" - -REQUIRED_USE="|| ( aom dav1d )" - -PATCHES=( - "${FILESDIR}/${P}-pkg-config.patch" -) - -multilib_src_configure() { - local mycmakeargs=( - -DBUILD_SHARED_LIBS=ON - -DAVIF_CODEC_AOM=$(usex aom ON OFF) - -DAVIF_CODEC_DAV1D=$(usex dav1d ON OFF) - -DAVIF_CODEC_LIBGAV1=OFF - - # Use system libraries. - -DAVIF_LOCAL_ZLIBPNG=OFF - -DAVIF_LOCAL_JPEG=OFF - - -DAVIF_BUILD_GDK_PIXBUF=$(usex gdk-pixbuf ON OFF) - - -DAVIF_ENABLE_WERROR=OFF - ) - - if multilib_is_native_abi; then - mycmakeargs+=( - -DAVIF_CODEC_RAV1E=$(usex rav1e ON OFF) - -DAVIF_CODEC_SVT=$(usex svt-av1 ON OFF) - - -DAVIF_BUILD_EXAMPLES=$(usex examples ON OFF) - -DAVIF_BUILD_APPS=$(usex extras ON OFF) - -DAVIF_BUILD_TESTS=$(usex extras ON OFF) - ) - else - mycmakeargs+=( - -DAVIF_CODEC_RAV1E=OFF - -DAVIF_CODEC_SVT=OFF - - -DAVIF_BUILD_EXAMPLES=OFF - -DAVIF_BUILD_APPS=OFF - -DAVIF_BUILD_TESTS=OFF - ) - - if ! use aom ; then - if use rav1e || use svt-av1 ; then - ewarn "libavif on ${MULTILIB_ABI_FLAG} will work in read-only mode." - ewarn "Support for rav1e and/or svt-av1 is is not available on ${MULTILIB_ABI_FLAG}" - ewarn "Enable aom flag for full support on ${MULTILIB_ABI_FLAG}" - fi - fi - fi - - cmake_src_configure -} - -pkg_preinst() { - if use gdk-pixbuf ; then - gnome2_gdk_pixbuf_savelist - fi -} - -pkg_postinst() { - if ! use aom && ! use rav1e && ! use svt-av1 ; then - ewarn "No AV1 encoder is set," - ewarn "libavif will work in read-only mode." - 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 -} - -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 -} diff --git a/media-libs/libavif/libavif-0.9.1-r1.ebuild b/media-libs/libavif/libavif-0.9.1-r1.ebuild deleted file mode 100644 index d06dd645a546..000000000000 --- a/media-libs/libavif/libavif-0.9.1-r1.ebuild +++ /dev/null @@ -1,105 +0,0 @@ -# Copyright 2020-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -CMAKE_ECLASS=cmake -inherit cmake-multilib gnome2-utils - -DESCRIPTION="Library for encoding and decoding .avif files" -HOMEPAGE="https://github.com/AOMediaCodec/libavif" -SRC_URI="https://github.com/AOMediaCodec/libavif/archive/v${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="BSD-2" -# See bug #822336 re subslot -SLOT="0/${PV}" -KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86" -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}] ) - dav1d? ( media-libs/dav1d[${MULTILIB_USEDEP}] ) - gdk-pixbuf? ( x11-libs/gdk-pixbuf:2[${MULTILIB_USEDEP}] ) - rav1e? ( media-video/rav1e[capi] ) - svt-av1? ( >=media-libs/svt-av1-0.8.6 )" -RDEPEND="${DEPEND}" -BDEPEND="virtual/pkgconfig" - -multilib_src_configure() { - local mycmakeargs=( - -DBUILD_SHARED_LIBS=ON - -DAVIF_CODEC_AOM=$(usex aom ON OFF) - -DAVIF_CODEC_DAV1D=$(usex dav1d ON OFF) - -DAVIF_CODEC_LIBGAV1=OFF - - # Use system libraries. - -DAVIF_LOCAL_ZLIBPNG=OFF - -DAVIF_LOCAL_JPEG=OFF - - -DAVIF_BUILD_GDK_PIXBUF=$(usex gdk-pixbuf ON OFF) - - -DAVIF_ENABLE_WERROR=OFF - ) - - if multilib_is_native_abi; then - mycmakeargs+=( - -DAVIF_CODEC_RAV1E=$(usex rav1e ON OFF) - -DAVIF_CODEC_SVT=$(usex svt-av1 ON OFF) - - -DAVIF_BUILD_EXAMPLES=$(usex examples ON OFF) - -DAVIF_BUILD_APPS=$(usex extras ON OFF) - -DAVIF_BUILD_TESTS=$(usex extras ON OFF) - ) - else - mycmakeargs+=( - -DAVIF_CODEC_RAV1E=OFF - -DAVIF_CODEC_SVT=OFF - - -DAVIF_BUILD_EXAMPLES=OFF - -DAVIF_BUILD_APPS=OFF - -DAVIF_BUILD_TESTS=OFF - ) - - if ! use aom ; then - if use rav1e || use svt-av1 ; then - ewarn "libavif on ${MULTILIB_ABI_FLAG} will work in read-only mode." - ewarn "Support for rav1e and/or svt-av1 is is not available on ${MULTILIB_ABI_FLAG}" - ewarn "Enable aom flag for full support on ${MULTILIB_ABI_FLAG}" - fi - fi - fi - - cmake_src_configure -} - -pkg_preinst() { - if use gdk-pixbuf ; then - gnome2_gdk_pixbuf_savelist - fi -} - -pkg_postinst() { - if ! use aom && ! use rav1e && ! use svt-av1 ; then - ewarn "No AV1 encoder is set," - ewarn "libavif will work in read-only mode." - 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 -} - -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 -} diff --git a/media-libs/libavif/libavif-0.9.2-r1.ebuild b/media-libs/libavif/libavif-0.9.2-r1.ebuild deleted file mode 100644 index bf857c5b2800..000000000000 --- a/media-libs/libavif/libavif-0.9.2-r1.ebuild +++ /dev/null @@ -1,105 +0,0 @@ -# Copyright 2020-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -CMAKE_ECLASS=cmake -inherit cmake-multilib gnome2-utils - -DESCRIPTION="Library for encoding and decoding .avif files" -HOMEPAGE="https://github.com/AOMediaCodec/libavif" -SRC_URI="https://github.com/AOMediaCodec/libavif/archive/v${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="BSD-2" -# See bug #822336 re subslot -SLOT="0/${PV}" -KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86" -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}] ) - dav1d? ( media-libs/dav1d[${MULTILIB_USEDEP}] ) - gdk-pixbuf? ( x11-libs/gdk-pixbuf:2[${MULTILIB_USEDEP}] ) - rav1e? ( media-video/rav1e[capi] ) - svt-av1? ( >=media-libs/svt-av1-0.8.6 )" -RDEPEND="${DEPEND}" -BDEPEND="virtual/pkgconfig" - -multilib_src_configure() { - local mycmakeargs=( - -DBUILD_SHARED_LIBS=ON - -DAVIF_CODEC_AOM=$(usex aom ON OFF) - -DAVIF_CODEC_DAV1D=$(usex dav1d ON OFF) - -DAVIF_CODEC_LIBGAV1=OFF - - # Use system libraries. - -DAVIF_LOCAL_ZLIBPNG=OFF - -DAVIF_LOCAL_JPEG=OFF - - -DAVIF_BUILD_GDK_PIXBUF=$(usex gdk-pixbuf ON OFF) - - -DAVIF_ENABLE_WERROR=OFF - ) - - if multilib_is_native_abi; then - mycmakeargs+=( - -DAVIF_CODEC_RAV1E=$(usex rav1e ON OFF) - -DAVIF_CODEC_SVT=$(usex svt-av1 ON OFF) - - -DAVIF_BUILD_EXAMPLES=$(usex examples ON OFF) - -DAVIF_BUILD_APPS=$(usex extras ON OFF) - -DAVIF_BUILD_TESTS=$(usex extras ON OFF) - ) - else - mycmakeargs+=( - -DAVIF_CODEC_RAV1E=OFF - -DAVIF_CODEC_SVT=OFF - - -DAVIF_BUILD_EXAMPLES=OFF - -DAVIF_BUILD_APPS=OFF - -DAVIF_BUILD_TESTS=OFF - ) - - if ! use aom ; then - if use rav1e || use svt-av1 ; then - ewarn "libavif on ${MULTILIB_ABI_FLAG} will work in read-only mode." - ewarn "Support for rav1e and/or svt-av1 is is not available on ${MULTILIB_ABI_FLAG}" - ewarn "Enable aom flag for full support on ${MULTILIB_ABI_FLAG}" - fi - fi - fi - - cmake_src_configure -} - -pkg_preinst() { - if use gdk-pixbuf ; then - gnome2_gdk_pixbuf_savelist - fi -} - -pkg_postinst() { - if ! use aom && ! use rav1e && ! use svt-av1 ; then - ewarn "No AV1 encoder is set," - ewarn "libavif will work in read-only mode." - 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 -} - -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 -} -- cgit v1.2.3-65-gdbad