summaryrefslogtreecommitdiff
path: root/media-libs/libheif
diff options
context:
space:
mode:
Diffstat (limited to 'media-libs/libheif')
-rw-r--r--media-libs/libheif/Manifest12
-rw-r--r--media-libs/libheif/libheif-1.5.1.ebuild10
-rw-r--r--media-libs/libheif/libheif-1.6.1.ebuild10
-rw-r--r--media-libs/libheif/libheif-1.6.2.ebuild10
-rw-r--r--media-libs/libheif/libheif-1.7.0-r1.ebuild (renamed from media-libs/libheif/libheif-1.7.0.ebuild)12
-rw-r--r--media-libs/libheif/libheif-1.8.0.ebuild59
-rw-r--r--media-libs/libheif/libheif-9999.ebuild12
7 files changed, 73 insertions, 52 deletions
diff --git a/media-libs/libheif/Manifest b/media-libs/libheif/Manifest
index 492614c8f433..f3e3ee4a2bdc 100644
--- a/media-libs/libheif/Manifest
+++ b/media-libs/libheif/Manifest
@@ -4,9 +4,11 @@ DIST libheif-1.5.1.tar.gz 1510087 BLAKE2B 1dd5e913c8913c6b62b770653585f8ccf7cda1
DIST libheif-1.6.1.tar.gz 1514950 BLAKE2B d658f0c408f9a09eaac890119119327bd3e9c84db785d001b2c7a979b9574a6723403fe063ed6ce77812bface04be124e808fc90c1325c13e3d87f8b46ac0b65 SHA512 5a2104e529d59c23c988b6c0c167f9e7017ff77763eb71fee1c26f97624e9d7e2d0f863123d1886536d37f96ea6b93969a1c53e747672c54a2220aa6f47be1bf
DIST libheif-1.6.2.tar.gz 1515763 BLAKE2B e7a901394349bc8bbf633a0193d7a08a1cecf7e97a8ac709efb9c2e5e6da387c7fa5e8b551cecf1f67b4e7a7d06f034e64c20d7c55f9a7898c0badb79ed485f7 SHA512 41848c05d88f82827ebdd0662a1870ce8b7899f6a86ef5aa483b301176602da8e69d2c5a49b4d911bc0cac51bdab81a06fd43efae2722092cc09c02119c95f07
DIST libheif-1.7.0.tar.gz 1526096 BLAKE2B 74b8284875321781d13d17b877eb8291ecdd0fe1700f73a433d3b125a8ee6b33a326310d729e62bac9d9fecfea095f21ef590e711d550dcaac79570b3f917885 SHA512 13c95540fee13f3fba8d8a4f69886bf5563e9fa22c5cd113dbe16d20670b077b5961171e5f9fb0f256cc42c4650e13465c93d3fbb03013997a7fc163463e8b3a
-EBUILD libheif-1.5.1.ebuild 1660 BLAKE2B 955d48d988ea3a8c2685e795eb4ba4b93819b4168adf3bca853ebd8615f059948d5e76f5adff2013877aaa16eb4f97cebdc71c8f183a996a22f276af426c2ebd SHA512 dabb513cb2586114d7db9741a15046c93d30c4793cbe29273a458fb3781768df205b36d2707f33e1d4bbc4c72a2f08e8425ef5546587b57bf1046a5fac58cce4
-EBUILD libheif-1.6.1.ebuild 1667 BLAKE2B 52218a6c045b1bc4acf3ddd233792bdc588050964985f910903b47a2512763d51ac4212acd714c51fccdac181de164458d3d8df7efa94016f3a0f615b3d03e59 SHA512 d2575a6954b26fa4c2221b0b088dcaf01fb5f387e3e32bfee41e36e24cda217e2fbc5ece7ff874b3fcad0ec96a6ee4de478719de27c4af31f9c55219d11c49c9
-EBUILD libheif-1.6.2.ebuild 1672 BLAKE2B 87c53b2ee0a659e36dc9486d84527d1a9c0fe7f0d7e87d9b8c3d4c57315b64be84dab0ce897f795a5b4bdeea27e77b3aa670350370bc15ed466db4d88220f328 SHA512 49fc214c657dbefc3a2b7b5b3a050a32494ce13dc1250bc6877df44476315625d4c10f048ba776262c63e0423f73f4b55a40bdeae096e851501627509b6325a9
-EBUILD libheif-1.7.0.ebuild 1596 BLAKE2B e7b38336980120a2265eb8c70e048986fbe733df54fee6c24195fabd8e27b0cd1837b0cb1f82eb1ac9d493808de1df53ac98b4afaef2ee7ce0c0946d7b174385 SHA512 c0779167e8fa329495352a8f7e081215e34ec51a5737e90bf60d19f664fca56935fa4dbefd591a3ec0c521ccad84a6ac8dc7ec93d7e960fea4ba17b949438fb5
-EBUILD libheif-9999.ebuild 1554 BLAKE2B e81b41fa4bfdf581c40313f5532e421d1a585c35705039f818ef5361c9b4c01499ac5b27b2e14af884d784b0a66566fb7df94cb7e995d43bd8e9113572b6f0d2 SHA512 4084ec9934894657b38efbb616ca085044f9975f39812c94f91b2965ea227d00098c62b257f35bbe12a3f64f41d45d2fe6dd588c1bedab7e1fccd326a36947c4
+DIST libheif-1.8.0.tar.gz 1544438 BLAKE2B 983d3675c6788f69d7839d72064ca97d7347f5b2105b489ea6834c6ca5ab3d0ad8dd9157ab9d8636d3978a308d9f1983c8e5b0d151ffd9c013c9b2c9ef059d74 SHA512 e6edf03c0baf7d55ace57b8de1cf05d3b6708a0bd58d4191599960ad3924509dd7e9528a021586012b768a5a5b253e5bab470b944a2ead45f85274842da4913a
+EBUILD libheif-1.5.1.ebuild 1556 BLAKE2B 965c7293f6f3894e58624d42b431e99e3174f087f5d2a6b4912f96ee400c2dac556d90090c9e90dbaf76e4fef3afc4978cf20184a02547c3d2b151f0fa0313b5 SHA512 b32bcfc2968ee4e85bf2467a6ad951c17556a9d4fb2b930f7ab8faa6cc60cd6b5db9ed8d06c2049773e0c8c765711466ebf86f8da0f001fbd4e7ac9373497f06
+EBUILD libheif-1.6.1.ebuild 1563 BLAKE2B c5c570831298ff99d120869260df0cf7d4820112038afc5518d48f67da7d86e362ddcb7820f9c1407a2b4bff72be57c59e694a05d573beecaf2b99dbd30fb1ce SHA512 62eee0b51e08d6323ab088611c79647e08e71da1f58ef99f214ee3762fec52f91b9682f9bbf995e8da7d02cdf9917b92ee42fb32d4fd97035963923d074ce423
+EBUILD libheif-1.6.2.ebuild 1568 BLAKE2B 7b2885d783893ff76fd2dc40e9d4ef526154be1cddfd57bb8df6faf3de9c9035138853050cb148372332e16372a61fc342f8dc6e2a650f6d3acbdcee0210f039 SHA512 1996a90ad858246103d847e90d1e1fcede142d3a61ff29be6a5a849bef41ff3adedf91bc7f42a9d01a62e1d570f5ca952b3dcd0b9895b563324581627fadaeba
+EBUILD libheif-1.7.0-r1.ebuild 1492 BLAKE2B e9db98193859be4ab532e4ca291d095d72119a464a9f36cc20df1f691401287621d191135abf2563597efdc41843ce85225caf882f591c3cef4b61bc799f222e SHA512 54b9eadffce84b6b995aa90076e42e75287152a61e75d1634e54f0fb49d2eb2912366d08777ecfbc8c7695e08dbf0eb514718490d9c20bd84a12e1a3b9b6d143
+EBUILD libheif-1.8.0.ebuild 1450 BLAKE2B 064f43ad10a73e251d79d076f3fc2e2db3f651f8af035e8c7248251d47d75596527b981a111f24e8f0657ca9c68fec3f50ff111722bf3df19872c4dbe2a6167f SHA512 06fe2498ddd4bd00de31aa7d673e443b7e869437f33dc3eefb72ef5f69dc869aac60496f669030294df57a96ead462e79ea274cab46ae6f3d2cfa316be773507
+EBUILD libheif-9999.ebuild 1450 BLAKE2B 064f43ad10a73e251d79d076f3fc2e2db3f651f8af035e8c7248251d47d75596527b981a111f24e8f0657ca9c68fec3f50ff111722bf3df19872c4dbe2a6167f SHA512 06fe2498ddd4bd00de31aa7d673e443b7e869437f33dc3eefb72ef5f69dc869aac60496f669030294df57a96ead462e79ea274cab46ae6f3d2cfa316be773507
MISC metadata.xml 485 BLAKE2B 5e631eaa6f914c0a0d89bfa65a6287b466755d3cdf29461c92ed6ca4b37e673458edf2ffefb84f31b8b86340d153155b6366cc692e7c5d7fadb9461fe43baa84 SHA512 5b88224363374aeafd2b3c5a5d0666d5b22a23a260a65323bce1102b7af6ebe21e7d07c1f0409289abd7c64d2cacb3dc1a4393ee11cbfb0db94acee8481e8fbe
diff --git a/media-libs/libheif/libheif-1.5.1.ebuild b/media-libs/libheif/libheif-1.5.1.ebuild
index ea2fa1ddafbe..157ef7068071 100644
--- a/media-libs/libheif/libheif-1.5.1.ebuild
+++ b/media-libs/libheif/libheif-1.5.1.ebuild
@@ -3,7 +3,7 @@
EAPI=7
-inherit autotools xdg-utils multilib-minimal
+inherit autotools xdg multilib-minimal
if [[ ${PV} == "9999" ]] ; then
EGIT_REPO_URI="https://github.com/strukturag/${PN}.git"
@@ -66,11 +66,3 @@ multilib_src_install_all() {
find "${ED}" -name "*.a" -delete || die
fi
}
-
-pkg_postinst() {
- xdg_mimeinfo_database_update
-}
-
-pkg_postrm() {
- xdg_mimeinfo_database_update
-}
diff --git a/media-libs/libheif/libheif-1.6.1.ebuild b/media-libs/libheif/libheif-1.6.1.ebuild
index 68966c34be87..93703270cf38 100644
--- a/media-libs/libheif/libheif-1.6.1.ebuild
+++ b/media-libs/libheif/libheif-1.6.1.ebuild
@@ -3,7 +3,7 @@
EAPI=7
-inherit autotools xdg-utils multilib-minimal
+inherit autotools xdg multilib-minimal
if [[ ${PV} == "9999" ]] ; then
EGIT_REPO_URI="https://github.com/strukturag/${PN}.git"
@@ -66,11 +66,3 @@ multilib_src_install_all() {
find "${ED}" -name "*.a" -delete || die
fi
}
-
-pkg_postinst() {
- xdg_mimeinfo_database_update
-}
-
-pkg_postrm() {
- xdg_mimeinfo_database_update
-}
diff --git a/media-libs/libheif/libheif-1.6.2.ebuild b/media-libs/libheif/libheif-1.6.2.ebuild
index 3644fcb74e44..9a74d8cf8cbf 100644
--- a/media-libs/libheif/libheif-1.6.2.ebuild
+++ b/media-libs/libheif/libheif-1.6.2.ebuild
@@ -3,7 +3,7 @@
EAPI=7
-inherit autotools xdg-utils multilib-minimal
+inherit autotools xdg multilib-minimal
if [[ ${PV} == "9999" ]] ; then
EGIT_REPO_URI="https://github.com/strukturag/${PN}.git"
@@ -66,11 +66,3 @@ multilib_src_install_all() {
find "${ED}" -name "*.a" -delete || die
fi
}
-
-pkg_postinst() {
- xdg_mimeinfo_database_update
-}
-
-pkg_postrm() {
- xdg_mimeinfo_database_update
-}
diff --git a/media-libs/libheif/libheif-1.7.0.ebuild b/media-libs/libheif/libheif-1.7.0-r1.ebuild
index 3bba1148615d..038fd1f84529 100644
--- a/media-libs/libheif/libheif-1.7.0.ebuild
+++ b/media-libs/libheif/libheif-1.7.0-r1.ebuild
@@ -3,7 +3,7 @@
EAPI=7
-inherit autotools xdg-utils multilib-minimal
+inherit autotools xdg multilib-minimal
if [[ ${PV} == "9999" ]] ; then
EGIT_REPO_URI="https://github.com/strukturag/${PN}.git"
@@ -17,7 +17,7 @@ DESCRIPTION="ISO/IEC 23008-12:2017 HEIF file format decoder and encoder"
HOMEPAGE="https://github.com/strukturag/libheif"
LICENSE="GPL-3"
-SLOT="0/1.6"
+SLOT="0/1.7"
IUSE="gdk-pixbuf go static-libs test +threads"
RESTRICT="!test? ( test )"
@@ -60,11 +60,3 @@ multilib_src_configure() {
multilib_src_install_all() {
find "${ED}" -name '*.la' -delete || die
}
-
-pkg_postinst() {
- xdg_mimeinfo_database_update
-}
-
-pkg_postrm() {
- xdg_mimeinfo_database_update
-}
diff --git a/media-libs/libheif/libheif-1.8.0.ebuild b/media-libs/libheif/libheif-1.8.0.ebuild
new file mode 100644
index 000000000000..6c16fb0e9ab5
--- /dev/null
+++ b/media-libs/libheif/libheif-1.8.0.ebuild
@@ -0,0 +1,59 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit autotools xdg multilib-minimal
+
+if [[ ${PV} == "9999" ]] ; then
+ EGIT_REPO_URI="https://github.com/strukturag/${PN}.git"
+ inherit git-r3
+else
+ SRC_URI="https://github.com/strukturag/${PN}/releases/download/v${PV}/${P}.tar.gz"
+ KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~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.8"
+IUSE="gdk-pixbuf go static-libs test +threads"
+RESTRICT="!test? ( test )"
+
+BDEPEND="test? ( dev-lang/go )"
+DEPEND="
+ media-libs/libde265:=[${MULTILIB_USEDEP}]
+ media-libs/libpng:0=[${MULTILIB_USEDEP}]
+ media-libs/x265:=[${MULTILIB_USEDEP}]
+ sys-libs/zlib:=[${MULTILIB_USEDEP}]
+ virtual/jpeg:0=[${MULTILIB_USEDEP}]
+ gdk-pixbuf? ( x11-libs/gdk-pixbuf )
+ go? ( dev-lang/go )
+"
+RDEPEND="${DEPEND}"
+
+src_prepare() {
+ default
+
+ sed -i -e 's:-Werror::' configure.ac || die
+
+ eautoreconf
+
+ # prevent "stat heif-test.go: no such file or directory"
+ multilib_copy_sources
+}
+
+multilib_src_configure() {
+ local econf_args=(
+ $(multilib_is_native_abi && use_enable go || echo --disable-go)
+ $(use_enable gdk-pixbuf)
+ $(use_enable static-libs static)
+ $(use_enable threads multithreading)
+ )
+ ECONF_SOURCE="${S}" econf "${econf_args[@]}"
+}
+
+multilib_src_install_all() {
+ find "${ED}" -name '*.la' -delete || die
+}
diff --git a/media-libs/libheif/libheif-9999.ebuild b/media-libs/libheif/libheif-9999.ebuild
index 3e1aacd0ed3d..6c16fb0e9ab5 100644
--- a/media-libs/libheif/libheif-9999.ebuild
+++ b/media-libs/libheif/libheif-9999.ebuild
@@ -3,7 +3,7 @@
EAPI=7
-inherit autotools xdg-utils multilib-minimal
+inherit autotools xdg multilib-minimal
if [[ ${PV} == "9999" ]] ; then
EGIT_REPO_URI="https://github.com/strukturag/${PN}.git"
@@ -17,7 +17,7 @@ DESCRIPTION="ISO/IEC 23008-12:2017 HEIF file format decoder and encoder"
HOMEPAGE="https://github.com/strukturag/libheif"
LICENSE="GPL-3"
-SLOT="0/1.6"
+SLOT="0/1.8"
IUSE="gdk-pixbuf go static-libs test +threads"
RESTRICT="!test? ( test )"
@@ -57,11 +57,3 @@ multilib_src_configure() {
multilib_src_install_all() {
find "${ED}" -name '*.la' -delete || die
}
-
-pkg_postinst() {
- xdg_mimeinfo_database_update
-}
-
-pkg_postrm() {
- xdg_mimeinfo_database_update
-}