diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2021-01-29 18:03:51 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2021-01-29 18:03:51 +0000 |
commit | d7ed2b01311f15ba54fe8ea872aab7d59ab2b193 (patch) | |
tree | 1814dd2b5bbf2e7639fdafbeef48d228cfaf5e9b /media-libs/libheif/libheif-9999.ebuild | |
parent | abaa75b10f899ada8dd05b23cc03205064394bc6 (diff) |
gentoo resync : 29.01.2021
Diffstat (limited to 'media-libs/libheif/libheif-9999.ebuild')
-rw-r--r-- | media-libs/libheif/libheif-9999.ebuild | 23 |
1 files changed, 14 insertions, 9 deletions
diff --git a/media-libs/libheif/libheif-9999.ebuild b/media-libs/libheif/libheif-9999.ebuild index 20821993904a..d68ecc0dddea 100644 --- a/media-libs/libheif/libheif-9999.ebuild +++ b/media-libs/libheif/libheif-9999.ebuild @@ -5,7 +5,7 @@ EAPI=7 inherit autotools xdg multilib-minimal -if [[ ${PV} == "9999" ]] ; then +if [[ ${PV} == *9999 ]] ; then EGIT_REPO_URI="https://github.com/strukturag/libheif.git" inherit git-r3 else @@ -17,23 +17,23 @@ DESCRIPTION="ISO/IEC 23008-12:2017 HEIF file format decoder and encoder" HOMEPAGE="https://github.com/strukturag/libheif" LICENSE="GPL-3" -SLOT="0/1.9" -IUSE="gdk-pixbuf go static-libs test +threads" +SLOT="0/1.10" +IUSE="+aom gdk-pixbuf go libde265 rav1e test +threads x265" REQUIRED_USE="test? ( go )" - RESTRICT="!test? ( test )" BDEPEND="test? ( dev-lang/go )" DEPEND=" - >=media-libs/libaom-2.0.0:=[${MULTILIB_USEDEP}] - media-libs/libde265:=[${MULTILIB_USEDEP}] + media-libs/dav1d:=[${MULTILIB_USEDEP}] media-libs/libpng:0=[${MULTILIB_USEDEP}] - media-libs/x265:=[${MULTILIB_USEDEP}] sys-libs/zlib:=[${MULTILIB_USEDEP}] virtual/jpeg:0=[${MULTILIB_USEDEP}] + aom? ( >=media-libs/libaom-2.0.0:=[${MULTILIB_USEDEP}] ) gdk-pixbuf? ( x11-libs/gdk-pixbuf[${MULTILIB_USEDEP}] ) go? ( dev-lang/go ) -" + libde265? ( media-libs/libde265:=[${MULTILIB_USEDEP}] ) + rav1e? ( media-video/rav1e:= ) + x265? ( media-libs/x265:=[${MULTILIB_USEDEP}] )" RDEPEND="${DEPEND}" src_prepare() { @@ -49,10 +49,14 @@ src_prepare() { multilib_src_configure() { local econf_args=( + --disable-static $(multilib_is_native_abi && use go || echo --disable-go) + $(use_enable aom) + $(use_enable libde265) $(use_enable gdk-pixbuf) - $(use_enable static-libs static) + $(use_enable rav1e) $(use_enable threads multithreading) + $(use_enable x265) ) ECONF_SOURCE="${S}" econf "${econf_args[@]}" } @@ -63,5 +67,6 @@ multilib_src_test() { } multilib_src_install_all() { + einstalldocs find "${ED}" -name '*.la' -delete || die } |