summaryrefslogtreecommitdiff
path: root/media-libs/libheif/libheif-1.19.7.ebuild
diff options
context:
space:
mode:
Diffstat (limited to 'media-libs/libheif/libheif-1.19.7.ebuild')
-rw-r--r--media-libs/libheif/libheif-1.19.7.ebuild82
1 files changed, 0 insertions, 82 deletions
diff --git a/media-libs/libheif/libheif-1.19.7.ebuild b/media-libs/libheif/libheif-1.19.7.ebuild
deleted file mode 100644
index e63a26d89aeb..000000000000
--- a/media-libs/libheif/libheif-1.19.7.ebuild
+++ /dev/null
@@ -1,82 +0,0 @@
-# Copyright 1999-2025 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit cmake-multilib gnome2-utils xdg
-
-DESCRIPTION="ISO/IEC 23008-12:2017 HEIF file format decoder and encoder"
-HOMEPAGE="https://github.com/strukturag/libheif"
-
-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
-
-LICENSE="GPL-3 MIT"
-SLOT="0/$(ver_cut 1-2)"
-IUSE="+aom doc examples gdk-pixbuf openh264 rav1e svt-av1 test +threads +webp x265"
-RESTRICT="!test? ( test )"
-
-BDEPEND="
- doc? ( app-text/doxygen )
-"
-DEPEND="
- media-libs/dav1d:=[${MULTILIB_USEDEP}]
- media-libs/libde265[${MULTILIB_USEDEP}]
- media-libs/libjpeg-turbo:=[${MULTILIB_USEDEP}]
- media-libs/libpng:=[${MULTILIB_USEDEP}]
- media-libs/tiff:=[${MULTILIB_USEDEP}]
- sys-libs/zlib:=[${MULTILIB_USEDEP}]
- aom? ( >=media-libs/libaom-2.0.0:=[${MULTILIB_USEDEP}] )
- gdk-pixbuf? ( x11-libs/gdk-pixbuf[${MULTILIB_USEDEP}] )
- openh264? ( media-libs/openh264:=[${MULTILIB_USEDEP}] )
- rav1e? ( media-video/rav1e:= )
- svt-av1? ( media-libs/svt-av1:=[${MULTILIB_USEDEP}] )
- webp? ( media-libs/libwebp:= )
- x265? ( media-libs/x265:=[${MULTILIB_USEDEP}] )
-"
-RDEPEND="${DEPEND}"
-
-MULTILIB_WRAPPED_HEADERS=(
- /usr/include/libheif/heif_version.h
-)
-
-multilib_src_configure() {
- local mycmakeargs=(
- $(cmake_use_find_package doc Doxygen)
- -DBUILD_TESTING=$(usex test)
- -DENABLE_PLUGIN_LOADING=true
- -DWITH_LIBDE265=true
- -DWITH_AOM_DECODER=$(usex aom)
- -DWITH_AOM_ENCODER=$(usex aom)
- -DWITH_EXAMPLES=$(usex examples)
- -DWITH_GDK_PIXBUF=$(usex gdk-pixbuf)
- -DWITH_OpenH264_DECODER=$(usex openh264)
- -DWITH_OpenH264_ENCODER=$(usex openh264)
- -DWITH_RAV1E=$(multilib_native_usex rav1e)
- -DWITH_SvtEnc=$(usex svt-av1)
- -DWITH_LIBSHARPYUV=$(usex webp)
- -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
-}
-
-pkg_postinst() {
- xdg_pkg_postinst
- use gdk-pixbuf && multilib_foreach_abi gnome2_gdk_pixbuf_update
-}
-
-pkg_postrm() {
- xdg_pkg_postrm
- use gdk-pixbuf && multilib_foreach_abi gnome2_gdk_pixbuf_update
-}