diff options
-rw-r--r-- | media-libs/libheif/Manifest | 3 | ||||
-rw-r--r-- | media-libs/libheif/libheif-1.15.2-r1.ebuild | 86 | ||||
-rw-r--r-- | media-libs/libheif/libheif-1.17.6.ebuild | 101 | ||||
-rw-r--r-- | media-libs/libheif/libheif-1.18.1.ebuild | 103 |
4 files changed, 0 insertions, 293 deletions
diff --git a/media-libs/libheif/Manifest b/media-libs/libheif/Manifest index f28c23498611..cb35aa8230d8 100644 --- a/media-libs/libheif/Manifest +++ b/media-libs/libheif/Manifest @@ -1,4 +1 @@ -DIST libheif-1.15.2.tar.gz 1749773 BLAKE2B 788ecf59c936bfae9544bedd5fa50fd74f04adf29f804994bc208d2a5339b13984baf78a508babd80fa0d48381b2cc0bfb1e1140de97437b8c0336378a64fcb6 SHA512 79f22dad084bbe965dae7b8f92fc119dbdde7a04577ca9c7bc28b1a022a06f0ae64d3fbd11e82d6907f0fd678a31d98275e508a51a6bd0a9e8675c93790f1996 -DIST libheif-1.17.6.tar.gz 1433302 BLAKE2B 937a1ddfd86c4d50a609e24d00c07e0d1924a5532e36293f83fd67a38f4c13186cb5c4837598000d6d3516ec1965fdc6709ef825c327fd5ce3ea2194008b6efd SHA512 47d93df4f584979cea26af74cd8543b13398356b5fd46b1b378f7738cee471e80b7e117f6ce307674a549182f5ce22a577c6e79a6e72fe166421efc4be04687a -DIST libheif-1.18.1.tar.gz 1524386 BLAKE2B 07c01c273460618d56b9259c2930da34632fffdcc2338480277e678ab173126bc9d6882a33dc459ed7cdacd7e636ff8d13c406c76c046afc47166609e9595942 SHA512 0b37b834882af8368fc550e75245f4cf487c71a041833ba5e7887155e289e9c2058b41724524091347f297cfdec45b537796a97f4c43531aecf9f0a099753f41 DIST libheif-1.18.2.tar.gz 1525096 BLAKE2B 667a68f324f89b2274ea837ec8d40ada5450dce79f2b8d9e8ba365fe5f02d4222195109519380a6d38c4ebca929575e58c3a8e517aed27a2696d67db3e287556 SHA512 8fd47dbc8e31fdb6a972c852bc4e78440492ee3dd769e139f28ad489ccc23e6cf42a90cd23b16405fa30df3c7c43c78b2b65d5ca3ffb449bf06789b457ed3072 diff --git a/media-libs/libheif/libheif-1.15.2-r1.ebuild b/media-libs/libheif/libheif-1.15.2-r1.ebuild deleted file mode 100644 index 491451aa033b..000000000000 --- a/media-libs/libheif/libheif-1.15.2-r1.ebuild +++ /dev/null @@ -1,86 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit autotools xdg multilib-minimal - -if [[ ${PV} == *9999 ]] ; then - EGIT_REPO_URI="https://github.com/strukturag/libheif.git" - inherit git-r3 -else - SRC_URI="https://github.com/strukturag/libheif/releases/download/v${PV}/${P}.tar.gz" - KEYWORDS="amd64 arm arm64 ~loong ppc64 ~riscv x86" -fi - -DESCRIPTION="ISO/IEC 23008-12:2017 HEIF file format decoder and encoder" -HOMEPAGE="https://github.com/strukturag/libheif" - -LICENSE="GPL-3" -SLOT="0/1.12" -IUSE="+aom gdk-pixbuf go rav1e test +threads x265" -REQUIRED_USE="test? ( go )" -RESTRICT="!test? ( test )" - -# Bug 865351: tests requires <dev-cpp/catch-3 -BDEPEND=" - test? ( - =dev-cpp/catch-2* - dev-lang/go - ) -" -DEPEND=" - media-libs/dav1d:=[${MULTILIB_USEDEP}] - media-libs/libde265:=[${MULTILIB_USEDEP}] - media-libs/libpng:0=[${MULTILIB_USEDEP}] - sys-libs/zlib:=[${MULTILIB_USEDEP}] - media-libs/libjpeg-turbo:0=[${MULTILIB_USEDEP}] - aom? ( >=media-libs/libaom-2.0.0:=[${MULTILIB_USEDEP}] ) - gdk-pixbuf? ( x11-libs/gdk-pixbuf[${MULTILIB_USEDEP}] ) - go? ( dev-lang/go ) - rav1e? ( media-video/rav1e:= ) - x265? ( media-libs/x265:=[${MULTILIB_USEDEP}] )" -RDEPEND="${DEPEND}" - -src_prepare() { - default - - sed -i -e 's:-Werror::' configure.ac || die - - if use test ; then - # bug 865351 - rm tests/catch.hpp || die - ln -s "${ESYSROOT}"/usr/include/catch2/catch.hpp tests/catch.hpp || die - fi - - eautoreconf - - # prevent "stat heif-test.go: no such file or directory" - multilib_copy_sources -} - -multilib_src_configure() { - export GO111MODULE=auto - local econf_args=( - --enable-libde265 - --disable-static - $(multilib_is_native_abi && use go || echo --disable-go) - $(use_enable aom) - $(use_enable gdk-pixbuf) - $(use_enable rav1e) - $(use_enable threads multithreading) - $(use_enable test tests) - $(use_enable x265) - ) - ECONF_SOURCE="${S}" econf "${econf_args[@]}" -} - -multilib_src_test() { - default - emake -C go test -} - -multilib_src_install_all() { - einstalldocs - find "${ED}" -name '*.la' -delete || die -} diff --git a/media-libs/libheif/libheif-1.17.6.ebuild b/media-libs/libheif/libheif-1.17.6.ebuild deleted file mode 100644 index 7e7142cf23cc..000000000000 --- a/media-libs/libheif/libheif-1.17.6.ebuild +++ /dev/null @@ -1,101 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit cmake xdg multilib-minimal - -if [[ ${PV} == *9999 ]] ; then - EGIT_REPO_URI="https://github.com/strukturag/libheif.git" - inherit git-r3 -else - SRC_URI="https://github.com/strukturag/libheif/releases/download/v${PV}/${P}.tar.gz" - KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc64 ~riscv ~x86" -fi - -DESCRIPTION="ISO/IEC 23008-12:2017 HEIF file format decoder and encoder" -HOMEPAGE="https://github.com/strukturag/libheif" - -LICENSE="GPL-3" -SLOT="0/$(ver_cut 1-2)" -IUSE="+aom gdk-pixbuf go rav1e svt-av1 test +threads x265" -REQUIRED_USE="test? ( go )" -RESTRICT="!test? ( test )" - -BDEPEND=" - test? ( - dev-cpp/catch - dev-lang/go - ) -" -DEPEND=" - media-libs/dav1d:=[${MULTILIB_USEDEP}] - media-libs/libde265:=[${MULTILIB_USEDEP}] - media-libs/libpng:0=[${MULTILIB_USEDEP}] - media-libs/tiff:=[${MULTILIB_USEDEP}] - sys-libs/zlib:=[${MULTILIB_USEDEP}] - media-libs/libjpeg-turbo:0=[${MULTILIB_USEDEP}] - aom? ( >=media-libs/libaom-2.0.0:=[${MULTILIB_USEDEP}] ) - gdk-pixbuf? ( x11-libs/gdk-pixbuf[${MULTILIB_USEDEP}] ) - go? ( dev-lang/go ) - rav1e? ( media-video/rav1e:= ) - svt-av1? ( media-libs/svt-av1:=[${MULTILIB_USEDEP}] ) - x265? ( media-libs/x265:=[${MULTILIB_USEDEP}] )" -RDEPEND="${DEPEND}" - -MULTILIB_WRAPPED_HEADERS=( - /usr/include/libheif/heif_version.h -) - -src_prepare() { - default - - if use test ; then - # bug 865351 - rm tests/catch.hpp || die - ln -s "${ESYSROOT}"/usr/include/catch2/catch.hpp tests/catch.hpp || die - fi - - sed -e '/Werror/d' -i CMakeLists.txt || die # bug 936466 - - cmake_src_prepare - - multilib_copy_sources -} - -multilib_src_configure() { - export GO111MODULE=auto - local mycmakeargs=( - -DENABLE_PLUGIN_LOADING=true - -DWITH_LIBDE265=true - -DWITH_AOM_DECODER=$(usex aom) - -DWITH_AOM_ENCODER=$(usex aom) - -DWITH_GDK_PIXBUF=$(usex gdk-pixbuf) - -DWITH_RAV1E="$(multilib_native_usex rav1e)" - -DWITH_SvtEnc="$(usex svt-av1)" - -DWITH_X265=$(usex x265) - -DWITH_KVAZAAR=true - -DWITH_JPEG_DECODER=true - -DWITH_JPEG_ENCODER=true - -DWITH_OpenJPEG_DECODER=true - -DWITH_OpenJPEG_ENCODER=true - ) - cmake_src_configure -} - -multilib_src_compile() { - default - cmake_src_compile -} - -multilib_src_test() { - default -} - -multilib_src_install() { - cmake_src_install -} - -multilib_src_install_all() { - einstalldocs -} diff --git a/media-libs/libheif/libheif-1.18.1.ebuild b/media-libs/libheif/libheif-1.18.1.ebuild deleted file mode 100644 index a5eebc81ee22..000000000000 --- a/media-libs/libheif/libheif-1.18.1.ebuild +++ /dev/null @@ -1,103 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit cmake xdg multilib-minimal - -if [[ ${PV} == *9999 ]] ; then - EGIT_REPO_URI="https://github.com/strukturag/libheif.git" - inherit git-r3 -else - SRC_URI="https://github.com/strukturag/libheif/releases/download/v${PV}/${P}.tar.gz" - KEYWORDS="amd64 ~arm ~arm64 ~loong ppc64 ~riscv x86" -fi - -DESCRIPTION="ISO/IEC 23008-12:2017 HEIF file format decoder and encoder" -HOMEPAGE="https://github.com/strukturag/libheif" - -LICENSE="GPL-3" -SLOT="0/$(ver_cut 1-2)" -IUSE="+aom gdk-pixbuf go rav1e svt-av1 test +threads x265" -REQUIRED_USE="test? ( go )" -RESTRICT="!test? ( test )" - -BDEPEND=" - test? ( - dev-cpp/catch - dev-lang/go - ) -" -DEPEND=" - media-libs/dav1d:=[${MULTILIB_USEDEP}] - media-libs/libde265:=[${MULTILIB_USEDEP}] - media-libs/libpng:0=[${MULTILIB_USEDEP}] - media-libs/tiff:=[${MULTILIB_USEDEP}] - sys-libs/zlib:=[${MULTILIB_USEDEP}] - media-libs/libjpeg-turbo:0=[${MULTILIB_USEDEP}] - aom? ( >=media-libs/libaom-2.0.0:=[${MULTILIB_USEDEP}] ) - gdk-pixbuf? ( x11-libs/gdk-pixbuf[${MULTILIB_USEDEP}] ) - go? ( dev-lang/go ) - rav1e? ( media-video/rav1e:= ) - svt-av1? ( media-libs/svt-av1:=[${MULTILIB_USEDEP}] ) - x265? ( media-libs/x265:=[${MULTILIB_USEDEP}] ) -" -RDEPEND="${DEPEND}" - -# https://github.com/strukturag/libheif/issues/1249 -PATCHES=( "${FILESDIR}"/${P}-prepend_DESTDIR_when_generating_heif-convert_symlink.patch ) - -MULTILIB_WRAPPED_HEADERS=( - /usr/include/libheif/heif_version.h -) - -src_prepare() { - if use test ; then - # bug 865351 - rm tests/catch.hpp || die - ln -s "${ESYSROOT}"/usr/include/catch2/catch.hpp tests/catch.hpp || die - fi - - sed -e '/Werror/d' -i CMakeLists.txt || die # bug 936466 - - cmake_src_prepare - - multilib_copy_sources -} - -multilib_src_configure() { - export GO111MODULE=auto - local mycmakeargs=( - -DENABLE_PLUGIN_LOADING=true - -DWITH_LIBDE265=true - -DWITH_AOM_DECODER=$(usex aom) - -DWITH_AOM_ENCODER=$(usex aom) - -DWITH_GDK_PIXBUF=$(usex gdk-pixbuf) - -DWITH_RAV1E="$(multilib_native_usex rav1e)" - -DWITH_SvtEnc="$(usex svt-av1)" - -DWITH_X265=$(usex x265) - -DWITH_KVAZAAR=true - -DWITH_JPEG_DECODER=true - -DWITH_JPEG_ENCODER=true - -DWITH_OpenJPEG_DECODER=true - -DWITH_OpenJPEG_ENCODER=true - ) - cmake_src_configure -} - -multilib_src_compile() { - default - cmake_src_compile -} - -multilib_src_test() { - default -} - -multilib_src_install() { - cmake_src_install -} - -multilib_src_install_all() { - einstalldocs -} |