[gentoo-commits] repo/gentoo:master commit in: media-libs/libheif/

2024-09-28 Thread Sam James
commit: 74ee18b94b281fb41066de5806b98af6056cafac
Author: Sam James  gentoo  org>
AuthorDate: Sat Sep 28 15:32:59 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Sat Sep 28 15:33:59 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=74ee18b9

media-libs/libheif: needs https://bugs.gentoo.org/940256
Signed-off-by: Sam James  gentoo.org>

 media-libs/libheif/libheif-1.18.2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/libheif/libheif-1.18.2.ebuild 
b/media-libs/libheif/libheif-1.18.2.ebuild
index 739280c404de..eb8d3c1b497c 100644
--- a/media-libs/libheif/libheif-1.18.2.ebuild
+++ b/media-libs/libheif/libheif-1.18.2.ebuild
@@ -24,7 +24,7 @@ RESTRICT="!test? ( test )"
 
 BDEPEND="
test? (
-   dev-cpp/catch
+   

[gentoo-commits] repo/gentoo:master commit in: media-libs/libheif/

2024-09-25 Thread Joonas Niilola
commit: 3748105ee1e17f504a88ded8582c0751c628b77b
Author: Joonas Niilola  gentoo  org>
AuthorDate: Wed Sep 25 12:17:38 2024 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Wed Sep 25 12:17:38 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3748105e

media-libs/libheif: Stabilize 1.18.1 amd64, #940204

Signed-off-by: Joonas Niilola  gentoo.org>

 media-libs/libheif/libheif-1.18.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/libheif/libheif-1.18.1.ebuild 
b/media-libs/libheif/libheif-1.18.1.ebuild
index 004499c452c6..cab80b1c1b09 100644
--- a/media-libs/libheif/libheif-1.18.1.ebuild
+++ b/media-libs/libheif/libheif-1.18.1.ebuild
@@ -10,7 +10,7 @@ if [[ ${PV} == * ]] ; then
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"
+   KEYWORDS="amd64 ~arm ~arm64 ~loong ~ppc64 ~riscv x86"
 fi
 
 DESCRIPTION="ISO/IEC 23008-12:2017 HEIF file format decoder and encoder"



[gentoo-commits] repo/gentoo:master commit in: media-libs/libheif/

2024-09-25 Thread Joonas Niilola
commit: 5f37f8d8ebce987fe08d067b5b2bfe4bdd449a6b
Author: Joonas Niilola  gentoo  org>
AuthorDate: Wed Sep 25 12:15:32 2024 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Wed Sep 25 12:15:55 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5f37f8d8

media-libs/libheif: Stabilize 1.18.1 x86, #940204

Signed-off-by: Joonas Niilola  gentoo.org>

 media-libs/libheif/libheif-1.18.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/libheif/libheif-1.18.1.ebuild 
b/media-libs/libheif/libheif-1.18.1.ebuild
index 0f4dcd199721..004499c452c6 100644
--- a/media-libs/libheif/libheif-1.18.1.ebuild
+++ b/media-libs/libheif/libheif-1.18.1.ebuild
@@ -10,7 +10,7 @@ if [[ ${PV} == * ]] ; then
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"
+   KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc64 ~riscv x86"
 fi
 
 DESCRIPTION="ISO/IEC 23008-12:2017 HEIF file format decoder and encoder"



[gentoo-commits] repo/gentoo:master commit in: media-libs/libheif/

2024-09-24 Thread Arthur Zamarin
commit: e2de531253bfd3682216a8eb860890c0b6074ca8
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Tue Sep 24 20:01:26 2024 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Tue Sep 24 20:01:48 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e2de5312

media-libs/libheif: fix -Werror

Closes: https://bugs.gentoo.org/940201
Signed-off-by: Arthur Zamarin  gentoo.org>

 media-libs/libheif/libheif-1.17.6.ebuild | 2 ++
 media-libs/libheif/libheif-1.18.1.ebuild | 2 ++
 media-libs/libheif/libheif-1.18.2.ebuild | 2 ++
 3 files changed, 6 insertions(+)

diff --git a/media-libs/libheif/libheif-1.17.6.ebuild 
b/media-libs/libheif/libheif-1.17.6.ebuild
index 7f802231d9b5..7e7142cf23cc 100644
--- a/media-libs/libheif/libheif-1.17.6.ebuild
+++ b/media-libs/libheif/libheif-1.17.6.ebuild
@@ -56,6 +56,8 @@ src_prepare() {
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

diff --git a/media-libs/libheif/libheif-1.18.1.ebuild 
b/media-libs/libheif/libheif-1.18.1.ebuild
index b5c9b73f88d0..0f4dcd199721 100644
--- a/media-libs/libheif/libheif-1.18.1.ebuild
+++ b/media-libs/libheif/libheif-1.18.1.ebuild
@@ -58,6 +58,8 @@ src_prepare() {
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

diff --git a/media-libs/libheif/libheif-1.18.2.ebuild 
b/media-libs/libheif/libheif-1.18.2.ebuild
index 1aea405a52d6..739280c404de 100644
--- a/media-libs/libheif/libheif-1.18.2.ebuild
+++ b/media-libs/libheif/libheif-1.18.2.ebuild
@@ -55,6 +55,8 @@ src_prepare() {
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



[gentoo-commits] repo/gentoo:master commit in: media-libs/libheif/

2024-08-27 Thread Joonas Niilola
commit: 5aa85e659d5bc6f2e9dfbc07c4a71ad6122febf8
Author: Joonas Niilola  gentoo  org>
AuthorDate: Tue Aug 27 06:48:27 2024 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Tue Aug 27 06:48:27 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5aa85e65

media-libs/libheif: update subslot binders on some deps in 1.18.2

Signed-off-by: Joonas Niilola  gentoo.org>

 media-libs/libheif/libheif-1.18.2.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/media-libs/libheif/libheif-1.18.2.ebuild 
b/media-libs/libheif/libheif-1.18.2.ebuild
index 33800f5b64c3..1aea405a52d6 100644
--- a/media-libs/libheif/libheif-1.18.2.ebuild
+++ b/media-libs/libheif/libheif-1.18.2.ebuild
@@ -30,7 +30,7 @@ BDEPEND="
 "
 DEPEND="
media-libs/dav1d:=[${MULTILIB_USEDEP}]
-   media-libs/libde265:=[${MULTILIB_USEDEP}]
+   media-libs/libde265[${MULTILIB_USEDEP}]
media-libs/libpng:0=[${MULTILIB_USEDEP}]
media-libs/tiff:=[${MULTILIB_USEDEP}]
sys-libs/zlib:=[${MULTILIB_USEDEP}]
@@ -39,7 +39,7 @@ DEPEND="
gdk-pixbuf? ( x11-libs/gdk-pixbuf[${MULTILIB_USEDEP}] )
go? ( dev-lang/go )
rav1e? ( media-video/rav1e:= )
-   svt-av1? ( media-libs/svt-av1[${MULTILIB_USEDEP}] )
+   svt-av1? ( media-libs/svt-av1:=[${MULTILIB_USEDEP}] )
x265? ( media-libs/x265:=[${MULTILIB_USEDEP}] )
 "
 RDEPEND="${DEPEND}"



[gentoo-commits] repo/gentoo:master commit in: media-libs/libheif/

2024-08-27 Thread Joonas Niilola
commit: d9f4fc888042b8eb9d45b9ac67df16cd3a117c85
Author: Guillermo Joandet  gmail  com>
AuthorDate: Sat Aug 10 22:08:29 2024 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Tue Aug 27 06:47:56 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d9f4fc88

media-libs/libheif: Bump to 1.18.2

Signed-off-by: Guillermo Joandet  gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/38075
Signed-off-by: Joonas Niilola  gentoo.org>

 media-libs/libheif/Manifest  |  1 +
 media-libs/libheif/libheif-1.18.2.ebuild | 98 
 2 files changed, 99 insertions(+)

diff --git a/media-libs/libheif/Manifest b/media-libs/libheif/Manifest
index c09dfaf8e1a2..f28c23498611 100644
--- a/media-libs/libheif/Manifest
+++ b/media-libs/libheif/Manifest
@@ -1,3 +1,4 @@
 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.18.2.ebuild 
b/media-libs/libheif/libheif-1.18.2.ebuild
new file mode 100644
index ..33800f5b64c3
--- /dev/null
+++ b/media-libs/libheif/libheif-1.18.2.ebuild
@@ -0,0 +1,98 @@
+# 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} == * ]] ; 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() {
+   if use test ; then
+   # bug 865351
+   rm tests/catch.hpp || die
+   ln -s "${ESYSROOT}"/usr/include/catch2/catch.hpp 
tests/catch.hpp || die
+   fi
+
+   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_inst

[gentoo-commits] repo/gentoo:master commit in: media-libs/libheif/

2024-08-12 Thread Michał Górny
commit: d2c6059ac7f3841a20931092d244a18beba55b29
Author: Michał Górny  gentoo  org>
AuthorDate: Tue Aug 13 04:45:02 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Tue Aug 13 04:54:59 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d2c6059a

media-libs/libheif: Add := to media-libs/svt-av1 dep

Signed-off-by: Michał Górny  gentoo.org>

 media-libs/libheif/libheif-1.17.6.ebuild | 2 +-
 media-libs/libheif/libheif-1.18.1.ebuild | 2 +-
 media-libs/libheif/libheif-.ebuild   | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/media-libs/libheif/libheif-1.17.6.ebuild 
b/media-libs/libheif/libheif-1.17.6.ebuild
index a4c096fce0e6..7f802231d9b5 100644
--- a/media-libs/libheif/libheif-1.17.6.ebuild
+++ b/media-libs/libheif/libheif-1.17.6.ebuild
@@ -39,7 +39,7 @@ DEPEND="
gdk-pixbuf? ( x11-libs/gdk-pixbuf[${MULTILIB_USEDEP}] )
go? ( dev-lang/go )
rav1e? ( media-video/rav1e:= )
-   svt-av1? ( media-libs/svt-av1[${MULTILIB_USEDEP}] )
+   svt-av1? ( media-libs/svt-av1:=[${MULTILIB_USEDEP}] )
x265? ( media-libs/x265:=[${MULTILIB_USEDEP}] )"
 RDEPEND="${DEPEND}"
 

diff --git a/media-libs/libheif/libheif-1.18.1.ebuild 
b/media-libs/libheif/libheif-1.18.1.ebuild
index af5f70f0dcf7..b5c9b73f88d0 100644
--- a/media-libs/libheif/libheif-1.18.1.ebuild
+++ b/media-libs/libheif/libheif-1.18.1.ebuild
@@ -39,7 +39,7 @@ DEPEND="
gdk-pixbuf? ( x11-libs/gdk-pixbuf[${MULTILIB_USEDEP}] )
go? ( dev-lang/go )
rav1e? ( media-video/rav1e:= )
-   svt-av1? ( media-libs/svt-av1[${MULTILIB_USEDEP}] )
+   svt-av1? ( media-libs/svt-av1:=[${MULTILIB_USEDEP}] )
x265? ( media-libs/x265:=[${MULTILIB_USEDEP}] )
 "
 RDEPEND="${DEPEND}"

diff --git a/media-libs/libheif/libheif-.ebuild 
b/media-libs/libheif/libheif-.ebuild
index af5f70f0dcf7..b5c9b73f88d0 100644
--- a/media-libs/libheif/libheif-.ebuild
+++ b/media-libs/libheif/libheif-.ebuild
@@ -39,7 +39,7 @@ DEPEND="
gdk-pixbuf? ( x11-libs/gdk-pixbuf[${MULTILIB_USEDEP}] )
go? ( dev-lang/go )
rav1e? ( media-video/rav1e:= )
-   svt-av1? ( media-libs/svt-av1[${MULTILIB_USEDEP}] )
+   svt-av1? ( media-libs/svt-av1:=[${MULTILIB_USEDEP}] )
x265? ( media-libs/x265:=[${MULTILIB_USEDEP}] )
 "
 RDEPEND="${DEPEND}"



[gentoo-commits] repo/gentoo:master commit in: media-libs/libheif/files/, media-libs/libheif/

2024-07-29 Thread Pacho Ramos
commit: 8d9c9b8d228091278121da82bec2a47d506ac2ba
Author: Guillermo Joandet  gmail  com>
AuthorDate: Wed Jul 24 16:12:31 2024 +
Commit: Pacho Ramos  gentoo  org>
CommitDate: Mon Jul 29 09:34:22 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8d9c9b8d

media-libs/libheif: Bump to 1.18.1

Thanks-to: eli-schwartz
Signed-off-by: Guillermo Joandet  gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/36951
Signed-off-by: Pacho Ramos  gentoo.org>

 media-libs/libheif/Manifest|   1 +
 ...TDIR_when_generating_heif-convert_symlink.patch |  22 +
 media-libs/libheif/libheif-1.18.1.ebuild   | 101 +
 3 files changed, 124 insertions(+)

diff --git a/media-libs/libheif/Manifest b/media-libs/libheif/Manifest
index 909676530c35..c09dfaf8e1a2 100644
--- a/media-libs/libheif/Manifest
+++ b/media-libs/libheif/Manifest
@@ -1,2 +1,3 @@
 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

diff --git 
a/media-libs/libheif/files/libheif-1.18.1-prepend_DESTDIR_when_generating_heif-convert_symlink.patch
 
b/media-libs/libheif/files/libheif-1.18.1-prepend_DESTDIR_when_generating_heif-convert_symlink.patch
new file mode 100644
index ..aee9049751aa
--- /dev/null
+++ 
b/media-libs/libheif/files/libheif-1.18.1-prepend_DESTDIR_when_generating_heif-convert_symlink.patch
@@ -0,0 +1,22 @@
+From 337aa421f68c0274eb0db047646160b05fdde4a0 Mon Sep 17 00:00:00 2001
+From: Dirk Farin 
+Date: Wed, 24 Jul 2024 16:11:43 +0200
+Subject: [PATCH] fix installing heif-convert symlink in DESTDIR (#1249)
+
+---
+ examples/CMakeLists.txt | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/examples/CMakeLists.txt b/examples/CMakeLists.txt
+index 8ac3114370..fc9d2f2ca0 100644
+--- a/examples/CMakeLists.txt
 b/examples/CMakeLists.txt
+@@ -34,7 +34,7 @@ install(FILES heif-dec.1 DESTINATION 
${CMAKE_INSTALL_MANDIR}/man1)
+ 
+ # create symbolic link from the old name `heif-convert` to `heif-dec`
+ if(NOT WIN32)
+-  install(CODE "execute_process(COMMAND ${CMAKE_COMMAND} -E create_symlink 
${DESTDIR}${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_BINDIR}/heif-dec${CMAKE_EXECUTABLE_SUFFIX}
 
${DESTDIR}${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_BINDIR}/heif-convert${CMAKE_EXECUTABLE_SUFFIX})")
++  install(CODE "execute_process(COMMAND ${CMAKE_COMMAND} -E create_symlink 
heif-dec${CMAKE_EXECUTABLE_SUFFIX} 
\$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_BINDIR}/heif-convert${CMAKE_EXECUTABLE_SUFFIX})")
+ else()
+   install(CODE "execute_process(COMMAND ${CMAKE_COMMAND} -E copy 
${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_BINDIR}/heif-dec${CMAKE_EXECUTABLE_SUFFIX}
 
${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_BINDIR}/heif-convert${CMAKE_EXECUTABLE_SUFFIX})")
+ endif()

diff --git a/media-libs/libheif/libheif-1.18.1.ebuild 
b/media-libs/libheif/libheif-1.18.1.ebuild
new file mode 100644
index ..af5f70f0dcf7
--- /dev/null
+++ b/media-libs/libheif/libheif-1.18.1.ebuild
@@ -0,0 +1,101 @@
+# 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} == * ]] ; 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

[gentoo-commits] repo/gentoo:master commit in: media-libs/libheif/

2024-07-29 Thread Pacho Ramos
commit: 584d3914639939dca05400f93af251457ecf0c23
Author: Pacho Ramos  gentoo  org>
AuthorDate: Mon Jul 29 09:34:57 2024 +
Commit: Pacho Ramos  gentoo  org>
CommitDate: Mon Jul 29 09:34:57 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=584d3914

media-libs/libheif: sync live ebuild

Signed-off-by: Pacho Ramos  gentoo.org>

 media-libs/libheif/libheif-.ebuild | 8 +---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/media-libs/libheif/libheif-.ebuild 
b/media-libs/libheif/libheif-.ebuild
index a4c096fce0e6..af5f70f0dcf7 100644
--- a/media-libs/libheif/libheif-.ebuild
+++ b/media-libs/libheif/libheif-.ebuild
@@ -40,16 +40,18 @@ DEPEND="
go? ( dev-lang/go )
rav1e? ( media-video/rav1e:= )
svt-av1? ( media-libs/svt-av1[${MULTILIB_USEDEP}] )
-   x265? ( media-libs/x265:=[${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() {
-   default
-
if use test ; then
# bug 865351
rm tests/catch.hpp || die



[gentoo-commits] repo/gentoo:master commit in: media-libs/libheif/

2024-07-21 Thread Pacho Ramos
commit: e038bd9df457b5bfa2bd6c667bb5b94494332090
Author: Guillermo Joandet  gmail  com>
AuthorDate: Sat Jun  1 15:23:27 2024 +
Commit: Pacho Ramos  gentoo  org>
CommitDate: Sun Jul 21 08:09:11 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e038bd9d

media-libs/libheif: Bump to 1.17.6

Bug: https://github.com/gentoo/gentoo/pull/36951
Closes: https://bugs.gentoo.org/882689
Closes: https://bugs.gentoo.org/919330
Signed-off-by: Guillermo Joandet  gmail.com>
Signed-off-by: Pacho Ramos  gentoo.org>

 media-libs/libheif/Manifest  |   1 +
 media-libs/libheif/libheif-1.17.6.ebuild | 104 +++
 media-libs/libheif/metadata.xml  |   1 +
 3 files changed, 106 insertions(+)

diff --git a/media-libs/libheif/Manifest b/media-libs/libheif/Manifest
index 41989cba97bc..909676530c35 100644
--- a/media-libs/libheif/Manifest
+++ b/media-libs/libheif/Manifest
@@ -1 +1,2 @@
 DIST libheif-1.15.2.tar.gz 1749773 BLAKE2B 
788ecf59c936bfae9544bedd5fa50fd74f04adf29f804994bc208d2a5339b13984baf78a508babd80fa0d48381b2cc0bfb1e1140de97437b8c0336378a64fcb6
 SHA512 
79f22dad084bbe965dae7b8f92fc119dbdde7a04577ca9c7bc28b1a022a06f0ae64d3fbd11e82d6907f0fd678a31d98275e508a51a6bd0a9e8675c93790f1996
+DIST libheif-1.17.6.tar.gz 1433302 BLAKE2B 
937a1ddfd86c4d50a609e24d00c07e0d1924a5532e36293f83fd67a38f4c13186cb5c4837598000d6d3516ec1965fdc6709ef825c327fd5ce3ea2194008b6efd
 SHA512 
47d93df4f584979cea26af74cd8543b13398356b5fd46b1b378f7738cee471e80b7e117f6ce307674a549182f5ce22a577c6e79a6e72fe166421efc4be04687a

diff --git a/media-libs/libheif/libheif-1.17.6.ebuild 
b/media-libs/libheif/libheif-1.17.6.ebuild
new file mode 100644
index ..d32237df1939
--- /dev/null
+++ b/media-libs/libheif/libheif-1.17.6.ebuild
@@ -0,0 +1,104 @@
+# 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} == * ]] ; 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 )"
+
+# Bug 865351: tests requires Enable x11-libs/gdk-pixbuf 
plugin
Enable building dev-lang/go 
code/examples
Use media-video/rav1e for AVIF 
encoding
+   Use media-libs/svt-av1 for SVT-AV1 
encoding
Use  media-libs/x265 for HEIF 
encoding





[gentoo-commits] repo/gentoo:master commit in: media-libs/libheif/

2024-07-21 Thread Pacho Ramos
commit: 08722c0db371a3082062d64009df82bed473c9f5
Author: Pacho Ramos  gentoo  org>
AuthorDate: Sun Jul 21 08:08:16 2024 +
Commit: Pacho Ramos  gentoo  org>
CommitDate: Sun Jul 21 08:09:46 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=08722c0d

media-libs/libheif: ebuild cleanups

Signed-off-by: Pacho Ramos  gentoo.org>

 media-libs/libheif/libheif-1.17.6.ebuild | 5 -
 1 file changed, 5 deletions(-)

diff --git a/media-libs/libheif/libheif-1.17.6.ebuild 
b/media-libs/libheif/libheif-1.17.6.ebuild
index d32237df1939..a4c096fce0e6 100644
--- a/media-libs/libheif/libheif-1.17.6.ebuild
+++ b/media-libs/libheif/libheif-1.17.6.ebuild
@@ -22,7 +22,6 @@ IUSE="+aom gdk-pixbuf go rav1e svt-av1 test +threads x265"
 REQUIRED_USE="test? ( go )"
 RESTRICT="!test? ( test )"
 
-# Bug 865351: tests requires 

[gentoo-commits] repo/gentoo:master commit in: media-libs/libheif/

2024-07-21 Thread Pacho Ramos
commit: 89658b6de9b14449ae2df6d8c7be51100e265006
Author: Pacho Ramos  gentoo  org>
AuthorDate: Sun Jul 21 08:08:45 2024 +
Commit: Pacho Ramos  gentoo  org>
CommitDate: Sun Jul 21 08:09:47 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=89658b6d

media-libs/libheif: Sync live ebuild

Signed-off-by: Pacho Ramos  gentoo.org>

 media-libs/libheif/libheif-.ebuild | 59 +-
 1 file changed, 37 insertions(+), 22 deletions(-)

diff --git a/media-libs/libheif/libheif-.ebuild 
b/media-libs/libheif/libheif-.ebuild
index 2b2d106acf2d..a4c096fce0e6 100644
--- a/media-libs/libheif/libheif-.ebuild
+++ b/media-libs/libheif/libheif-.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
 
-inherit autotools xdg multilib-minimal
+inherit cmake xdg multilib-minimal
 
 if [[ ${PV} == * ]] ; then
EGIT_REPO_URI="https://github.com/strukturag/libheif.git";
@@ -17,14 +17,14 @@ 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"
+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? (
-   

[gentoo-commits] repo/gentoo:master commit in: media-libs/libheif/

2024-06-18 Thread Jakov Smolić
commit: a4ff44929349d8d0360d660e3e68bf66c8359a9b
Author: Jakov Smolić  gentoo  org>
AuthorDate: Tue Jun 18 18:33:22 2024 +
Commit: Jakov Smolić  gentoo  org>
CommitDate: Tue Jun 18 18:55:01 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a4ff4492

media-libs/libheif: drop myself as a maintainer

Signed-off-by: Jakov Smolić  gentoo.org>

 media-libs/libheif/metadata.xml | 5 +
 1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/media-libs/libheif/metadata.xml b/media-libs/libheif/metadata.xml
index 2d2f28772dda..99600fed24d1 100644
--- a/media-libs/libheif/metadata.xml
+++ b/media-libs/libheif/metadata.xml
@@ -1,10 +1,7 @@
 
 https://www.gentoo.org/dtd/metadata.dtd";>
 
-   
-   jsmo...@gentoo.org
-   Jakov Smolić
-   
+   

Use media-libs/libaom for AVIF 
encoding/decoding
Enable x11-libs/gdk-pixbuf 
plugin



[gentoo-commits] repo/gentoo:master commit in: media-libs/libheif/

2024-06-18 Thread Jakov Smolić
commit: 3b02eb7441500fa4390d77353b092b13fee0
Author: Jakov Smolić  gentoo  org>
AuthorDate: Tue Jun 18 18:22:00 2024 +
Commit: Jakov Smolić  gentoo  org>
CommitDate: Tue Jun 18 18:54:54 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3b02eb74

media-libs/libheif: Explicitly require catch version 2

Closes: https://bugs.gentoo.org/926176
Signed-off-by: Jakov Smolić  gentoo.org>

 media-libs/libheif/{libheif-1.15.2.ebuild => libheif-1.15.2-r1.ebuild} | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/libheif/libheif-1.15.2.ebuild 
b/media-libs/libheif/libheif-1.15.2-r1.ebuild
similarity index 99%
rename from media-libs/libheif/libheif-1.15.2.ebuild
rename to media-libs/libheif/libheif-1.15.2-r1.ebuild
index da7af41c80cc..491451aa033b 100644
--- a/media-libs/libheif/libheif-1.15.2.ebuild
+++ b/media-libs/libheif/libheif-1.15.2-r1.ebuild
@@ -25,7 +25,7 @@ RESTRICT="!test? ( test )"
 # Bug 865351: tests requires 

[gentoo-commits] repo/gentoo:master commit in: media-libs/libheif/

2024-01-05 Thread Jakov Smolić
commit: 925c6a9a631c0c05cc2c8f3a2d749d46e746eddf
Author: Jakov Smolić  gentoo  org>
AuthorDate: Sat Jan  6 01:19:50 2024 +
Commit: Jakov Smolić  gentoo  org>
CommitDate: Sat Jan  6 01:19:50 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=925c6a9a

media-libs/libheif: drop 1.13.0

Bug: https://bugs.gentoo.org/897904
Signed-off-by: Jakov Smolić  gentoo.org>

 media-libs/libheif/Manifest  |  1 -
 media-libs/libheif/libheif-1.13.0.ebuild | 86 
 2 files changed, 87 deletions(-)

diff --git a/media-libs/libheif/Manifest b/media-libs/libheif/Manifest
index 1a7311a6ba09..41989cba97bc 100644
--- a/media-libs/libheif/Manifest
+++ b/media-libs/libheif/Manifest
@@ -1,2 +1 @@
-DIST libheif-1.13.0.tar.gz 1703950 BLAKE2B 
e79af787c514c02f49eb9deb42c9727a4719584d16ebb73b8ab276d9e5452c5463f359a1ace30819466f4dab30db69fec5afa2eefeaadc828e2272e91c7d4cf7
 SHA512 
44cb12ec7191bdf8ef2193c075d5d7a064a7a90c00625e5346624de1ebbedd064601998d042c8336d6c5b2aaef4cd3b439b850d0ab5882daa2e22dcc8722c779
 DIST libheif-1.15.2.tar.gz 1749773 BLAKE2B 
788ecf59c936bfae9544bedd5fa50fd74f04adf29f804994bc208d2a5339b13984baf78a508babd80fa0d48381b2cc0bfb1e1140de97437b8c0336378a64fcb6
 SHA512 
79f22dad084bbe965dae7b8f92fc119dbdde7a04577ca9c7bc28b1a022a06f0ae64d3fbd11e82d6907f0fd678a31d98275e508a51a6bd0a9e8675c93790f1996

diff --git a/media-libs/libheif/libheif-1.13.0.ebuild 
b/media-libs/libheif/libheif-1.13.0.ebuild
deleted file mode 100644
index 4a14aa6c241c..
--- a/media-libs/libheif/libheif-1.13.0.ebuild
+++ /dev/null
@@ -1,86 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit autotools xdg multilib-minimal
-
-if [[ ${PV} == * ]] ; 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 

[gentoo-commits] repo/gentoo:master commit in: media-libs/libheif/

2024-01-05 Thread Jakov Smolić
commit: 00e0fbe1e333220c137f0564ed3865c9f04b70ff
Author: Jakov Smolić  gentoo  org>
AuthorDate: Sat Jan  6 01:18:55 2024 +
Commit: Jakov Smolić  gentoo  org>
CommitDate: Sat Jan  6 01:18:55 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=00e0fbe1

media-libs/libheif: Stabilize 1.15.2 ppc64, #908168

Signed-off-by: Jakov Smolić  gentoo.org>

 media-libs/libheif/libheif-1.15.2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/libheif/libheif-1.15.2.ebuild 
b/media-libs/libheif/libheif-1.15.2.ebuild
index 23d9930797e9..da7af41c80cc 100644
--- a/media-libs/libheif/libheif-1.15.2.ebuild
+++ b/media-libs/libheif/libheif-1.15.2.ebuild
@@ -10,7 +10,7 @@ if [[ ${PV} == * ]] ; then
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"
+   KEYWORDS="amd64 arm arm64 ~loong ppc64 ~riscv x86"
 fi
 
 DESCRIPTION="ISO/IEC 23008-12:2017 HEIF file format decoder and encoder"



[gentoo-commits] repo/gentoo:master commit in: media-libs/libheif/

2024-01-05 Thread Jakov Smolić
commit: 1503b5a691a63c5c73a5bba7b0357a0760a37515
Author: Jakov Smolić  gentoo  org>
AuthorDate: Sat Jan  6 01:18:50 2024 +
Commit: Jakov Smolić  gentoo  org>
CommitDate: Sat Jan  6 01:18:50 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1503b5a6

media-libs/libheif: Stabilize 1.15.2 amd64, #908168

Signed-off-by: Jakov Smolić  gentoo.org>

 media-libs/libheif/libheif-1.15.2.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/media-libs/libheif/libheif-1.15.2.ebuild 
b/media-libs/libheif/libheif-1.15.2.ebuild
index 5cba0eb2d8d8..23d9930797e9 100644
--- a/media-libs/libheif/libheif-1.15.2.ebuild
+++ b/media-libs/libheif/libheif-1.15.2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -10,7 +10,7 @@ if [[ ${PV} == * ]] ; then
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"
+   KEYWORDS="amd64 arm arm64 ~loong ~ppc64 ~riscv x86"
 fi
 
 DESCRIPTION="ISO/IEC 23008-12:2017 HEIF file format decoder and encoder"



[gentoo-commits] repo/gentoo:master commit in: media-libs/libheif/

2023-06-09 Thread Arthur Zamarin
commit: 2b3c07816f6469dc09d415e25d395f701b2ca76c
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Fri Jun  9 16:50:24 2023 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Fri Jun  9 16:50:24 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2b3c0781

media-libs/libheif: Stabilize 1.15.2 arm64, #908168

Signed-off-by: Arthur Zamarin  gentoo.org>

 media-libs/libheif/libheif-1.15.2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/libheif/libheif-1.15.2.ebuild 
b/media-libs/libheif/libheif-1.15.2.ebuild
index dc77e7276079..b6354951a1d6 100644
--- a/media-libs/libheif/libheif-1.15.2.ebuild
+++ b/media-libs/libheif/libheif-1.15.2.ebuild
@@ -10,7 +10,7 @@ if [[ ${PV} == * ]] ; then
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"
+   KEYWORDS="~amd64 ~arm arm64 ~loong ~ppc64 ~riscv ~x86"
 fi
 
 DESCRIPTION="ISO/IEC 23008-12:2017 HEIF file format decoder and encoder"



[gentoo-commits] repo/gentoo:master commit in: media-libs/libheif/

2023-04-09 Thread Sam James
commit: ed6ed01d61b2aa3d65236a3f4d72a0f3f7d5b092
Author: Guillermo Joandet  gmail  com>
AuthorDate: Sun Apr  9 00:14:25 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Mon Apr 10 02:52:49 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ed6ed01d

media-libs/libheif: Version bump to 1.15.2

Signed-off-by: Guillermo Joandet  gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/30524
Signed-off-by: Sam James  gentoo.org>

 media-libs/libheif/Manifest  |  1 +
 media-libs/libheif/libheif-1.15.2.ebuild | 86 
 2 files changed, 87 insertions(+)

diff --git a/media-libs/libheif/Manifest b/media-libs/libheif/Manifest
index 5338d85a7688..1a7311a6ba09 100644
--- a/media-libs/libheif/Manifest
+++ b/media-libs/libheif/Manifest
@@ -1 +1,2 @@
 DIST libheif-1.13.0.tar.gz 1703950 BLAKE2B 
e79af787c514c02f49eb9deb42c9727a4719584d16ebb73b8ab276d9e5452c5463f359a1ace30819466f4dab30db69fec5afa2eefeaadc828e2272e91c7d4cf7
 SHA512 
44cb12ec7191bdf8ef2193c075d5d7a064a7a90c00625e5346624de1ebbedd064601998d042c8336d6c5b2aaef4cd3b439b850d0ab5882daa2e22dcc8722c779
+DIST libheif-1.15.2.tar.gz 1749773 BLAKE2B 
788ecf59c936bfae9544bedd5fa50fd74f04adf29f804994bc208d2a5339b13984baf78a508babd80fa0d48381b2cc0bfb1e1140de97437b8c0336378a64fcb6
 SHA512 
79f22dad084bbe965dae7b8f92fc119dbdde7a04577ca9c7bc28b1a022a06f0ae64d3fbd11e82d6907f0fd678a31d98275e508a51a6bd0a9e8675c93790f1996

diff --git a/media-libs/libheif/libheif-1.15.2.ebuild 
b/media-libs/libheif/libheif-1.15.2.ebuild
new file mode 100644
index ..dc77e7276079
--- /dev/null
+++ b/media-libs/libheif/libheif-1.15.2.ebuild
@@ -0,0 +1,86 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit autotools xdg multilib-minimal
+
+if [[ ${PV} == * ]] ; 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 

[gentoo-commits] repo/gentoo:master commit in: media-libs/libheif/files/

2022-11-25 Thread Conrad Kostecki
commit: 0cf8f69b26c2a4b19a3657575199ffab7169007c
Author: Michael Mair-Keimberger  levelnine  at>
AuthorDate: Fri Nov 25 15:51:14 2022 +
Commit: Conrad Kostecki  gentoo  org>
CommitDate: Fri Nov 25 17:48:15 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0cf8f69b

media-libs/libheif: remove unused patch(es)

Signed-off-by: Michael Mair-Keimberger  levelnine.at>
Closes: https://github.com/gentoo/gentoo/pull/28429
Signed-off-by: Conrad Kostecki  gentoo.org>

 .../libheif/files/libheif-1.12.0-dav1d-1.0.0.patch | 45 --
 .../libheif/files/libheif-1.12.0-fix-bashism.patch | 37 --
 2 files changed, 82 deletions(-)

diff --git a/media-libs/libheif/files/libheif-1.12.0-dav1d-1.0.0.patch 
b/media-libs/libheif/files/libheif-1.12.0-dav1d-1.0.0.patch
deleted file mode 100644
index d8eb0a54016b..
--- a/media-libs/libheif/files/libheif-1.12.0-dav1d-1.0.0.patch
+++ /dev/null
@@ -1,45 +0,0 @@
-https://bugs.gentoo.org/836205
-https://github.com/strukturag/libheif/commit/0f8496f22d284e1a69df12fe0b72f375aed31315
-
-From 0f8496f22d284e1a69df12fe0b72f375aed31315 Mon Sep 17 00:00:00 2001
-From: Dirk Farin 
-Date: Tue, 5 Apr 2022 12:17:59 +0200
-Subject: [PATCH] fix dav1d decoding: input stream must be flushed with dav1d
- 1.0.0
-

- libheif/heif_decoder_dav1d.cc | 13 -
- 1 file changed, 8 insertions(+), 5 deletions(-)
-
-diff --git a/libheif/heif_decoder_dav1d.cc b/libheif/heif_decoder_dav1d.cc
-index a6c42e4f..ecf7382e 100644
 a/libheif/heif_decoder_dav1d.cc
-+++ b/libheif/heif_decoder_dav1d.cc
-@@ -163,7 +163,10 @@ struct heif_error dav1d_decode_image(void* decoder_raw, 
struct heif_image** out_
-   Dav1dPicture frame;
-   memset(&frame, 0, sizeof(Dav1dPicture));
- 
-+  bool flushed = false;
-+
-   for (;;) {
-+
- int res = dav1d_send_data(decoder->context, &decoder->data);
- if ((res < 0) && (res != DAV1D_ERR(EAGAIN))) {
-   err = {heif_error_Decoder_plugin_error,
-@@ -173,11 +176,11 @@ struct heif_error dav1d_decode_image(void* decoder_raw, 
struct heif_image** out_
- }
- 
- res = dav1d_get_picture(decoder->context, &frame);
--if (res == DAV1D_ERR(EAGAIN)) {
--  err = {heif_error_Decoder_plugin_error,
-- heif_suberror_Unspecified,
-- kEmptyString};
--  return err;
-+if (!flushed && res == DAV1D_ERR(EAGAIN)) {
-+  if (decoder->data.sz == 0) {
-+flushed = true;
-+  }
-+  continue;
- }
- else if (res < 0) {
-   err = {heif_error_Decoder_plugin_error,

diff --git a/media-libs/libheif/files/libheif-1.12.0-fix-bashism.patch 
b/media-libs/libheif/files/libheif-1.12.0-fix-bashism.patch
deleted file mode 100644
index 3d4d12495051..
--- a/media-libs/libheif/files/libheif-1.12.0-fix-bashism.patch
+++ /dev/null
@@ -1,37 +0,0 @@
-https://github.com/strukturag/libheif/pull/660
-
-From a50ef159794ff66fc0a03d5269b1c36a000673ea Mon Sep 17 00:00:00 2001
-From: Sam James 
-Date: Tue, 16 Aug 2022 02:23:13 +0100
-Subject: [PATCH] configure.ac: fix bashism
-
-configure scripts need to be runnable with a POSIX-compliant /bin/sh.
-
-On many (but not all!) systems, /bin/sh is provided by Bash, so errors
-like this aren't spotted. Notably Debian defaults to /bin/sh provided
-by dash which doesn't tolerate such bashisms as '=='.
-
-This retains compatibility with bash.
-
-Fixes errors/warnings like:
-```
-checking for pthread_create in -lpthread... yes
-checking for simple visibility declarations... yes
-/var/tmp/portage/media-libs/libheif-1.12.0-r2/work/libheif-1.12.0/configure: 
18821: test: x: unexpected operator
-checking pkg-config is at least version 0.9.0... yes
-checking for aom... yes
-```
-
-Signed-off-by: Sam James 
 a/configure.ac
-+++ b/configure.ac
-@@ -85,7 +85,7 @@ AS_IF([test "x$enable_tests" = "xyes"], [
- HAVE_VISIBILITY=0
- CFLAG_VISIBILITY=
- ])
--AM_CONDITIONAL([HAVE_TESTS], [test "x$HAVE_TESTS" == "x1"])
-+AM_CONDITIONAL([HAVE_TESTS], [test "x$HAVE_TESTS" = "x1"])
- 
- AM_CONDITIONAL([HAVE_VISIBILITY], [test "x$HAVE_VISIBILITY" != "x0"])
- if eval "test x$enable_visibility = x" ; then enable_visibility=yes ; fi
-



[gentoo-commits] repo/gentoo:master commit in: media-libs/libheif/

2022-11-23 Thread Jakov Smolić
commit: bbd6fb20b5dac1d4b057d4a008fd0c27a6408988
Author: Jakov Smolić  gentoo  org>
AuthorDate: Thu Nov 24 06:56:46 2022 +
Commit: Jakov Smolić  gentoo  org>
CommitDate: Thu Nov 24 06:56:46 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bbd6fb20

media-libs/libheif: drop 1.12.0-r2, 1.12.0-r3

Signed-off-by: Jakov Smolić  gentoo.org>

 media-libs/libheif/Manifest |  1 -
 media-libs/libheif/libheif-1.12.0-r2.ebuild | 78 -
 media-libs/libheif/libheif-1.12.0-r3.ebuild | 89 -
 3 files changed, 168 deletions(-)

diff --git a/media-libs/libheif/Manifest b/media-libs/libheif/Manifest
index 17e4a2f763e6..5338d85a7688 100644
--- a/media-libs/libheif/Manifest
+++ b/media-libs/libheif/Manifest
@@ -1,2 +1 @@
-DIST libheif-1.12.0.tar.gz 1684355 BLAKE2B 
6d84678b39476f2d797d586c6dcaabc9a82351fe3bad536cd90edab16dabf91cbdcdb291195ff45061c7b0ad164748c53f87cbb2dc1e318b2cd458fcba74f644
 SHA512 
9e6f74dd52841a33b6021a1581ab28c56123d927caa7972acd28e90888bbdae983b6d847d20eac7651dacea2193d27eb8df45928cb0774229ef8eea23294
 DIST libheif-1.13.0.tar.gz 1703950 BLAKE2B 
e79af787c514c02f49eb9deb42c9727a4719584d16ebb73b8ab276d9e5452c5463f359a1ace30819466f4dab30db69fec5afa2eefeaadc828e2272e91c7d4cf7
 SHA512 
44cb12ec7191bdf8ef2193c075d5d7a064a7a90c00625e5346624de1ebbedd064601998d042c8336d6c5b2aaef4cd3b439b850d0ab5882daa2e22dcc8722c779

diff --git a/media-libs/libheif/libheif-1.12.0-r2.ebuild 
b/media-libs/libheif/libheif-1.12.0-r2.ebuild
deleted file mode 100644
index 0b5dfbc4051e..
--- a/media-libs/libheif/libheif-1.12.0-r2.ebuild
+++ /dev/null
@@ -1,78 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit autotools xdg multilib-minimal
-
-if [[ ${PV} == * ]] ; 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 )"
-
-BDEPEND="test? ( 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}"
-
-PATCHES=(
-   "${FILESDIR}"/${P}-dav1d-1.0.0.patch
-)
-
-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() {
-   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.12.0-r3.ebuild 
b/media-libs/libheif/libheif-1.12.0-r3.ebuild
deleted file mode 100644
index 758253791aae..
--- a/media-libs/libheif/libheif-1.12.0-r3.ebuild
+++ /dev/null
@@ -1,89 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit autotools xdg multilib-minimal
-
-if [[ ${PV} == * ]] ; 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 )"
-
-BDEPEND="
-   test? (
-   

[gentoo-commits] repo/gentoo:master commit in: media-libs/libheif/

2022-10-20 Thread Jakov Smolić
commit: da650a40c95b7be2f9115832403e93a25ab22be7
Author: Jakov Smolić  gentoo  org>
AuthorDate: Thu Oct 20 10:55:03 2022 +
Commit: Jakov Smolić  gentoo  org>
CommitDate: Thu Oct 20 10:55:03 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=da650a40

media-libs/libheif: Stabilize 1.13.0 x86, #877181

Signed-off-by: Jakov Smolić  gentoo.org>

 media-libs/libheif/libheif-1.13.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/libheif/libheif-1.13.0.ebuild 
b/media-libs/libheif/libheif-1.13.0.ebuild
index 75bfb058394a..4a14aa6c241c 100644
--- a/media-libs/libheif/libheif-1.13.0.ebuild
+++ b/media-libs/libheif/libheif-1.13.0.ebuild
@@ -10,7 +10,7 @@ if [[ ${PV} == * ]] ; then
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"
+   KEYWORDS="amd64 arm arm64 ~loong ppc64 ~riscv x86"
 fi
 
 DESCRIPTION="ISO/IEC 23008-12:2017 HEIF file format decoder and encoder"



[gentoo-commits] repo/gentoo:master commit in: media-libs/libheif/

2022-10-20 Thread Jakov Smolić
commit: 4d5cd0be5649dea51c5945aa0d03276654145111
Author: Jakov Smolić  gentoo  org>
AuthorDate: Thu Oct 20 10:50:33 2022 +
Commit: Jakov Smolić  gentoo  org>
CommitDate: Thu Oct 20 10:50:33 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4d5cd0be

media-libs/libheif: Stabilize 1.13.0 amd64, #877181

Signed-off-by: Jakov Smolić  gentoo.org>

 media-libs/libheif/libheif-1.13.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/libheif/libheif-1.13.0.ebuild 
b/media-libs/libheif/libheif-1.13.0.ebuild
index 7e2206f7f00d..75bfb058394a 100644
--- a/media-libs/libheif/libheif-1.13.0.ebuild
+++ b/media-libs/libheif/libheif-1.13.0.ebuild
@@ -10,7 +10,7 @@ if [[ ${PV} == * ]] ; then
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"
+   KEYWORDS="amd64 arm arm64 ~loong ppc64 ~riscv ~x86"
 fi
 
 DESCRIPTION="ISO/IEC 23008-12:2017 HEIF file format decoder and encoder"



[gentoo-commits] repo/gentoo:master commit in: media-libs/libheif/

2022-10-16 Thread Agostino Sarubbo
commit: f75addaf835dc464d13b05b55c33515d5f56
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Sun Oct 16 08:55:41 2022 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Sun Oct 16 08:55:41 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f75addaf

media-libs/libheif: Stabilize 1.13.0 ppc64, #877181

Signed-off-by: Agostino Sarubbo  gentoo.org>

 media-libs/libheif/libheif-1.13.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/libheif/libheif-1.13.0.ebuild 
b/media-libs/libheif/libheif-1.13.0.ebuild
index 090c89cae7e4..7e2206f7f00d 100644
--- a/media-libs/libheif/libheif-1.13.0.ebuild
+++ b/media-libs/libheif/libheif-1.13.0.ebuild
@@ -10,7 +10,7 @@ if [[ ${PV} == * ]] ; then
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"
+   KEYWORDS="~amd64 arm arm64 ~loong ppc64 ~riscv ~x86"
 fi
 
 DESCRIPTION="ISO/IEC 23008-12:2017 HEIF file format decoder and encoder"



[gentoo-commits] repo/gentoo:master commit in: media-libs/libheif/

2022-10-16 Thread Agostino Sarubbo
commit: 0a68d0c004d103f2aa345b5fcf15df261ed70ef6
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Sun Oct 16 08:54:59 2022 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Sun Oct 16 08:54:59 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0a68d0c0

media-libs/libheif: Stabilize 1.13.0 arm64, #877181

Signed-off-by: Agostino Sarubbo  gentoo.org>

 media-libs/libheif/libheif-1.13.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/libheif/libheif-1.13.0.ebuild 
b/media-libs/libheif/libheif-1.13.0.ebuild
index f80b8e115aad..090c89cae7e4 100644
--- a/media-libs/libheif/libheif-1.13.0.ebuild
+++ b/media-libs/libheif/libheif-1.13.0.ebuild
@@ -10,7 +10,7 @@ if [[ ${PV} == * ]] ; then
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"
+   KEYWORDS="~amd64 arm arm64 ~loong ~ppc64 ~riscv ~x86"
 fi
 
 DESCRIPTION="ISO/IEC 23008-12:2017 HEIF file format decoder and encoder"



[gentoo-commits] repo/gentoo:master commit in: media-libs/libheif/

2022-10-16 Thread Agostino Sarubbo
commit: 150aa159e53b84a75520b359a5614397e74f0a6a
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Sun Oct 16 08:53:55 2022 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Sun Oct 16 08:53:55 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=150aa159

media-libs/libheif: Stabilize 1.13.0 arm, #877181

Signed-off-by: Agostino Sarubbo  gentoo.org>

 media-libs/libheif/libheif-1.13.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/libheif/libheif-1.13.0.ebuild 
b/media-libs/libheif/libheif-1.13.0.ebuild
index fdb1864f132c..f80b8e115aad 100644
--- a/media-libs/libheif/libheif-1.13.0.ebuild
+++ b/media-libs/libheif/libheif-1.13.0.ebuild
@@ -10,7 +10,7 @@ if [[ ${PV} == * ]] ; then
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"
+   KEYWORDS="~amd64 arm ~arm64 ~loong ~ppc64 ~riscv ~x86"
 fi
 
 DESCRIPTION="ISO/IEC 23008-12:2017 HEIF file format decoder and encoder"



[gentoo-commits] repo/gentoo:master commit in: media-libs/libheif/

2022-09-21 Thread Agostino Sarubbo
commit: 0bd5f3895905186c734ecc677b2b593d67bd4083
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Wed Sep 21 12:25:50 2022 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Wed Sep 21 12:25:50 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0bd5f389

media-libs/libheif: Stabilize 1.12.0-r3 ppc64, #870877

Signed-off-by: Agostino Sarubbo  gentoo.org>

 media-libs/libheif/libheif-1.12.0-r3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/libheif/libheif-1.12.0-r3.ebuild 
b/media-libs/libheif/libheif-1.12.0-r3.ebuild
index cd4da187ad17..758253791aae 100644
--- a/media-libs/libheif/libheif-1.12.0-r3.ebuild
+++ b/media-libs/libheif/libheif-1.12.0-r3.ebuild
@@ -10,7 +10,7 @@ if [[ ${PV} == * ]] ; then
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"
+   KEYWORDS="amd64 arm arm64 ~loong ppc64 ~riscv x86"
 fi
 
 DESCRIPTION="ISO/IEC 23008-12:2017 HEIF file format decoder and encoder"



[gentoo-commits] repo/gentoo:master commit in: media-libs/libheif/

2022-09-18 Thread Agostino Sarubbo
commit: e28098a122682f41619fe19ee31f3fa33d4a5c6d
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Sun Sep 18 08:05:19 2022 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Sun Sep 18 08:05:19 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e28098a1

media-libs/libheif: Stabilize 1.12.0-r3 arm64, #870877

Signed-off-by: Agostino Sarubbo  gentoo.org>

 media-libs/libheif/libheif-1.12.0-r3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/libheif/libheif-1.12.0-r3.ebuild 
b/media-libs/libheif/libheif-1.12.0-r3.ebuild
index b14952afde40..cd4da187ad17 100644
--- a/media-libs/libheif/libheif-1.12.0-r3.ebuild
+++ b/media-libs/libheif/libheif-1.12.0-r3.ebuild
@@ -10,7 +10,7 @@ if [[ ${PV} == * ]] ; then
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"
+   KEYWORDS="amd64 arm arm64 ~loong ~ppc64 ~riscv x86"
 fi
 
 DESCRIPTION="ISO/IEC 23008-12:2017 HEIF file format decoder and encoder"



[gentoo-commits] repo/gentoo:master commit in: media-libs/libheif/

2022-09-18 Thread Agostino Sarubbo
commit: 45ea102bc35cb4ba118085f37d9a9cc1fed136cb
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Sun Sep 18 08:04:52 2022 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Sun Sep 18 08:04:52 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=45ea102b

media-libs/libheif: Stabilize 1.12.0-r3 arm, #870877

Signed-off-by: Agostino Sarubbo  gentoo.org>

 media-libs/libheif/libheif-1.12.0-r3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/libheif/libheif-1.12.0-r3.ebuild 
b/media-libs/libheif/libheif-1.12.0-r3.ebuild
index 479daa410bcb..b14952afde40 100644
--- a/media-libs/libheif/libheif-1.12.0-r3.ebuild
+++ b/media-libs/libheif/libheif-1.12.0-r3.ebuild
@@ -10,7 +10,7 @@ if [[ ${PV} == * ]] ; then
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"
+   KEYWORDS="amd64 arm ~arm64 ~loong ~ppc64 ~riscv x86"
 fi
 
 DESCRIPTION="ISO/IEC 23008-12:2017 HEIF file format decoder and encoder"



[gentoo-commits] repo/gentoo:master commit in: media-libs/libheif/

2022-09-17 Thread Sam James
commit: 1d3dd6a5cd95b8fc43bd14978d95aba7c7a65439
Author: Sam James  gentoo  org>
AuthorDate: Sun Sep 18 00:19:19 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Sep 18 00:19:19 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1d3dd6a5

media-libs/libheif: Stabilize 1.12.0-r3 amd64, #870877

Signed-off-by: Sam James  gentoo.org>

 media-libs/libheif/libheif-1.12.0-r3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/libheif/libheif-1.12.0-r3.ebuild 
b/media-libs/libheif/libheif-1.12.0-r3.ebuild
index e821637585e2..479daa410bcb 100644
--- a/media-libs/libheif/libheif-1.12.0-r3.ebuild
+++ b/media-libs/libheif/libheif-1.12.0-r3.ebuild
@@ -10,7 +10,7 @@ if [[ ${PV} == * ]] ; then
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"
+   KEYWORDS="amd64 ~arm ~arm64 ~loong ~ppc64 ~riscv x86"
 fi
 
 DESCRIPTION="ISO/IEC 23008-12:2017 HEIF file format decoder and encoder"



[gentoo-commits] repo/gentoo:master commit in: media-libs/libheif/

2022-09-17 Thread Sam James
commit: 7c21c5f37504959292b0c784a84cc692a04c39f6
Author: Sam James  gentoo  org>
AuthorDate: Sun Sep 18 00:18:57 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Sep 18 00:18:57 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7c21c5f3

media-libs/libheif: Stabilize 1.12.0-r3 x86, #870877

Signed-off-by: Sam James  gentoo.org>

 media-libs/libheif/libheif-1.12.0-r3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/libheif/libheif-1.12.0-r3.ebuild 
b/media-libs/libheif/libheif-1.12.0-r3.ebuild
index f6505de170a5..e821637585e2 100644
--- a/media-libs/libheif/libheif-1.12.0-r3.ebuild
+++ b/media-libs/libheif/libheif-1.12.0-r3.ebuild
@@ -10,7 +10,7 @@ if [[ ${PV} == * ]] ; then
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"
+   KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc64 ~riscv x86"
 fi
 
 DESCRIPTION="ISO/IEC 23008-12:2017 HEIF file format decoder and encoder"



[gentoo-commits] repo/gentoo:master commit in: media-libs/libheif/

2022-09-13 Thread Jakov Smolić
commit: dc5d25f05a1b90301a78439fa26f61270eaf000b
Author: Sergey Torokhov  yandex  ru>
AuthorDate: Mon Sep  5 14:34:55 2022 +
Commit: Jakov Smolić  gentoo  org>
CommitDate: Tue Sep 13 10:55:31 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dc5d25f0

media-libs/libheif: 1.13.0 version bump

Signed-off-by: Sergey Torokhov  yandex.ru>
Signed-off-by: Jakov Smolić  gentoo.org>

 media-libs/libheif/Manifest   | 1 +
 media-libs/libheif/{libheif-.ebuild => libheif-1.13.0.ebuild} | 6 ++
 media-libs/libheif/libheif-.ebuild| 4 
 3 files changed, 3 insertions(+), 8 deletions(-)

diff --git a/media-libs/libheif/Manifest b/media-libs/libheif/Manifest
index ab103a964380..17e4a2f763e6 100644
--- a/media-libs/libheif/Manifest
+++ b/media-libs/libheif/Manifest
@@ -1 +1,2 @@
 DIST libheif-1.12.0.tar.gz 1684355 BLAKE2B 
6d84678b39476f2d797d586c6dcaabc9a82351fe3bad536cd90edab16dabf91cbdcdb291195ff45061c7b0ad164748c53f87cbb2dc1e318b2cd458fcba74f644
 SHA512 
9e6f74dd52841a33b6021a1581ab28c56123d927caa7972acd28e90888bbdae983b6d847d20eac7651dacea2193d27eb8df45928cb0774229ef8eea23294
+DIST libheif-1.13.0.tar.gz 1703950 BLAKE2B 
e79af787c514c02f49eb9deb42c9727a4719584d16ebb73b8ab276d9e5452c5463f359a1ace30819466f4dab30db69fec5afa2eefeaadc828e2272e91c7d4cf7
 SHA512 
44cb12ec7191bdf8ef2193c075d5d7a064a7a90c00625e5346624de1ebbedd064601998d042c8336d6c5b2aaef4cd3b439b850d0ab5882daa2e22dcc8722c779

diff --git a/media-libs/libheif/libheif-.ebuild 
b/media-libs/libheif/libheif-1.13.0.ebuild
similarity index 97%
copy from media-libs/libheif/libheif-.ebuild
copy to media-libs/libheif/libheif-1.13.0.ebuild
index 457096c4b4e2..fdb1864f132c 100644
--- a/media-libs/libheif/libheif-.ebuild
+++ b/media-libs/libheif/libheif-1.13.0.ebuild
@@ -22,6 +22,7 @@ IUSE="+aom gdk-pixbuf go rav1e test +threads x265"
 REQUIRED_USE="test? ( go )"
 RESTRICT="!test? ( test )"
 
+# Bug 865351: tests requires 

[gentoo-commits] repo/gentoo:master commit in: media-libs/libheif/

2022-08-15 Thread Sam James
commit: 477b7bfe0e87aa72022fc686fe8697d9923638ad
Author: Sam James  gentoo  org>
AuthorDate: Tue Aug 16 01:39:10 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Aug 16 01:39:10 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=477b7bfe

media-libs/libheif: unbundle catch

Not going to the hassle of fixing w/ 3 yet though.

Signed-off-by: Sam James  gentoo.org>

 media-libs/libheif/libheif-1.12.0-r3.ebuild | 12 +++-
 media-libs/libheif/libheif-.ebuild  | 12 +++-
 2 files changed, 22 insertions(+), 2 deletions(-)

diff --git a/media-libs/libheif/libheif-1.12.0-r3.ebuild 
b/media-libs/libheif/libheif-1.12.0-r3.ebuild
index 08b2005689dd..f6505de170a5 100644
--- a/media-libs/libheif/libheif-1.12.0-r3.ebuild
+++ b/media-libs/libheif/libheif-1.12.0-r3.ebuild
@@ -22,7 +22,12 @@ IUSE="+aom gdk-pixbuf go rav1e test +threads x265"
 REQUIRED_USE="test? ( go )"
 RESTRICT="!test? ( test )"
 
-BDEPEND="test? ( dev-lang/go )"
+BDEPEND="
+   test? (
+   

[gentoo-commits] repo/gentoo:master commit in: media-libs/libheif/

2022-08-15 Thread Sam James
commit: 2006f30326b82fdd5625f353fa8cca686f40f940
Author: Sam James  gentoo  org>
AuthorDate: Tue Aug 16 01:21:28 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Aug 16 01:22:25 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2006f303

media-libs/libheif: conditionally build tests

Bug: https://bugs.gentoo.org/717242
Bug: https://bugs.gentoo.org/790593
Signed-off-by: Sam James  gentoo.org>

 media-libs/libheif/libheif-1.12.0-r2.ebuild | 1 +
 media-libs/libheif/libheif-.ebuild  | 1 +
 2 files changed, 2 insertions(+)

diff --git a/media-libs/libheif/libheif-1.12.0-r2.ebuild 
b/media-libs/libheif/libheif-1.12.0-r2.ebuild
index 51c8e35500ad..0b5dfbc4051e 100644
--- a/media-libs/libheif/libheif-1.12.0-r2.ebuild
+++ b/media-libs/libheif/libheif-1.12.0-r2.ebuild
@@ -61,6 +61,7 @@ multilib_src_configure() {
$(use_enable gdk-pixbuf)
$(use_enable rav1e)
$(use_enable threads multithreading)
+   $(use_enable test tests)
$(use_enable x265)
)
ECONF_SOURCE="${S}" econf "${econf_args[@]}"

diff --git a/media-libs/libheif/libheif-.ebuild 
b/media-libs/libheif/libheif-.ebuild
index b2726cb668a0..a193a851d4da 100644
--- a/media-libs/libheif/libheif-.ebuild
+++ b/media-libs/libheif/libheif-.ebuild
@@ -57,6 +57,7 @@ multilib_src_configure() {
$(use_enable gdk-pixbuf)
$(use_enable rav1e)
$(use_enable threads multithreading)
+   $(use_enable test tests)
$(use_enable x265)
)
ECONF_SOURCE="${S}" econf "${econf_args[@]}"



[gentoo-commits] repo/gentoo:master commit in: media-libs/libheif/, media-libs/libheif/files/

2022-08-15 Thread Sam James
commit: ff3eca2e2ab83585c60588c2a6270eab833b8a4f
Author: Sam James  gentoo  org>
AuthorDate: Tue Aug 16 01:25:42 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Aug 16 01:26:13 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ff3eca2e

media-libs/libheif: fix bashism in configure

Revbump for the fix given it affects some odd visibility logic, so
we'll be careful.

Signed-off-by: Sam James  gentoo.org>

 .../libheif/files/libheif-1.12.0-fix-bashism.patch | 37 ++
 ...ibheif-.ebuild => libheif-1.12.0-r3.ebuild} |  5 +++
 media-libs/libheif/libheif-.ebuild |  4 +++
 3 files changed, 46 insertions(+)

diff --git a/media-libs/libheif/files/libheif-1.12.0-fix-bashism.patch 
b/media-libs/libheif/files/libheif-1.12.0-fix-bashism.patch
new file mode 100644
index ..3d4d12495051
--- /dev/null
+++ b/media-libs/libheif/files/libheif-1.12.0-fix-bashism.patch
@@ -0,0 +1,37 @@
+https://github.com/strukturag/libheif/pull/660
+
+From a50ef159794ff66fc0a03d5269b1c36a000673ea Mon Sep 17 00:00:00 2001
+From: Sam James 
+Date: Tue, 16 Aug 2022 02:23:13 +0100
+Subject: [PATCH] configure.ac: fix bashism
+
+configure scripts need to be runnable with a POSIX-compliant /bin/sh.
+
+On many (but not all!) systems, /bin/sh is provided by Bash, so errors
+like this aren't spotted. Notably Debian defaults to /bin/sh provided
+by dash which doesn't tolerate such bashisms as '=='.
+
+This retains compatibility with bash.
+
+Fixes errors/warnings like:
+```
+checking for pthread_create in -lpthread... yes
+checking for simple visibility declarations... yes
+/var/tmp/portage/media-libs/libheif-1.12.0-r2/work/libheif-1.12.0/configure: 
18821: test: x: unexpected operator
+checking pkg-config is at least version 0.9.0... yes
+checking for aom... yes
+```
+
+Signed-off-by: Sam James 
+--- a/configure.ac
 b/configure.ac
+@@ -85,7 +85,7 @@ AS_IF([test "x$enable_tests" = "xyes"], [
+ HAVE_VISIBILITY=0
+ CFLAG_VISIBILITY=
+ ])
+-AM_CONDITIONAL([HAVE_TESTS], [test "x$HAVE_TESTS" == "x1"])
++AM_CONDITIONAL([HAVE_TESTS], [test "x$HAVE_TESTS" = "x1"])
+ 
+ AM_CONDITIONAL([HAVE_VISIBILITY], [test "x$HAVE_VISIBILITY" != "x0"])
+ if eval "test x$enable_visibility = x" ; then enable_visibility=yes ; fi
+

diff --git a/media-libs/libheif/libheif-.ebuild 
b/media-libs/libheif/libheif-1.12.0-r3.ebuild
similarity index 95%
copy from media-libs/libheif/libheif-.ebuild
copy to media-libs/libheif/libheif-1.12.0-r3.ebuild
index a193a851d4da..08b2005689dd 100644
--- a/media-libs/libheif/libheif-.ebuild
+++ b/media-libs/libheif/libheif-1.12.0-r3.ebuild
@@ -36,6 +36,11 @@ DEPEND="
x265? ( media-libs/x265:=[${MULTILIB_USEDEP}] )"
 RDEPEND="${DEPEND}"
 
+PATCHES=(
+   "${FILESDIR}"/${P}-dav1d-1.0.0.patch
+   "${FILESDIR}"/${PN}-1.12.0-fix-bashism.patch
+)
+
 src_prepare() {
default
 

diff --git a/media-libs/libheif/libheif-.ebuild 
b/media-libs/libheif/libheif-.ebuild
index a193a851d4da..e7ee0500a762 100644
--- a/media-libs/libheif/libheif-.ebuild
+++ b/media-libs/libheif/libheif-.ebuild
@@ -36,6 +36,10 @@ DEPEND="
x265? ( media-libs/x265:=[${MULTILIB_USEDEP}] )"
 RDEPEND="${DEPEND}"
 
+PATCHES=(
+   "${FILESDIR}"/${PN}-1.12.0-fix-bashism.patch
+)
+
 src_prepare() {
default
 



[gentoo-commits] repo/gentoo:master commit in: media-libs/libheif/

2022-08-15 Thread Sam James
commit: 91f0d95b4ee82c39bfd83b7c14b82a7733713866
Author: Sam James  gentoo  org>
AuthorDate: Tue Aug 16 01:10:24 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Aug 16 01:10:24 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=91f0d95b

media-libs/libheif: Stabilize 1.12.0-r2 ppc64, #861530

Signed-off-by: Sam James  gentoo.org>

 media-libs/libheif/libheif-1.12.0-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/libheif/libheif-1.12.0-r2.ebuild 
b/media-libs/libheif/libheif-1.12.0-r2.ebuild
index 838954d254f7..51c8e35500ad 100644
--- a/media-libs/libheif/libheif-1.12.0-r2.ebuild
+++ b/media-libs/libheif/libheif-1.12.0-r2.ebuild
@@ -10,7 +10,7 @@ if [[ ${PV} == * ]] ; then
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"
+   KEYWORDS="amd64 arm arm64 ~loong ppc64 ~riscv x86"
 fi
 
 DESCRIPTION="ISO/IEC 23008-12:2017 HEIF file format decoder and encoder"



[gentoo-commits] repo/gentoo:master commit in: media-libs/libheif/

2022-08-15 Thread Sam James
commit: a0b7cc47b037e629bde7217734b96afdca546974
Author: Sam James  gentoo  org>
AuthorDate: Tue Aug 16 01:08:38 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Aug 16 01:08:38 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a0b7cc47

media-libs/libheif: Stabilize 1.12.0-r2 arm64, #861530

Signed-off-by: Sam James  gentoo.org>

 media-libs/libheif/libheif-1.12.0-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/libheif/libheif-1.12.0-r2.ebuild 
b/media-libs/libheif/libheif-1.12.0-r2.ebuild
index f918b2acd407..838954d254f7 100644
--- a/media-libs/libheif/libheif-1.12.0-r2.ebuild
+++ b/media-libs/libheif/libheif-1.12.0-r2.ebuild
@@ -10,7 +10,7 @@ if [[ ${PV} == * ]] ; then
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"
+   KEYWORDS="amd64 arm arm64 ~loong ~ppc64 ~riscv x86"
 fi
 
 DESCRIPTION="ISO/IEC 23008-12:2017 HEIF file format decoder and encoder"



[gentoo-commits] repo/gentoo:master commit in: media-libs/libheif/

2022-08-15 Thread Sam James
commit: 4fba009b747229c22ee099837b45b7b92f375d8a
Author: Sam James  gentoo  org>
AuthorDate: Tue Aug 16 00:39:45 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Aug 16 00:39:45 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4fba009b

media-libs/libheif: Stabilize 1.12.0-r2 arm, #861530

Signed-off-by: Sam James  gentoo.org>

 media-libs/libheif/libheif-1.12.0-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/libheif/libheif-1.12.0-r2.ebuild 
b/media-libs/libheif/libheif-1.12.0-r2.ebuild
index e2759984de2b..f918b2acd407 100644
--- a/media-libs/libheif/libheif-1.12.0-r2.ebuild
+++ b/media-libs/libheif/libheif-1.12.0-r2.ebuild
@@ -10,7 +10,7 @@ if [[ ${PV} == * ]] ; then
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"
+   KEYWORDS="amd64 arm ~arm64 ~loong ~ppc64 ~riscv x86"
 fi
 
 DESCRIPTION="ISO/IEC 23008-12:2017 HEIF file format decoder and encoder"



[gentoo-commits] repo/gentoo:master commit in: media-libs/libheif/

2022-08-11 Thread WANG Xuerui
commit: 59eee1394d2af0b830ab6eca1e69cd32362c11ec
Author: WANG Xuerui  gentoo  org>
AuthorDate: Wed Aug 10 06:24:22 2022 +
Commit: WANG Xuerui  gentoo  org>
CommitDate: Thu Aug 11 15:26:21 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=59eee139

media-libs/libheif: keyword 1.12.0-r2 for ~loong

Signed-off-by: WANG Xuerui  gentoo.org>

 media-libs/libheif/libheif-1.12.0-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/libheif/libheif-1.12.0-r2.ebuild 
b/media-libs/libheif/libheif-1.12.0-r2.ebuild
index c89a232647bc..e2759984de2b 100644
--- a/media-libs/libheif/libheif-1.12.0-r2.ebuild
+++ b/media-libs/libheif/libheif-1.12.0-r2.ebuild
@@ -10,7 +10,7 @@ if [[ ${PV} == * ]] ; then
inherit git-r3
 else

SRC_URI="https://github.com/strukturag/libheif/releases/download/v${PV}/${P}.tar.gz";
-   KEYWORDS="amd64 ~arm ~arm64 ~ppc64 ~riscv x86"
+   KEYWORDS="amd64 ~arm ~arm64 ~loong ~ppc64 ~riscv x86"
 fi
 
 DESCRIPTION="ISO/IEC 23008-12:2017 HEIF file format decoder and encoder"



[gentoo-commits] repo/gentoo:master commit in: media-libs/libheif/

2022-08-11 Thread WANG Xuerui
commit: 392356e425a1612daff46699219b9b1446dd0f05
Author: WANG Xuerui  gentoo  org>
AuthorDate: Wed Aug 10 06:24:24 2022 +
Commit: WANG Xuerui  gentoo  org>
CommitDate: Thu Aug 11 15:26:22 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=392356e4

media-libs/libheif: forward ~loong

Signed-off-by: WANG Xuerui  gentoo.org>

 media-libs/libheif/libheif-.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/libheif/libheif-.ebuild 
b/media-libs/libheif/libheif-.ebuild
index b319e000d0c7..b2726cb668a0 100644
--- a/media-libs/libheif/libheif-.ebuild
+++ b/media-libs/libheif/libheif-.ebuild
@@ -10,7 +10,7 @@ if [[ ${PV} == * ]] ; then
inherit git-r3
 else

SRC_URI="https://github.com/strukturag/libheif/releases/download/v${PV}/${P}.tar.gz";
-   KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86"
+   KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc64 ~riscv ~x86"
 fi
 
 DESCRIPTION="ISO/IEC 23008-12:2017 HEIF file format decoder and encoder"



[gentoo-commits] repo/gentoo:master commit in: media-libs/libheif/

2022-08-01 Thread Joonas Niilola
commit: ce204763e7d74e76548e6369f2c3d07b81c54900
Author: Joonas Niilola  gentoo  org>
AuthorDate: Mon Aug  1 17:40:33 2022 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Mon Aug  1 17:41:07 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ce204763

media-libs/libheif: Stabilize 1.12.0-r2 x86, #861530

Signed-off-by: Joonas Niilola  gentoo.org>

 media-libs/libheif/libheif-1.12.0-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/libheif/libheif-1.12.0-r2.ebuild 
b/media-libs/libheif/libheif-1.12.0-r2.ebuild
index 6e3da4586b61..c89a232647bc 100644
--- a/media-libs/libheif/libheif-1.12.0-r2.ebuild
+++ b/media-libs/libheif/libheif-1.12.0-r2.ebuild
@@ -10,7 +10,7 @@ if [[ ${PV} == * ]] ; then
inherit git-r3
 else

SRC_URI="https://github.com/strukturag/libheif/releases/download/v${PV}/${P}.tar.gz";
-   KEYWORDS="amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86"
+   KEYWORDS="amd64 ~arm ~arm64 ~ppc64 ~riscv x86"
 fi
 
 DESCRIPTION="ISO/IEC 23008-12:2017 HEIF file format decoder and encoder"



[gentoo-commits] repo/gentoo:master commit in: media-libs/libheif/

2022-08-01 Thread Joonas Niilola
commit: 5a512b86d8873174a84822b1864a7b7e96295747
Author: Joonas Niilola  gentoo  org>
AuthorDate: Mon Aug  1 17:39:58 2022 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Mon Aug  1 17:41:07 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5a512b86

media-libs/libheif: Stabilize 1.12.0-r2 amd64, #861530

Signed-off-by: Joonas Niilola  gentoo.org>

 media-libs/libheif/libheif-1.12.0-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/libheif/libheif-1.12.0-r2.ebuild 
b/media-libs/libheif/libheif-1.12.0-r2.ebuild
index 663b509679e8..6e3da4586b61 100644
--- a/media-libs/libheif/libheif-1.12.0-r2.ebuild
+++ b/media-libs/libheif/libheif-1.12.0-r2.ebuild
@@ -10,7 +10,7 @@ if [[ ${PV} == * ]] ; then
inherit git-r3
 else

SRC_URI="https://github.com/strukturag/libheif/releases/download/v${PV}/${P}.tar.gz";
-   KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86"
+   KEYWORDS="amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86"
 fi
 
 DESCRIPTION="ISO/IEC 23008-12:2017 HEIF file format decoder and encoder"



[gentoo-commits] repo/gentoo:master commit in: media-libs/libheif/

2022-07-28 Thread Jakov Smolić
commit: 79c9d429e360e6f899a95310f29580fb52ad5586
Author: Jakov Smolić  gentoo  org>
AuthorDate: Thu Jul 28 10:26:53 2022 +
Commit: Jakov Smolić  gentoo  org>
CommitDate: Thu Jul 28 10:27:40 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=79c9d429

media-libs/libheif: Replace virtual/jpeg dependency with libjpeg-turbo

Signed-off-by: Jakov Smolić  gentoo.org>

 media-libs/libheif/libheif-1.12.0-r2.ebuild | 2 +-
 media-libs/libheif/libheif-.ebuild  | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/media-libs/libheif/libheif-1.12.0-r2.ebuild 
b/media-libs/libheif/libheif-1.12.0-r2.ebuild
index c68f58a4d96e..663b509679e8 100644
--- a/media-libs/libheif/libheif-1.12.0-r2.ebuild
+++ b/media-libs/libheif/libheif-1.12.0-r2.ebuild
@@ -28,7 +28,7 @@ DEPEND="
media-libs/libde265:=[${MULTILIB_USEDEP}]
media-libs/libpng:0=[${MULTILIB_USEDEP}]
sys-libs/zlib:=[${MULTILIB_USEDEP}]
-   virtual/jpeg:0=[${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 )

diff --git a/media-libs/libheif/libheif-.ebuild 
b/media-libs/libheif/libheif-.ebuild
index cdabfe1be696..b319e000d0c7 100644
--- a/media-libs/libheif/libheif-.ebuild
+++ b/media-libs/libheif/libheif-.ebuild
@@ -28,7 +28,7 @@ DEPEND="
media-libs/libde265:=[${MULTILIB_USEDEP}]
media-libs/libpng:0=[${MULTILIB_USEDEP}]
sys-libs/zlib:=[${MULTILIB_USEDEP}]
-   virtual/jpeg:0=[${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 )



[gentoo-commits] repo/gentoo:master commit in: media-libs/libheif/

2022-07-28 Thread Jakov Smolić
commit: a942743e29b396813c4448028d1ef06a04d8fee9
Author: Jakov Smolić  gentoo  org>
AuthorDate: Thu Jul 28 09:14:31 2022 +
Commit: Jakov Smolić  gentoo  org>
CommitDate: Thu Jul 28 09:15:48 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a942743e

media-libs/libheif: update EAPI 7 -> 8

Signed-off-by: Jakov Smolić  gentoo.org>

 media-libs/libheif/libheif-1.12.0-r2.ebuild | 2 +-
 media-libs/libheif/libheif-.ebuild  | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/media-libs/libheif/libheif-1.12.0-r2.ebuild 
b/media-libs/libheif/libheif-1.12.0-r2.ebuild
index b2c32a86b402..c68f58a4d96e 100644
--- a/media-libs/libheif/libheif-1.12.0-r2.ebuild
+++ b/media-libs/libheif/libheif-1.12.0-r2.ebuild
@@ -1,7 +1,7 @@
 # Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=7
+EAPI=8
 
 inherit autotools xdg multilib-minimal
 

diff --git a/media-libs/libheif/libheif-.ebuild 
b/media-libs/libheif/libheif-.ebuild
index a1837ad0964d..cdabfe1be696 100644
--- a/media-libs/libheif/libheif-.ebuild
+++ b/media-libs/libheif/libheif-.ebuild
@@ -1,7 +1,7 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=7
+EAPI=8
 
 inherit autotools xdg multilib-minimal
 



[gentoo-commits] repo/gentoo:master commit in: media-libs/libheif/, media-libs/libheif/files/

2022-07-28 Thread Jakov Smolić
commit: 289889477eb75bb7432c9ef0f414edc6fdbfc625
Author: Jakov Smolić  gentoo  org>
AuthorDate: Thu Jul 28 09:09:46 2022 +
Commit: Jakov Smolić  gentoo  org>
CommitDate: Thu Jul 28 09:15:47 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=28988947

media-libs/libheif: Fix breakage with dav1d-1.0.0

Closes: https://bugs.gentoo.org/836205
Signed-off-by: Jakov Smolić  gentoo.org>

 .../libheif/files/libheif-1.12.0-dav1d-1.0.0.patch | 45 +
 media-libs/libheif/libheif-1.12.0-r2.ebuild| 77 ++
 2 files changed, 122 insertions(+)

diff --git a/media-libs/libheif/files/libheif-1.12.0-dav1d-1.0.0.patch 
b/media-libs/libheif/files/libheif-1.12.0-dav1d-1.0.0.patch
new file mode 100644
index ..d8eb0a54016b
--- /dev/null
+++ b/media-libs/libheif/files/libheif-1.12.0-dav1d-1.0.0.patch
@@ -0,0 +1,45 @@
+https://bugs.gentoo.org/836205
+https://github.com/strukturag/libheif/commit/0f8496f22d284e1a69df12fe0b72f375aed31315
+
+From 0f8496f22d284e1a69df12fe0b72f375aed31315 Mon Sep 17 00:00:00 2001
+From: Dirk Farin 
+Date: Tue, 5 Apr 2022 12:17:59 +0200
+Subject: [PATCH] fix dav1d decoding: input stream must be flushed with dav1d
+ 1.0.0
+
+---
+ libheif/heif_decoder_dav1d.cc | 13 -
+ 1 file changed, 8 insertions(+), 5 deletions(-)
+
+diff --git a/libheif/heif_decoder_dav1d.cc b/libheif/heif_decoder_dav1d.cc
+index a6c42e4f..ecf7382e 100644
+--- a/libheif/heif_decoder_dav1d.cc
 b/libheif/heif_decoder_dav1d.cc
+@@ -163,7 +163,10 @@ struct heif_error dav1d_decode_image(void* decoder_raw, 
struct heif_image** out_
+   Dav1dPicture frame;
+   memset(&frame, 0, sizeof(Dav1dPicture));
+ 
++  bool flushed = false;
++
+   for (;;) {
++
+ int res = dav1d_send_data(decoder->context, &decoder->data);
+ if ((res < 0) && (res != DAV1D_ERR(EAGAIN))) {
+   err = {heif_error_Decoder_plugin_error,
+@@ -173,11 +176,11 @@ struct heif_error dav1d_decode_image(void* decoder_raw, 
struct heif_image** out_
+ }
+ 
+ res = dav1d_get_picture(decoder->context, &frame);
+-if (res == DAV1D_ERR(EAGAIN)) {
+-  err = {heif_error_Decoder_plugin_error,
+- heif_suberror_Unspecified,
+- kEmptyString};
+-  return err;
++if (!flushed && res == DAV1D_ERR(EAGAIN)) {
++  if (decoder->data.sz == 0) {
++flushed = true;
++  }
++  continue;
+ }
+ else if (res < 0) {
+   err = {heif_error_Decoder_plugin_error,

diff --git a/media-libs/libheif/libheif-1.12.0-r2.ebuild 
b/media-libs/libheif/libheif-1.12.0-r2.ebuild
new file mode 100644
index ..b2c32a86b402
--- /dev/null
+++ b/media-libs/libheif/libheif-1.12.0-r2.ebuild
@@ -0,0 +1,77 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit autotools xdg multilib-minimal
+
+if [[ ${PV} == * ]] ; 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 ~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 )"
+
+BDEPEND="test? ( 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}]
+   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 )
+   rav1e? ( media-video/rav1e:= )
+   x265? ( media-libs/x265:=[${MULTILIB_USEDEP}] )"
+RDEPEND="${DEPEND}"
+
+PATCHES=(
+   "${FILESDIR}"/${P}-dav1d-1.0.0.patch
+)
+
+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() {
+   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 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
+}



[gentoo-commits] repo/gentoo:master commit in: media-libs/libheif/

2021-09-19 Thread Jakov Smolić
commit: 947ba1da0999c9c613d32c92cbeb59579aa466d6
Author: Jakov Smolić  gentoo  org>
AuthorDate: Sun Sep 19 08:01:31 2021 +
Commit: Jakov Smolić  gentoo  org>
CommitDate: Sun Sep 19 08:02:55 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=947ba1da

media-libs/libheif: Enable libde265 unconditionally

- Since libheif can't decode HEIF file without it it's not a good idea
  to disable libde265 support, so let's just enable it unconditionally

Closes: https://bugs.gentoo.org/813669
Signed-off-by: Jakov Smolić  gentoo.org>

 .../{libheif-1.12.0.ebuild => libheif-1.12.0-r1.ebuild}|  8 
 media-libs/libheif/libheif-.ebuild | 10 +-
 media-libs/libheif/metadata.xml|  1 -
 3 files changed, 9 insertions(+), 10 deletions(-)

diff --git a/media-libs/libheif/libheif-1.12.0.ebuild 
b/media-libs/libheif/libheif-1.12.0-r1.ebuild
similarity index 90%
rename from media-libs/libheif/libheif-1.12.0.ebuild
rename to media-libs/libheif/libheif-1.12.0-r1.ebuild
index 6dc4980f1f2..f90f0e7b6cc 100644
--- a/media-libs/libheif/libheif-1.12.0.ebuild
+++ b/media-libs/libheif/libheif-1.12.0-r1.ebuild
@@ -18,20 +18,20 @@ HOMEPAGE="https://github.com/strukturag/libheif";
 
 LICENSE="GPL-3"
 SLOT="0/1.12"
-IUSE="+aom gdk-pixbuf go libde265 rav1e test +threads x265"
-REQUIRED_USE="test? ( go libde265 )"
+IUSE="+aom gdk-pixbuf go rav1e test +threads x265"
+REQUIRED_USE="test? ( go )"
 RESTRICT="!test? ( test )"
 
 BDEPEND="test? ( 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}]
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}"
@@ -50,10 +50,10 @@ src_prepare() {
 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 libde265)
$(use_enable gdk-pixbuf)
$(use_enable rav1e)
$(use_enable threads multithreading)

diff --git a/media-libs/libheif/libheif-.ebuild 
b/media-libs/libheif/libheif-.ebuild
index 05d7c5f68ed..a1837ad0964 100644
--- a/media-libs/libheif/libheif-.ebuild
+++ b/media-libs/libheif/libheif-.ebuild
@@ -10,7 +10,7 @@ if [[ ${PV} == * ]] ; then
inherit git-r3
 else

SRC_URI="https://github.com/strukturag/libheif/releases/download/v${PV}/${P}.tar.gz";
-   KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86"
+   KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86"
 fi
 
 DESCRIPTION="ISO/IEC 23008-12:2017 HEIF file format decoder and encoder"
@@ -18,20 +18,20 @@ HOMEPAGE="https://github.com/strukturag/libheif";
 
 LICENSE="GPL-3"
 SLOT="0/1.12"
-IUSE="+aom gdk-pixbuf go libde265 rav1e test +threads x265"
-REQUIRED_USE="test? ( go libde265 )"
+IUSE="+aom gdk-pixbuf go rav1e test +threads x265"
+REQUIRED_USE="test? ( go )"
 RESTRICT="!test? ( test )"
 
 BDEPEND="test? ( 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}]
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}"
@@ -50,10 +50,10 @@ src_prepare() {
 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 libde265)
$(use_enable gdk-pixbuf)
$(use_enable rav1e)
$(use_enable threads multithreading)

diff --git a/media-libs/libheif/metadata.xml b/media-libs/libheif/metadata.xml
index c8f0f34e809..2d2f28772dd 100644
--- a/media-libs/libheif/metadata.xml
+++ b/media-libs/libheif/metadata.xml
@@ -9,7 +9,6 @@
Use media-libs/libaom for AVIF 
encoding/decoding
Enable x11-libs/gdk-pixbuf 
plugin
Enable building dev-lang/go 
code/examples
-   Use media-libs/libde265 for HEIF 
decoding

[gentoo-commits] repo/gentoo:master commit in: media-libs/libheif/

2021-09-06 Thread Sam James
commit: 91c7fa2bf9c374cfc1df881430c67c56bc80f3c0
Author: Sam James  gentoo  org>
AuthorDate: Tue Sep  7 03:05:25 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Sep  7 03:05:25 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=91c7fa2b

media-libs/libheif: Stabilize 1.12.0 ppc64, #783555

Signed-off-by: Sam James  gentoo.org>

 media-libs/libheif/libheif-1.12.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/libheif/libheif-1.12.0.ebuild 
b/media-libs/libheif/libheif-1.12.0.ebuild
index 93a270b36f5..6dc4980f1f2 100644
--- a/media-libs/libheif/libheif-1.12.0.ebuild
+++ b/media-libs/libheif/libheif-1.12.0.ebuild
@@ -10,7 +10,7 @@ if [[ ${PV} == * ]] ; then
inherit git-r3
 else

SRC_URI="https://github.com/strukturag/libheif/releases/download/v${PV}/${P}.tar.gz";
-   KEYWORDS="amd64 arm arm64 ~ppc64 ~riscv x86"
+   KEYWORDS="amd64 arm arm64 ppc64 ~riscv x86"
 fi
 
 DESCRIPTION="ISO/IEC 23008-12:2017 HEIF file format decoder and encoder"



[gentoo-commits] repo/gentoo:master commit in: media-libs/libheif/

2021-08-12 Thread David Seifert
commit: c7e21cd4c836383be7fb31beda00782e55699d15
Author: Jakov Smolic  sartura  hr>
AuthorDate: Thu Aug 12 19:59:27 2021 +
Commit: David Seifert  gentoo  org>
CommitDate: Thu Aug 12 19:59:27 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c7e21cd4

media-libs/libheif: Remove old 1.11.0

Signed-off-by: Jakov Smolic  sartura.hr>
Signed-off-by: David Seifert  gentoo.org>

 media-libs/libheif/Manifest  |  1 -
 media-libs/libheif/libheif-1.11.0.ebuild | 73 
 2 files changed, 74 deletions(-)

diff --git a/media-libs/libheif/Manifest b/media-libs/libheif/Manifest
index 17219957fbc..ab103a96438 100644
--- a/media-libs/libheif/Manifest
+++ b/media-libs/libheif/Manifest
@@ -1,2 +1 @@
-DIST libheif-1.11.0.tar.gz 1680855 BLAKE2B 
a85ed643bd05cd59a34e9e42c0b8690fc779c06d01aa4925b177c1a36e7a4d11c9dfa798295c9b8215f45802e80119f2a8f5c3876103818c5436358416d97dd8
 SHA512 
1a5d54a09a5dc581a054052bac4299f7c96ca121650e9238312c426d5261247ce6af1840088b8717c5a53d212b7ec17bfaa109b9245abfaebf1603eaeb77b0ed
 DIST libheif-1.12.0.tar.gz 1684355 BLAKE2B 
6d84678b39476f2d797d586c6dcaabc9a82351fe3bad536cd90edab16dabf91cbdcdb291195ff45061c7b0ad164748c53f87cbb2dc1e318b2cd458fcba74f644
 SHA512 
9e6f74dd52841a33b6021a1581ab28c56123d927caa7972acd28e90888bbdae983b6d847d20eac7651dacea2193d27eb8df45928cb0774229ef8eea23294

diff --git a/media-libs/libheif/libheif-1.11.0.ebuild 
b/media-libs/libheif/libheif-1.11.0.ebuild
deleted file mode 100644
index 8b2e59db0e8..000
--- a/media-libs/libheif/libheif-1.11.0.ebuild
+++ /dev/null
@@ -1,73 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit autotools xdg multilib-minimal
-
-if [[ ${PV} == * ]] ; 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 ~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.11"
-IUSE="+aom gdk-pixbuf go libde265 rav1e test +threads x265"
-REQUIRED_USE="test? ( go libde265 )"
-RESTRICT="!test? ( test )"
-
-BDEPEND="test? ( dev-lang/go )"
-DEPEND="
-   media-libs/dav1d:=[${MULTILIB_USEDEP}]
-   media-libs/libpng:0=[${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() {
-   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() {
-   export GO111MODULE=auto
-   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 rav1e)
-   $(use_enable threads multithreading)
-   $(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
-}



[gentoo-commits] repo/gentoo:master commit in: media-libs/libheif/

2021-08-12 Thread Sam James
commit: 69b803b1a0359d44337809cb457bddaac41e8632
Author: Sam James  gentoo  org>
AuthorDate: Thu Aug 12 15:29:54 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Aug 12 15:29:54 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=69b803b1

media-libs/libheif: Stabilize 1.12.0 arm, #794490

Signed-off-by: Sam James  gentoo.org>

 media-libs/libheif/libheif-1.12.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/libheif/libheif-1.12.0.ebuild 
b/media-libs/libheif/libheif-1.12.0.ebuild
index 432f1f81e29..93a270b36f5 100644
--- a/media-libs/libheif/libheif-1.12.0.ebuild
+++ b/media-libs/libheif/libheif-1.12.0.ebuild
@@ -10,7 +10,7 @@ if [[ ${PV} == * ]] ; then
inherit git-r3
 else

SRC_URI="https://github.com/strukturag/libheif/releases/download/v${PV}/${P}.tar.gz";
-   KEYWORDS="amd64 ~arm arm64 ~ppc64 ~riscv x86"
+   KEYWORDS="amd64 arm arm64 ~ppc64 ~riscv x86"
 fi
 
 DESCRIPTION="ISO/IEC 23008-12:2017 HEIF file format decoder and encoder"



[gentoo-commits] repo/gentoo:master commit in: media-libs/libheif/

2021-08-03 Thread Sam James
commit: 19ddc5154c7405cc5a11b3dd4e32539ac065dccf
Author: Sam James  gentoo  org>
AuthorDate: Tue Aug  3 23:37:25 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Aug  3 23:37:25 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=19ddc515

media-libs/libheif: Stabilize 1.12.0 arm64, #794490

Signed-off-by: Sam James  gentoo.org>

 media-libs/libheif/libheif-1.12.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/libheif/libheif-1.12.0.ebuild 
b/media-libs/libheif/libheif-1.12.0.ebuild
index 73c78451143..432f1f81e29 100644
--- a/media-libs/libheif/libheif-1.12.0.ebuild
+++ b/media-libs/libheif/libheif-1.12.0.ebuild
@@ -10,7 +10,7 @@ if [[ ${PV} == * ]] ; then
inherit git-r3
 else

SRC_URI="https://github.com/strukturag/libheif/releases/download/v${PV}/${P}.tar.gz";
-   KEYWORDS="amd64 ~arm ~arm64 ~ppc64 ~riscv x86"
+   KEYWORDS="amd64 ~arm arm64 ~ppc64 ~riscv x86"
 fi
 
 DESCRIPTION="ISO/IEC 23008-12:2017 HEIF file format decoder and encoder"



[gentoo-commits] repo/gentoo:master commit in: media-libs/libheif/

2021-07-28 Thread Sam James
commit: ea58e7587606fa0c8406685ddcbdddfc684b5715
Author: Sam James  gentoo  org>
AuthorDate: Wed Jul 28 16:13:47 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Wed Jul 28 16:14:28 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ea58e758

media-libs/libheif: Stabilize 1.12.0 x86, #794490

Signed-off-by: Sam James  gentoo.org>

 media-libs/libheif/libheif-1.12.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/libheif/libheif-1.12.0.ebuild 
b/media-libs/libheif/libheif-1.12.0.ebuild
index 1a9f7ed1992..7189425c779 100644
--- a/media-libs/libheif/libheif-1.12.0.ebuild
+++ b/media-libs/libheif/libheif-1.12.0.ebuild
@@ -10,7 +10,7 @@ if [[ ${PV} == * ]] ; then
inherit git-r3
 else

SRC_URI="https://github.com/strukturag/libheif/releases/download/v${PV}/${P}.tar.gz";
-   KEYWORDS="amd64 ~arm ~arm64 ~ppc64 ~x86"
+   KEYWORDS="amd64 ~arm ~arm64 ~ppc64 x86"
 fi
 
 DESCRIPTION="ISO/IEC 23008-12:2017 HEIF file format decoder and encoder"



[gentoo-commits] repo/gentoo:master commit in: media-libs/libheif/

2021-06-06 Thread Sam James
commit: 1ddb165188a48729ebe773c426e5b3a82f0a0091
Author: Sam James  gentoo  org>
AuthorDate: Sat Jun  5 22:03:46 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Sat Jun  5 22:03:46 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1ddb1651

media-libs/libheif: Stabilize 1.12.0 amd64, #794490

Signed-off-by: Sam James  gentoo.org>

 media-libs/libheif/libheif-1.12.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/libheif/libheif-1.12.0.ebuild 
b/media-libs/libheif/libheif-1.12.0.ebuild
index 05d7c5f68ed..1a9f7ed1992 100644
--- a/media-libs/libheif/libheif-1.12.0.ebuild
+++ b/media-libs/libheif/libheif-1.12.0.ebuild
@@ -10,7 +10,7 @@ if [[ ${PV} == * ]] ; then
inherit git-r3
 else

SRC_URI="https://github.com/strukturag/libheif/releases/download/v${PV}/${P}.tar.gz";
-   KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86"
+   KEYWORDS="amd64 ~arm ~arm64 ~ppc64 ~x86"
 fi
 
 DESCRIPTION="ISO/IEC 23008-12:2017 HEIF file format decoder and encoder"



[gentoo-commits] repo/gentoo:master commit in: media-libs/libheif/

2021-05-06 Thread David Seifert
commit: c86fda60404097d3c625dd1585e6a66a4dc10c10
Author: Jakov Smolic  sartura  hr>
AuthorDate: Thu May  6 14:28:45 2021 +
Commit: David Seifert  gentoo  org>
CommitDate: Thu May  6 14:28:45 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c86fda60

media-libs/libheif: Bump to 1.12.0

Signed-off-by: Jakov Smolic  sartura.hr>
Signed-off-by: David Seifert  gentoo.org>

 media-libs/libheif/Manifest  |  1 +
 media-libs/libheif/libheif-1.12.0.ebuild | 73 
 2 files changed, 74 insertions(+)

diff --git a/media-libs/libheif/Manifest b/media-libs/libheif/Manifest
index f051ee799de..17219957fbc 100644
--- a/media-libs/libheif/Manifest
+++ b/media-libs/libheif/Manifest
@@ -1 +1,2 @@
 DIST libheif-1.11.0.tar.gz 1680855 BLAKE2B 
a85ed643bd05cd59a34e9e42c0b8690fc779c06d01aa4925b177c1a36e7a4d11c9dfa798295c9b8215f45802e80119f2a8f5c3876103818c5436358416d97dd8
 SHA512 
1a5d54a09a5dc581a054052bac4299f7c96ca121650e9238312c426d5261247ce6af1840088b8717c5a53d212b7ec17bfaa109b9245abfaebf1603eaeb77b0ed
+DIST libheif-1.12.0.tar.gz 1684355 BLAKE2B 
6d84678b39476f2d797d586c6dcaabc9a82351fe3bad536cd90edab16dabf91cbdcdb291195ff45061c7b0ad164748c53f87cbb2dc1e318b2cd458fcba74f644
 SHA512 
9e6f74dd52841a33b6021a1581ab28c56123d927caa7972acd28e90888bbdae983b6d847d20eac7651dacea2193d27eb8df45928cb0774229ef8eea23294

diff --git a/media-libs/libheif/libheif-1.12.0.ebuild 
b/media-libs/libheif/libheif-1.12.0.ebuild
new file mode 100644
index 000..05d7c5f68ed
--- /dev/null
+++ b/media-libs/libheif/libheif-1.12.0.ebuild
@@ -0,0 +1,73 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit autotools xdg multilib-minimal
+
+if [[ ${PV} == * ]] ; 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 ~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.12"
+IUSE="+aom gdk-pixbuf go libde265 rav1e test +threads x265"
+REQUIRED_USE="test? ( go libde265 )"
+RESTRICT="!test? ( test )"
+
+BDEPEND="test? ( dev-lang/go )"
+DEPEND="
+   media-libs/dav1d:=[${MULTILIB_USEDEP}]
+   media-libs/libpng:0=[${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() {
+   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() {
+   export GO111MODULE=auto
+   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 rav1e)
+   $(use_enable threads multithreading)
+   $(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
+}



[gentoo-commits] repo/gentoo:master commit in: media-libs/libheif/

2021-05-06 Thread David Seifert
commit: fac7bd550d158388692e6df2e18f250c538b252a
Author: Jakov Smolic  sartura  hr>
AuthorDate: Thu May  6 14:28:48 2021 +
Commit: David Seifert  gentoo  org>
CommitDate: Thu May  6 14:28:48 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fac7bd55

media-libs/libheif: Update subslot

Closes: https://github.com/gentoo/gentoo/pull/20691
Signed-off-by: Jakov Smolic  sartura.hr>
Signed-off-by: David Seifert  gentoo.org>

 media-libs/libheif/libheif-.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/libheif/libheif-.ebuild 
b/media-libs/libheif/libheif-.ebuild
index f85c234173f..05d7c5f68ed 100644
--- a/media-libs/libheif/libheif-.ebuild
+++ b/media-libs/libheif/libheif-.ebuild
@@ -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.11"
+SLOT="0/1.12"
 IUSE="+aom gdk-pixbuf go libde265 rav1e test +threads x265"
 REQUIRED_USE="test? ( go libde265 )"
 RESTRICT="!test? ( test )"



[gentoo-commits] repo/gentoo:master commit in: media-libs/libheif/

2021-04-25 Thread Sam James
commit: fb47ab6782cf8a8dba7f2ce7fd033ddbc6b2431f
Author: Sam James  gentoo  org>
AuthorDate: Sun Apr 25 09:27:20 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Apr 25 09:30:58 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fb47ab67

media-libs/libheif: Stabilize 1.11.0 arm, #783555

Signed-off-by: Sam James  gentoo.org>

 media-libs/libheif/libheif-1.11.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/libheif/libheif-1.11.0.ebuild 
b/media-libs/libheif/libheif-1.11.0.ebuild
index c41cc3352eb..8b2e59db0e8 100644
--- a/media-libs/libheif/libheif-1.11.0.ebuild
+++ b/media-libs/libheif/libheif-1.11.0.ebuild
@@ -10,7 +10,7 @@ if [[ ${PV} == * ]] ; then
inherit git-r3
 else

SRC_URI="https://github.com/strukturag/libheif/releases/download/v${PV}/${P}.tar.gz";
-   KEYWORDS="amd64 ~arm arm64 ~ppc64 x86"
+   KEYWORDS="amd64 arm arm64 ~ppc64 x86"
 fi
 
 DESCRIPTION="ISO/IEC 23008-12:2017 HEIF file format decoder and encoder"



[gentoo-commits] repo/gentoo:master commit in: media-libs/libheif/

2021-04-13 Thread Joonas Niilola
commit: ccee58abdacf1413fe486dcd2f38f7826f06b374
Author: Jakov Smolic  sartura  hr>
AuthorDate: Sun Apr 11 18:16:38 2021 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Wed Apr 14 05:59:04 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ccee58ab

media-libs/libheif: Remove old 1.10.0, 1.9.1

Signed-off-by: Jakov Smolic  sartura.hr>
Closes: https://github.com/gentoo/gentoo/pull/20340
Signed-off-by: Joonas Niilola  gentoo.org>

 media-libs/libheif/Manifest  |  2 -
 media-libs/libheif/libheif-1.10.0.ebuild | 73 
 media-libs/libheif/libheif-1.9.1.ebuild  | 67 -
 3 files changed, 142 deletions(-)

diff --git a/media-libs/libheif/Manifest b/media-libs/libheif/Manifest
index 3641e9083d7..f051ee799de 100644
--- a/media-libs/libheif/Manifest
+++ b/media-libs/libheif/Manifest
@@ -1,3 +1 @@
-DIST libheif-1.10.0.tar.gz 1681115 BLAKE2B 
d9dc8c630f76d0f8df33e644fbbd589a92aab62927b72f7cc49b0ac9b65141979250c7fecbc4f119d62e5cc4386803580bff10accb3a0a4a04aa9c74ada9a146
 SHA512 
85550afe4d2c4a0af16213f51b7c9e9478f87199941d125aa7622ee42e5473a2344f3460d9c684b1805d45f903a98b77b4081f539d5b8c445fbf9443c8341629
 DIST libheif-1.11.0.tar.gz 1680855 BLAKE2B 
a85ed643bd05cd59a34e9e42c0b8690fc779c06d01aa4925b177c1a36e7a4d11c9dfa798295c9b8215f45802e80119f2a8f5c3876103818c5436358416d97dd8
 SHA512 
1a5d54a09a5dc581a054052bac4299f7c96ca121650e9238312c426d5261247ce6af1840088b8717c5a53d212b7ec17bfaa109b9245abfaebf1603eaeb77b0ed
-DIST libheif-1.9.1.tar.gz 1556450 BLAKE2B 
5829afbde9c8ad8d7a2ed46e736d17e84dc6f5f2c4deccd1647c3048588fb8bdec96764a31e7801aac81d5f0a3f1c3e1474b8bd5e2d4d84236ef07478e62933e
 SHA512 
a41ff9666877904da095c72af743b56196c75ce90deaeb1998be7eba9729a62282827e7e916e2a067489cc78e558c55fbb6d70da6a5b5281f6d2efcccbe6dbbe

diff --git a/media-libs/libheif/libheif-1.10.0.ebuild 
b/media-libs/libheif/libheif-1.10.0.ebuild
deleted file mode 100644
index 1dbb452f4a4..000
--- a/media-libs/libheif/libheif-1.10.0.ebuild
+++ /dev/null
@@ -1,73 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit autotools xdg multilib-minimal
-
-if [[ ${PV} == * ]] ; 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 ~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.10"
-IUSE="+aom gdk-pixbuf go libde265 rav1e test +threads x265"
-REQUIRED_USE="test? ( go libde265 )"
-RESTRICT="!test? ( test )"
-
-BDEPEND="test? ( dev-lang/go )"
-DEPEND="
-   media-libs/dav1d:=[${MULTILIB_USEDEP}]
-   media-libs/libpng:0=[${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() {
-   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() {
-   export GO111MODULE=auto
-   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 rav1e)
-   $(use_enable threads multithreading)
-   $(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.9.1.ebuild 
b/media-libs/libheif/libheif-1.9.1.ebuild
deleted file mode 100644
index 49f02ffbc2b..000
--- a/media-libs/libheif/libheif-1.9.1.ebuild
+++ /dev/null
@@ -1,67 +0,0 @@
-# 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} == "" ]] ; 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 ~ppc64 x86"
-fi
-
-DESCRIPTION="ISO/IEC 23008-12:2017 HEIF file format decoder and encoder"
-HOME

[gentoo-commits] repo/gentoo:master commit in: media-libs/libheif/

2021-04-11 Thread Mikle Kolyada
commit: 9661feadbc807ff2451b052585f677894593bb0f
Author: Mikle Kolyada  gentoo  org>
AuthorDate: Sun Apr 11 12:22:28 2021 +
Commit: Mikle Kolyada  gentoo  org>
CommitDate: Sun Apr 11 12:22:28 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9661fead

media-libs/libheif: Stabilize 1.11.0 arm64, #779586

Signed-off-by: Mikle Kolyada  gentoo.org>

 media-libs/libheif/libheif-1.11.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/libheif/libheif-1.11.0.ebuild 
b/media-libs/libheif/libheif-1.11.0.ebuild
index adb2b733b9c..c41cc3352eb 100644
--- a/media-libs/libheif/libheif-1.11.0.ebuild
+++ b/media-libs/libheif/libheif-1.11.0.ebuild
@@ -10,7 +10,7 @@ if [[ ${PV} == * ]] ; then
inherit git-r3
 else

SRC_URI="https://github.com/strukturag/libheif/releases/download/v${PV}/${P}.tar.gz";
-   KEYWORDS="amd64 ~arm ~arm64 ~ppc64 x86"
+   KEYWORDS="amd64 ~arm arm64 ~ppc64 x86"
 fi
 
 DESCRIPTION="ISO/IEC 23008-12:2017 HEIF file format decoder and encoder"



[gentoo-commits] repo/gentoo:master commit in: media-libs/libheif/

2021-04-01 Thread Thomas Deutschmann
commit: 140936772b815d5063dd608710cc0bf1fdb1882f
Author: Thomas Deutschmann  gentoo  org>
AuthorDate: Thu Apr  1 12:03:00 2021 +
Commit: Thomas Deutschmann  gentoo  org>
CommitDate: Thu Apr  1 12:03:00 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=14093677

media-libs/libheif: x86 stable (bug #779586)

Package-Manager: Portage-3.0.18, Repoman-3.0.3
Signed-off-by: Thomas Deutschmann  gentoo.org>

 media-libs/libheif/libheif-1.11.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/libheif/libheif-1.11.0.ebuild 
b/media-libs/libheif/libheif-1.11.0.ebuild
index f85c234173f..e2fc6f78e89 100644
--- a/media-libs/libheif/libheif-1.11.0.ebuild
+++ b/media-libs/libheif/libheif-1.11.0.ebuild
@@ -10,7 +10,7 @@ if [[ ${PV} == * ]] ; then
inherit git-r3
 else

SRC_URI="https://github.com/strukturag/libheif/releases/download/v${PV}/${P}.tar.gz";
-   KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86"
+   KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 x86"
 fi
 
 DESCRIPTION="ISO/IEC 23008-12:2017 HEIF file format decoder and encoder"



[gentoo-commits] repo/gentoo:master commit in: media-libs/libheif/

2021-03-02 Thread Thomas Deutschmann
commit: 0834da16eb68bd6f16bf56edf45e91e895d79a29
Author: Thomas Deutschmann  gentoo  org>
AuthorDate: Tue Mar  2 14:14:35 2021 +
Commit: Thomas Deutschmann  gentoo  org>
CommitDate: Tue Mar  2 14:16:58 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0834da16

media-libs/libheif: x86 stable (bug #770418)

Package-Manager: Portage-3.0.16, Repoman-3.0.2
Signed-off-by: Thomas Deutschmann  gentoo.org>

 media-libs/libheif/libheif-1.10.0.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/media-libs/libheif/libheif-1.10.0.ebuild 
b/media-libs/libheif/libheif-1.10.0.ebuild
index 8d78f6c9602..1dbb452f4a4 100644
--- a/media-libs/libheif/libheif-1.10.0.ebuild
+++ b/media-libs/libheif/libheif-1.10.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -10,7 +10,7 @@ if [[ ${PV} == * ]] ; then
inherit git-r3
 else

SRC_URI="https://github.com/strukturag/libheif/releases/download/v${PV}/${P}.tar.gz";
-   KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86"
+   KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 x86"
 fi
 
 DESCRIPTION="ISO/IEC 23008-12:2017 HEIF file format decoder and encoder"



[gentoo-commits] repo/gentoo:master commit in: media-libs/libheif/

2021-03-02 Thread Thomas Deutschmann
commit: 8d5db20aa2a601067a64d37fa57ab848f61390f2
Author: Jakov Smolic  sartura  hr>
AuthorDate: Tue Mar  2 09:40:39 2021 +
Commit: Thomas Deutschmann  gentoo  org>
CommitDate: Tue Mar  2 11:47:20 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8d5db20a

media-libs/libheif: Require libde265 when running tests

Closes: https://bugs.gentoo.org/773598
Signed-off-by: Jakov Smolic  sartura.hr>
Signed-off-by: Thomas Deutschmann  gentoo.org>

 media-libs/libheif/libheif-1.10.0.ebuild | 2 +-
 media-libs/libheif/libheif-.ebuild   | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/media-libs/libheif/libheif-1.10.0.ebuild 
b/media-libs/libheif/libheif-1.10.0.ebuild
index 1fc9b1cc42a..8d78f6c9602 100644
--- a/media-libs/libheif/libheif-1.10.0.ebuild
+++ b/media-libs/libheif/libheif-1.10.0.ebuild
@@ -19,7 +19,7 @@ HOMEPAGE="https://github.com/strukturag/libheif";
 LICENSE="GPL-3"
 SLOT="0/1.10"
 IUSE="+aom gdk-pixbuf go libde265 rav1e test +threads x265"
-REQUIRED_USE="test? ( go )"
+REQUIRED_USE="test? ( go libde265 )"
 RESTRICT="!test? ( test )"
 
 BDEPEND="test? ( dev-lang/go )"

diff --git a/media-libs/libheif/libheif-.ebuild 
b/media-libs/libheif/libheif-.ebuild
index 1fc9b1cc42a..8d78f6c9602 100644
--- a/media-libs/libheif/libheif-.ebuild
+++ b/media-libs/libheif/libheif-.ebuild
@@ -19,7 +19,7 @@ HOMEPAGE="https://github.com/strukturag/libheif";
 LICENSE="GPL-3"
 SLOT="0/1.10"
 IUSE="+aom gdk-pixbuf go libde265 rav1e test +threads x265"
-REQUIRED_USE="test? ( go )"
+REQUIRED_USE="test? ( go libde265 )"
 RESTRICT="!test? ( test )"
 
 BDEPEND="test? ( dev-lang/go )"



[gentoo-commits] repo/gentoo:master commit in: media-libs/libheif/

2021-03-02 Thread Thomas Deutschmann
commit: 3728501dbd63fa1265aa26b6761be9b363ea6c8a
Author: Jakov Smolic  sartura  hr>
AuthorDate: Tue Mar  2 09:43:21 2021 +
Commit: Thomas Deutschmann  gentoo  org>
CommitDate: Tue Mar  2 11:47:20 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3728501d

media-libs/libheif: Sync live ebuild

Signed-off-by: Jakov Smolic  sartura.hr>
Signed-off-by: Thomas Deutschmann  gentoo.org>

 media-libs/libheif/libheif-.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/media-libs/libheif/libheif-.ebuild 
b/media-libs/libheif/libheif-.ebuild
index 8d78f6c9602..f85c234173f 100644
--- a/media-libs/libheif/libheif-.ebuild
+++ b/media-libs/libheif/libheif-.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -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.10"
+SLOT="0/1.11"
 IUSE="+aom gdk-pixbuf go libde265 rav1e test +threads x265"
 REQUIRED_USE="test? ( go libde265 )"
 RESTRICT="!test? ( test )"



[gentoo-commits] repo/gentoo:master commit in: media-libs/libheif/

2021-03-02 Thread Thomas Deutschmann
commit: 7116b688b6eaa717517361d7879298c40ed1767a
Author: Jakov Smolic  sartura  hr>
AuthorDate: Tue Mar  2 09:43:03 2021 +
Commit: Thomas Deutschmann  gentoo  org>
CommitDate: Tue Mar  2 11:47:20 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7116b688

media-libs/libheif: Bump to 1.11.0

Closes: https://bugs.gentoo.org/773664
Signed-off-by: Jakov Smolic  sartura.hr>
Signed-off-by: Thomas Deutschmann  gentoo.org>

 media-libs/libheif/Manifest  |  1 +
 media-libs/libheif/libheif-1.11.0.ebuild | 73 
 2 files changed, 74 insertions(+)

diff --git a/media-libs/libheif/Manifest b/media-libs/libheif/Manifest
index d59bacb4377..3641e9083d7 100644
--- a/media-libs/libheif/Manifest
+++ b/media-libs/libheif/Manifest
@@ -1,2 +1,3 @@
 DIST libheif-1.10.0.tar.gz 1681115 BLAKE2B 
d9dc8c630f76d0f8df33e644fbbd589a92aab62927b72f7cc49b0ac9b65141979250c7fecbc4f119d62e5cc4386803580bff10accb3a0a4a04aa9c74ada9a146
 SHA512 
85550afe4d2c4a0af16213f51b7c9e9478f87199941d125aa7622ee42e5473a2344f3460d9c684b1805d45f903a98b77b4081f539d5b8c445fbf9443c8341629
+DIST libheif-1.11.0.tar.gz 1680855 BLAKE2B 
a85ed643bd05cd59a34e9e42c0b8690fc779c06d01aa4925b177c1a36e7a4d11c9dfa798295c9b8215f45802e80119f2a8f5c3876103818c5436358416d97dd8
 SHA512 
1a5d54a09a5dc581a054052bac4299f7c96ca121650e9238312c426d5261247ce6af1840088b8717c5a53d212b7ec17bfaa109b9245abfaebf1603eaeb77b0ed
 DIST libheif-1.9.1.tar.gz 1556450 BLAKE2B 
5829afbde9c8ad8d7a2ed46e736d17e84dc6f5f2c4deccd1647c3048588fb8bdec96764a31e7801aac81d5f0a3f1c3e1474b8bd5e2d4d84236ef07478e62933e
 SHA512 
a41ff9666877904da095c72af743b56196c75ce90deaeb1998be7eba9729a62282827e7e916e2a067489cc78e558c55fbb6d70da6a5b5281f6d2efcccbe6dbbe

diff --git a/media-libs/libheif/libheif-1.11.0.ebuild 
b/media-libs/libheif/libheif-1.11.0.ebuild
new file mode 100644
index 000..f85c234173f
--- /dev/null
+++ b/media-libs/libheif/libheif-1.11.0.ebuild
@@ -0,0 +1,73 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit autotools xdg multilib-minimal
+
+if [[ ${PV} == * ]] ; 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 ~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.11"
+IUSE="+aom gdk-pixbuf go libde265 rav1e test +threads x265"
+REQUIRED_USE="test? ( go libde265 )"
+RESTRICT="!test? ( test )"
+
+BDEPEND="test? ( dev-lang/go )"
+DEPEND="
+   media-libs/dav1d:=[${MULTILIB_USEDEP}]
+   media-libs/libpng:0=[${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() {
+   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() {
+   export GO111MODULE=auto
+   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 rav1e)
+   $(use_enable threads multithreading)
+   $(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
+}



[gentoo-commits] repo/gentoo:master commit in: media-libs/libheif/

2021-03-02 Thread Thomas Deutschmann
commit: 221f2592fcb68ad278d36bbd40e88b618e628698
Author: Jakov Smolic  sartura  hr>
AuthorDate: Tue Mar  2 09:39:06 2021 +
Commit: Thomas Deutschmann  gentoo  org>
CommitDate: Tue Mar  2 11:47:17 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=221f2592

media-libs/libheif: Fix build with go 1.16

Closes: https://bugs.gentoo.org/773316
Signed-off-by: Jakov Smolic  sartura.hr>
Signed-off-by: Thomas Deutschmann  gentoo.org>

 media-libs/libheif/libheif-1.10.0.ebuild | 1 +
 media-libs/libheif/libheif-.ebuild   | 1 +
 2 files changed, 2 insertions(+)

diff --git a/media-libs/libheif/libheif-1.10.0.ebuild 
b/media-libs/libheif/libheif-1.10.0.ebuild
index d68ecc0ddde..1fc9b1cc42a 100644
--- a/media-libs/libheif/libheif-1.10.0.ebuild
+++ b/media-libs/libheif/libheif-1.10.0.ebuild
@@ -48,6 +48,7 @@ src_prepare() {
 }
 
 multilib_src_configure() {
+   export GO111MODULE=auto
local econf_args=(
--disable-static
$(multilib_is_native_abi && use go || echo --disable-go)

diff --git a/media-libs/libheif/libheif-.ebuild 
b/media-libs/libheif/libheif-.ebuild
index d68ecc0ddde..1fc9b1cc42a 100644
--- a/media-libs/libheif/libheif-.ebuild
+++ b/media-libs/libheif/libheif-.ebuild
@@ -48,6 +48,7 @@ src_prepare() {
 }
 
 multilib_src_configure() {
+   export GO111MODULE=auto
local econf_args=(
--disable-static
$(multilib_is_native_abi && use go || echo --disable-go)



[gentoo-commits] repo/gentoo:master commit in: media-libs/libheif/

2021-01-23 Thread David Seifert
commit: 50e13ec551392fa556f8544a6252de0dcc6ab890
Author: Jakov Smolic  sartura  hr>
AuthorDate: Sat Jan 23 10:43:24 2021 +
Commit: David Seifert  gentoo  org>
CommitDate: Sat Jan 23 10:43:24 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=50e13ec5

media-libs/libheif: Bump to 1.10.0

Signed-off-by: Jakov Smolic  sartura.hr>
Signed-off-by: David Seifert  gentoo.org>

 media-libs/libheif/Manifest  |  1 +
 media-libs/libheif/libheif-1.10.0.ebuild | 72 
 2 files changed, 73 insertions(+)

diff --git a/media-libs/libheif/Manifest b/media-libs/libheif/Manifest
index ccce62b45f7..d59bacb4377 100644
--- a/media-libs/libheif/Manifest
+++ b/media-libs/libheif/Manifest
@@ -1 +1,2 @@
+DIST libheif-1.10.0.tar.gz 1681115 BLAKE2B 
d9dc8c630f76d0f8df33e644fbbd589a92aab62927b72f7cc49b0ac9b65141979250c7fecbc4f119d62e5cc4386803580bff10accb3a0a4a04aa9c74ada9a146
 SHA512 
85550afe4d2c4a0af16213f51b7c9e9478f87199941d125aa7622ee42e5473a2344f3460d9c684b1805d45f903a98b77b4081f539d5b8c445fbf9443c8341629
 DIST libheif-1.9.1.tar.gz 1556450 BLAKE2B 
5829afbde9c8ad8d7a2ed46e736d17e84dc6f5f2c4deccd1647c3048588fb8bdec96764a31e7801aac81d5f0a3f1c3e1474b8bd5e2d4d84236ef07478e62933e
 SHA512 
a41ff9666877904da095c72af743b56196c75ce90deaeb1998be7eba9729a62282827e7e916e2a067489cc78e558c55fbb6d70da6a5b5281f6d2efcccbe6dbbe

diff --git a/media-libs/libheif/libheif-1.10.0.ebuild 
b/media-libs/libheif/libheif-1.10.0.ebuild
new file mode 100644
index 000..d68ecc0ddde
--- /dev/null
+++ b/media-libs/libheif/libheif-1.10.0.ebuild
@@ -0,0 +1,72 @@
+# 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} == * ]] ; 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 ~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.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/dav1d:=[${MULTILIB_USEDEP}]
+   media-libs/libpng:0=[${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() {
+   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=(
+   --disable-static
+   $(multilib_is_native_abi && use go || echo --disable-go)
+   $(use_enable aom)
+   $(use_enable libde265)
+   $(use_enable gdk-pixbuf)
+   $(use_enable rav1e)
+   $(use_enable threads multithreading)
+   $(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
+}



[gentoo-commits] repo/gentoo:master commit in: media-libs/libheif/

2021-01-23 Thread David Seifert
commit: 22872704250ac5716fd33186098f1acefc981bd4
Author: Jakov Smolic  sartura  hr>
AuthorDate: Sat Jan 23 10:43:25 2021 +
Commit: David Seifert  gentoo  org>
CommitDate: Sat Jan 23 10:43:25 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=22872704

media-libs/libavif: Sync live ebuild

Signed-off-by: Jakov Smolic  sartura.hr>
Signed-off-by: David Seifert  gentoo.org>

 media-libs/libheif/libheif-.ebuild | 23 ++-
 media-libs/libheif/metadata.xml|  4 
 2 files changed, 18 insertions(+), 9 deletions(-)

diff --git a/media-libs/libheif/libheif-.ebuild 
b/media-libs/libheif/libheif-.ebuild
index 20821993904..d68ecc0ddde 100644
--- a/media-libs/libheif/libheif-.ebuild
+++ b/media-libs/libheif/libheif-.ebuild
@@ -5,7 +5,7 @@ EAPI=7
 
 inherit autotools xdg multilib-minimal
 
-if [[ ${PV} == "" ]] ; then
+if [[ ${PV} == * ]] ; 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
 }

diff --git a/media-libs/libheif/metadata.xml b/media-libs/libheif/metadata.xml
index 5ae142ce31e..1b9b2ce7ad7 100644
--- a/media-libs/libheif/metadata.xml
+++ b/media-libs/libheif/metadata.xml
@@ -10,8 +10,12 @@
Proxy Maintainers


+   Use media-libs/libaom for AVIF 
encoding/decoding
Enable x11-libs/gdk-pixbuf 
plugin
Enable building dev-lang/go 
code/examples
+   Use media-libs/libde265 for HEIF 
decoding
+   Use media-video/rav1e for AVIF 
encoding
+   Use  media-libs/x265 for HEIF 
encoding


https://github.com/strukturag/libheif/issues



[gentoo-commits] repo/gentoo:master commit in: media-libs/libheif/files/

2020-11-25 Thread Joonas Niilola
commit: aa1f95703f87ee815057070fd66d8a21d5da2c6a
Author: Jakov Smolic  sartura  hr>
AuthorDate: Wed Nov 25 18:51:05 2020 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Thu Nov 26 07:29:29 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=aa1f9570

media-libs/libheif: remove unused patch

Package-Manager: Portage-3.0.9, Repoman-3.0.1
Signed-off-by: Jakov Smolic  sartura.hr>
Closes: https://github.com/gentoo/gentoo/pull/18404
Signed-off-by: Joonas Niilola  gentoo.org>

 media-libs/libheif/files/libheif-1.7.0-aom.patch | 46 
 1 file changed, 46 deletions(-)

diff --git a/media-libs/libheif/files/libheif-1.7.0-aom.patch 
b/media-libs/libheif/files/libheif-1.7.0-aom.patch
deleted file mode 100644
index 9dce291f964..000
--- a/media-libs/libheif/files/libheif-1.7.0-aom.patch
+++ /dev/null
@@ -1,46 +0,0 @@
-From 331dff0ba58d5265ddcdadeaf5a45c1f0698a388 Mon Sep 17 00:00:00 2001
-From: Jakov Smolic 
-Date: Fri, 14 Aug 2020 22:03:25 +0200
-Subject: [PATCH] Fix building against aom 1.0
-
-Taken from upstream commit:
-https://github.com/strukturag/libheif/commit/6768552c0a99bb2957906be0f369850326486a58
-
-Signed-off-by: Jakov Smolic 

- libheif/heif_encoder_aom.cc | 11 ---
- 1 file changed, 8 insertions(+), 3 deletions(-)
-
-diff --git a/libheif/heif_encoder_aom.cc b/libheif/heif_encoder_aom.cc
-index 9953e34..669a51a 100644
 a/libheif/heif_encoder_aom.cc
-+++ b/libheif/heif_encoder_aom.cc
-@@ -502,9 +502,11 @@ struct heif_error aom_encode_image(void* encoder_raw, 
const struct heif_image* i
- 
- 
-   // --- configure codec
--
--  unsigned int aomUsage = (encoder->realtime_mode ? AOM_USAGE_REALTIME : 
AOM_USAGE_GOOD_QUALITY);
--
-+  unsigned int aomUsage = 0;
-+#if defined(AOM_USAGE_REALTIME)
-+  // aom 2.0
-+  aomUsage = (encoder->realtime_mode ? AOM_USAGE_REALTIME : 
AOM_USAGE_GOOD_QUALITY);
-+#endif
- 
-   aom_codec_enc_cfg_t cfg;
-   aom_codec_err_t res = aom_codec_enc_config_default(encoder->iface, &cfg, 
aomUsage);
-@@ -540,7 +542,10 @@ struct heif_error aom_encode_image(void* encoder_raw, 
const struct heif_image* i
-   aom_codec_control(&encoder->codec, AOME_SET_CPUUSED, encoder->cpu_used);
- 
-   if (encoder->threads > 1) {
-+#if defined(AV1E_SET_ROW_MT)
-+// aom 2.0
- aom_codec_control(&encoder->codec, AV1E_SET_ROW_MT, 1);
-+#endif
-   }
- 
-   // --- encode frame
--- 
-2.26.2
-



[gentoo-commits] repo/gentoo:master commit in: media-libs/libheif/

2020-11-13 Thread Aaron Bauman
commit: a6156af1e38fb38a2572ed069c9717e0a54d3270
Author: Jakov Smolic  sartura  hr>
AuthorDate: Thu Nov 12 17:16:44 2020 +
Commit: Aaron Bauman  gentoo  org>
CommitDate: Fri Nov 13 20:57:13 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a6156af1

media-libs/libheif: drop old

Package-Manager: Portage-3.0.8, Repoman-3.0.1
Signed-off-by: Jakov Smolic  sartura.hr>
Closes: https://github.com/gentoo/gentoo/pull/18232
Signed-off-by: Aaron Bauman  gentoo.org>

 media-libs/libheif/Manifest|  1 -
 media-libs/libheif/libheif-1.7.0-r1.ebuild | 69 -
 media-libs/libheif/libheif-1.7.0-r2.ebuild | 70 --
 3 files changed, 140 deletions(-)

diff --git a/media-libs/libheif/Manifest b/media-libs/libheif/Manifest
index c0eacf28d68..ccce62b45f7 100644
--- a/media-libs/libheif/Manifest
+++ b/media-libs/libheif/Manifest
@@ -1,2 +1 @@
-DIST libheif-1.7.0.tar.gz 1526096 BLAKE2B 
74b8284875321781d13d17b877eb8291ecdd0fe1700f73a433d3b125a8ee6b33a326310d729e62bac9d9fecfea095f21ef590e711d550dcaac79570b3f917885
 SHA512 
13c95540fee13f3fba8d8a4f69886bf5563e9fa22c5cd113dbe16d20670b077b5961171e5f9fb0f256cc42c4650e13465c93d3fbb03013997a7fc163463e8b3a
 DIST libheif-1.9.1.tar.gz 1556450 BLAKE2B 
5829afbde9c8ad8d7a2ed46e736d17e84dc6f5f2c4deccd1647c3048588fb8bdec96764a31e7801aac81d5f0a3f1c3e1474b8bd5e2d4d84236ef07478e62933e
 SHA512 
a41ff9666877904da095c72af743b56196c75ce90deaeb1998be7eba9729a62282827e7e916e2a067489cc78e558c55fbb6d70da6a5b5281f6d2efcccbe6dbbe

diff --git a/media-libs/libheif/libheif-1.7.0-r1.ebuild 
b/media-libs/libheif/libheif-1.7.0-r1.ebuild
deleted file mode 100644
index 363d05f925d..000
--- a/media-libs/libheif/libheif-1.7.0-r1.ebuild
+++ /dev/null
@@ -1,69 +0,0 @@
-# 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} == "" ]] ; 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.7"
-IUSE="gdk-pixbuf go static-libs test +threads"
-REQUIRED_USE="test? ( go )"
-
-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[${MULTILIB_USEDEP}] )
-   go? ( dev-lang/go )
-"
-RDEPEND="${DEPEND}"
-PATCHES=(
-   "${FILESDIR}"/${P}-aom.patch
-)
-
-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 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_test() {
-   default
-   emake -C go test
-}
-
-multilib_src_install_all() {
-   find "${ED}" -name '*.la' -delete || die
-}

diff --git a/media-libs/libheif/libheif-1.7.0-r2.ebuild 
b/media-libs/libheif/libheif-1.7.0-r2.ebuild
deleted file mode 100644
index a3ab22e400f..000
--- a/media-libs/libheif/libheif-1.7.0-r2.ebuild
+++ /dev/null
@@ -1,70 +0,0 @@
-# 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} == "" ]] ; 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.7"
-IUSE="gdk-pixbuf go static-libs test +threads"
-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/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[${MULTILIB_USEDEP}] )
-   go? ( 

[gentoo-commits] repo/gentoo:master commit in: media-libs/libheif/

2020-11-12 Thread Sam James
commit: 9f7a41c3f09b2d3e830613f1c2beddfa2898ee49
Author: Sam James  gentoo  org>
AuthorDate: Thu Nov 12 15:17:10 2020 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Nov 12 15:17:10 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9f7a41c3

media-libs/libheif: Stabilize 1.9.1 arm64, #754036

Signed-off-by: Sam James  gentoo.org>

 media-libs/libheif/libheif-1.9.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/libheif/libheif-1.9.1.ebuild 
b/media-libs/libheif/libheif-1.9.1.ebuild
index bf00e482549..49f02ffbc2b 100644
--- a/media-libs/libheif/libheif-1.9.1.ebuild
+++ b/media-libs/libheif/libheif-1.9.1.ebuild
@@ -10,7 +10,7 @@ if [[ ${PV} == "" ]] ; then
inherit git-r3
 else

SRC_URI="https://github.com/strukturag/libheif/releases/download/v${PV}/${P}.tar.gz";
-   KEYWORDS="amd64 ~arm ~arm64 ~ppc64 x86"
+   KEYWORDS="amd64 ~arm arm64 ~ppc64 x86"
 fi
 
 DESCRIPTION="ISO/IEC 23008-12:2017 HEIF file format decoder and encoder"



[gentoo-commits] repo/gentoo:master commit in: media-libs/libheif/

2020-11-11 Thread Joonas Niilola
commit: 8906a2049066389d1203c92c3013fc750ee69fcd
Author: Joonas Niilola  gentoo  org>
AuthorDate: Thu Nov 12 06:51:10 2020 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Thu Nov 12 06:51:35 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8906a204

media-libs/libheif: stabilize 1.9.1 on amd64

Bug: https://bugs.gentoo.org/754036
Signed-off-by: Joonas Niilola  gentoo.org>

 media-libs/libheif/libheif-1.9.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/libheif/libheif-1.9.1.ebuild 
b/media-libs/libheif/libheif-1.9.1.ebuild
index a2ac1249223..bf00e482549 100644
--- a/media-libs/libheif/libheif-1.9.1.ebuild
+++ b/media-libs/libheif/libheif-1.9.1.ebuild
@@ -10,7 +10,7 @@ if [[ ${PV} == "" ]] ; then
inherit git-r3
 else

SRC_URI="https://github.com/strukturag/libheif/releases/download/v${PV}/${P}.tar.gz";
-   KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 x86"
+   KEYWORDS="amd64 ~arm ~arm64 ~ppc64 x86"
 fi
 
 DESCRIPTION="ISO/IEC 23008-12:2017 HEIF file format decoder and encoder"



[gentoo-commits] repo/gentoo:master commit in: media-libs/libheif/files/

2020-10-28 Thread Joonas Niilola
commit: f7c8575f3eb43887c8081061661c0767d637c155
Author: Jakov Smolic  sartura  hr>
AuthorDate: Thu Oct 22 10:11:57 2020 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Wed Oct 28 12:09:57 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f7c8575f

media-libs/libheif: ebuild_unused_patches

- Remove unused patch

Package-Manager: Portage-3.0.8, Repoman-3.0.1
Signed-off-by: Jakov Smolic  sartura.hr>
Signed-off-by: Joonas Niilola  gentoo.org>

 media-libs/libheif/files/heif_test.go | 155 --
 1 file changed, 155 deletions(-)

diff --git a/media-libs/libheif/files/heif_test.go 
b/media-libs/libheif/files/heif_test.go
deleted file mode 100644
index 187d773dea6..000
--- a/media-libs/libheif/files/heif_test.go
+++ /dev/null
@@ -1,155 +0,0 @@
-/*
- * GO interface to libheif
- * Copyright (c) 2018 struktur AG, Joachim Bauch 
- *
- * This file is part of heif, an example application using libheif.
- *
- * heif is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * heif is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with heif.  If not, see .
- */
-
-package heif
-
-import (
-   "fmt"
-   "image"
-   "io/ioutil"
-   "os"
-   "path"
-   "testing"
-)
-
-func TestGetVersion(t *testing.T) {
-   version := GetVersion()
-   if version == "" {
-   t.Fatal("Version is missing")
-   }
-}
-
-func CheckHeifImage(t *testing.T, handle *ImageHandle, thumbnail bool) {
-   handle.GetWidth()
-   handle.GetHeight()
-   handle.HasAlphaChannel()
-   handle.HasDepthImage()
-   count := handle.GetNumberOfDepthImages()
-   if ids := handle.GetListOfDepthImageIDs(); len(ids) != count {
-   t.Errorf("Expected %d depth image ids, got %d", count, len(ids))
-   }
-   if !thumbnail {
-   count = handle.GetNumberOfThumbnails()
-   ids := handle.GetListOfThumbnailIDs()
-   if len(ids) != count {
-   t.Errorf("Expected %d thumbnail image ids, got %d", 
count, len(ids))
-   }
-   for _, id := range ids {
-   if thumb, err := handle.GetThumbnail(id); err != nil {
-   t.Errorf("Could not get thumbnail %d: %s", id, 
err)
-   } else {
-   CheckHeifImage(t, thumb, true)
-   }
-   }
-   }
-
-   if img, err := handle.DecodeImage(ColorspaceUndefined, ChromaUndefined, 
nil); err != nil {
-   t.Errorf("Could not decode image: %s", err)
-   } else {
-   img.GetColorspace()
-   img.GetChromaFormat()
-   }
-}
-
-func CheckHeifFile(t *testing.T, ctx *Context) {
-   if count := ctx.GetNumberOfTopLevelImages(); count != 2 {
-   t.Errorf("Expected %d top level images, got %d", 2, count)
-   }
-   if ids := ctx.GetListOfTopLevelImageIDs(); len(ids) != 2 {
-   t.Errorf("Expected %d top level image ids, got %+v", 2, ids)
-   }
-   if _, err := ctx.GetPrimaryImageID(); err != nil {
-   t.Errorf("Expected a primary image, got %s", err)
-   }
-   if handle, err := ctx.GetPrimaryImageHandle(); err != nil {
-   t.Errorf("Could not get primary image handle: %s", err)
-   } else {
-   if !handle.IsPrimaryImage() {
-   t.Error("Expected primary image")
-   }
-   CheckHeifImage(t, handle, false)
-   }
-}
-
-func TestReadFromFile(t *testing.T) {
-   ctx, err := NewContext()
-   if err != nil {
-   t.Fatalf("Can't create context: %s", err)
-   }
-
-   filename := path.Join("..", "..", "examples", "example.heic")
-   if err := ctx.ReadFromFile(filename); err != nil {
-   t.Fatalf("Can't read from %s: %s", filename, err)
-   }
-
-   CheckHeifFile(t, ctx)
-}
-
-func TestReadFromMemory(t *testing.T) {
-   ctx, err := NewContext()
-   if err != nil {
-   t.Fatalf("Can't create context: %s", err)
-   }
-
-   filename := path.Join("..", "..", "examples", "example.heic")
-   data, err := ioutil.ReadFile(filename)
-   if err != nil {
-   t.Fatalf("Can't read file %s: %s", filename, err)
-   }
-   if err := ctx.ReadFromMemory(data); err != nil {
-   t.Fatalf("Can't read from memory: %s", err)
-   }
-   data = nil // 

[gentoo-commits] repo/gentoo:master commit in: media-libs/libheif/

2020-10-12 Thread Joonas Niilola
commit: 36a75c6f81fb32e9b84d029f1977a8e22312b4dc
Author: Jakov Smolic  sartura  hr>
AuthorDate: Sat Oct 10 07:59:37 2020 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Mon Oct 12 09:05:59 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=36a75c6f

media-libs/libheif: enable tests (again)

- go code is needed to run tests, add appropriate REQUIRED_USE entry
- remove "$use_enable go" as go code seems to be enabled by default. Passing 
--enable-go disrupts the build system and strangely prevents us to run tests 
(likely an upstream bug)

Package-Manager: Portage-3.0.4, Repoman-3.0.1
Signed-off-by: Jakov Smolic  sartura.hr>
Signed-off-by: Joonas Niilola  gentoo.org>

 media-libs/libheif/libheif-1.7.0-r1.ebuild | 9 -
 media-libs/libheif/libheif-1.7.0-r2.ebuild | 9 -
 media-libs/libheif/libheif-1.9.1.ebuild| 9 -
 media-libs/libheif/libheif-.ebuild | 9 -
 4 files changed, 32 insertions(+), 4 deletions(-)

diff --git a/media-libs/libheif/libheif-1.7.0-r1.ebuild 
b/media-libs/libheif/libheif-1.7.0-r1.ebuild
index 389834d3586..6eb48cf9b41 100644
--- a/media-libs/libheif/libheif-1.7.0-r1.ebuild
+++ b/media-libs/libheif/libheif-1.7.0-r1.ebuild
@@ -19,6 +19,8 @@ HOMEPAGE="https://github.com/strukturag/libheif";
 LICENSE="GPL-3"
 SLOT="0/1.7"
 IUSE="gdk-pixbuf go static-libs test +threads"
+REQUIRED_USE="test? ( go )"
+
 RESTRICT="!test? ( test )"
 
 BDEPEND="test? ( dev-lang/go )"
@@ -49,7 +51,7 @@ src_prepare() {
 
 multilib_src_configure() {
local econf_args=(
-   $(multilib_is_native_abi && use_enable go || echo --disable-go)
+   $(multilib_is_native_abi && use go || echo --disable-go)
$(use_enable gdk-pixbuf)
$(use_enable static-libs static)
$(use_enable threads multithreading)
@@ -57,6 +59,11 @@ multilib_src_configure() {
ECONF_SOURCE="${S}" econf "${econf_args[@]}"
 }
 
+multilib_src_test() {
+   default
+   emake -C go test
+}
+
 multilib_src_install_all() {
find "${ED}" -name '*.la' -delete || die
 }

diff --git a/media-libs/libheif/libheif-1.7.0-r2.ebuild 
b/media-libs/libheif/libheif-1.7.0-r2.ebuild
index e54b807b2df..0e817601bd6 100644
--- a/media-libs/libheif/libheif-1.7.0-r2.ebuild
+++ b/media-libs/libheif/libheif-1.7.0-r2.ebuild
@@ -19,6 +19,8 @@ HOMEPAGE="https://github.com/strukturag/libheif";
 LICENSE="GPL-3"
 SLOT="0/1.7"
 IUSE="gdk-pixbuf go static-libs test +threads"
+REQUIRED_USE="test? ( go )"
+
 RESTRICT="!test? ( test )"
 
 BDEPEND="test? ( dev-lang/go )"
@@ -50,7 +52,7 @@ src_prepare() {
 
 multilib_src_configure() {
local econf_args=(
-   $(multilib_is_native_abi && use_enable go || echo --disable-go)
+   $(multilib_is_native_abi && use go || echo --disable-go)
$(use_enable gdk-pixbuf)
$(use_enable static-libs static)
$(use_enable threads multithreading)
@@ -58,6 +60,11 @@ multilib_src_configure() {
ECONF_SOURCE="${S}" econf "${econf_args[@]}"
 }
 
+multilib_src_test() {
+   default
+   emake -C go test
+}
+
 multilib_src_install_all() {
find "${ED}" -name '*.la' -delete || die
 }

diff --git a/media-libs/libheif/libheif-1.9.1.ebuild 
b/media-libs/libheif/libheif-1.9.1.ebuild
index bccbc8c8662..ccfee4058de 100644
--- a/media-libs/libheif/libheif-1.9.1.ebuild
+++ b/media-libs/libheif/libheif-1.9.1.ebuild
@@ -19,6 +19,8 @@ HOMEPAGE="https://github.com/strukturag/libheif";
 LICENSE="GPL-3"
 SLOT="0/1.9"
 IUSE="gdk-pixbuf go static-libs test +threads"
+REQUIRED_USE="test? ( go )"
+
 RESTRICT="!test? ( test )"
 
 BDEPEND="test? ( dev-lang/go )"
@@ -47,7 +49,7 @@ src_prepare() {
 
 multilib_src_configure() {
local econf_args=(
-   $(multilib_is_native_abi && use_enable go || echo --disable-go)
+   $(multilib_is_native_abi && use go || echo --disable-go)
$(use_enable gdk-pixbuf)
$(use_enable static-libs static)
$(use_enable threads multithreading)
@@ -55,6 +57,11 @@ multilib_src_configure() {
ECONF_SOURCE="${S}" econf "${econf_args[@]}"
 }
 
+multilib_src_test() {
+   default
+   emake -C go test
+}
+
 multilib_src_install_all() {
find "${ED}" -name '*.la' -delete || die
 }

diff --git a/media-libs/libheif/libheif-.ebuild 
b/media-libs/libheif/libheif-.ebuild
index bccbc8c8662..ccfee4058de 100644
--- a/media-libs/libheif/libheif-.ebuild
+++ b/media-libs/libheif/libheif-.ebuild
@@ -19,6 +19,8 @@ HOMEPAGE="https://github.com/strukturag/libheif";
 LICENSE="GPL-3"
 SLOT="0/1.9"
 IUSE="gdk-pixbuf go static-libs test +threads"
+REQUIRED_USE="test? ( go )"
+
 RESTRICT="!test? ( test )"
 
 BDEPEND="test? ( dev-lang/go )"
@@ -47,7 +49,7 @@ src_prepare() {
 
 multilib_src_configure() {
local econf_args=(
-   $(multilib_is_native_abi && use_enable go || echo --disable-go)
+

[gentoo-commits] repo/gentoo:master commit in: media-libs/libheif/

2020-10-12 Thread Joonas Niilola
commit: cd3ca44c1e6a7f46b7e3292408973c231c5760f2
Author: Jakov Smolic  sartura  hr>
AuthorDate: Thu Sep 24 17:12:59 2020 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Mon Oct 12 09:05:58 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cd3ca44c

media-libs/libheif: sync live ebuild

Package-Manager: Portage-3.0.4, Repoman-3.0.1
Signed-off-by: Jakov Smolic  sartura.hr>
Signed-off-by: Joonas Niilola  gentoo.org>

 media-libs/libheif/libheif-.ebuild | 7 ---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/media-libs/libheif/libheif-.ebuild 
b/media-libs/libheif/libheif-.ebuild
index 6c16fb0e9ab..bccbc8c8662 100644
--- a/media-libs/libheif/libheif-.ebuild
+++ b/media-libs/libheif/libheif-.ebuild
@@ -6,10 +6,10 @@ EAPI=7
 inherit autotools xdg multilib-minimal
 
 if [[ ${PV} == "" ]] ; then
-   EGIT_REPO_URI="https://github.com/strukturag/${PN}.git";
+   EGIT_REPO_URI="https://github.com/strukturag/libheif.git";
inherit git-r3
 else
-   
SRC_URI="https://github.com/strukturag/${PN}/releases/download/v${PV}/${P}.tar.gz";
+   
SRC_URI="https://github.com/strukturag/libheif/releases/download/v${PV}/${P}.tar.gz";
KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86"
 fi
 
@@ -17,12 +17,13 @@ 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"
+SLOT="0/1.9"
 IUSE="gdk-pixbuf go static-libs test +threads"
 RESTRICT="!test? ( test )"
 
 BDEPEND="test? ( dev-lang/go )"
 DEPEND="
+   >=media-libs/libaom-2.0.0:=[${MULTILIB_USEDEP}]
media-libs/libde265:=[${MULTILIB_USEDEP}]
media-libs/libpng:0=[${MULTILIB_USEDEP}]
media-libs/x265:=[${MULTILIB_USEDEP}]



[gentoo-commits] repo/gentoo:master commit in: media-libs/libheif/

2020-10-12 Thread Joonas Niilola
commit: 17e88fd29907bd8a46a5ae30e0c134da7b25b2c4
Author: Jakov Smolic  sartura  hr>
AuthorDate: Thu Oct  8 17:44:16 2020 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Mon Oct 12 09:05:59 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=17e88fd2

media-libs/libheif: new maintainer

Package-Manager: Portage-3.0.4, Repoman-3.0.1
Signed-off-by: Jakov Smolic  sartura.hr>
Signed-off-by: Joonas Niilola  gentoo.org>

 media-libs/libheif/metadata.xml | 9 -
 1 file changed, 8 insertions(+), 1 deletion(-)

diff --git a/media-libs/libheif/metadata.xml b/media-libs/libheif/metadata.xml
index f92d3bad5e8..5ae142ce31e 100644
--- a/media-libs/libheif/metadata.xml
+++ b/media-libs/libheif/metadata.xml
@@ -1,7 +1,14 @@
 
 http://www.gentoo.org/dtd/metadata.dtd";>
 
-   
+   
+   jakov.smo...@sartura.hr
+   Jakov Smolic
+   
+   
+   proxy-ma...@gentoo.org
+   Proxy Maintainers
+   

Enable x11-libs/gdk-pixbuf 
plugin
Enable building dev-lang/go 
code/examples



[gentoo-commits] repo/gentoo:master commit in: media-libs/libheif/

2020-10-12 Thread Joonas Niilola
commit: 68312d4d8e3671411e4486d0cb3dceb7c7887f7b
Author: Jakov Smolic  sartura  hr>
AuthorDate: Thu Sep 24 17:13:33 2020 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Mon Oct 12 09:05:59 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=68312d4d

media-libs/libheif: drop old

Package-Manager: Portage-3.0.4, Repoman-3.0.1
Signed-off-by: Jakov Smolic  sartura.hr>
Signed-off-by: Joonas Niilola  gentoo.org>

 media-libs/libheif/Manifest |  4 --
 media-libs/libheif/libheif-1.5.1.ebuild | 68 -
 media-libs/libheif/libheif-1.6.1.ebuild | 68 -
 media-libs/libheif/libheif-1.6.2.ebuild | 68 -
 media-libs/libheif/libheif-1.8.0.ebuild | 59 
 5 files changed, 267 deletions(-)

diff --git a/media-libs/libheif/Manifest b/media-libs/libheif/Manifest
index 98ae03b7ed2..c0eacf28d68 100644
--- a/media-libs/libheif/Manifest
+++ b/media-libs/libheif/Manifest
@@ -1,6 +1,2 @@
-DIST libheif-1.5.1.tar.gz 1510087 BLAKE2B 
1dd5e913c8913c6b62b770653585f8ccf7cda14c4dd79ff2073bf085da4d730accaef8d0f8008ac941238a7e3e131add1a218e0c78a886847b3bcf253d66c9b6
 SHA512 
05e32ebff08d5f0e82e9b1107253c27882ae1694150033fe7b3ca07db8c64567f09002081276e92a3b490a63022a1522d577b094a7f489742139758d17f484b8
-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
-DIST libheif-1.8.0.tar.gz 1544438 BLAKE2B 
983d3675c6788f69d7839d72064ca97d7347f5b2105b489ea6834c6ca5ab3d0ad8dd9157ab9d8636d3978a308d9f1983c8e5b0d151ffd9c013c9b2c9ef059d74
 SHA512 
e6edf03c0baf7d55ace57b8de1cf05d3b6708a0bd58d4191599960ad3924509dd7e9528a021586012b768a5a5b253e5bab470b944a2ead45f85274842da4913a
 DIST libheif-1.9.1.tar.gz 1556450 BLAKE2B 
5829afbde9c8ad8d7a2ed46e736d17e84dc6f5f2c4deccd1647c3048588fb8bdec96764a31e7801aac81d5f0a3f1c3e1474b8bd5e2d4d84236ef07478e62933e
 SHA512 
a41ff9666877904da095c72af743b56196c75ce90deaeb1998be7eba9729a62282827e7e916e2a067489cc78e558c55fbb6d70da6a5b5281f6d2efcccbe6dbbe

diff --git a/media-libs/libheif/libheif-1.5.1.ebuild 
b/media-libs/libheif/libheif-1.5.1.ebuild
deleted file mode 100644
index 157ef706807..000
--- a/media-libs/libheif/libheif-1.5.1.ebuild
+++ /dev/null
@@ -1,68 +0,0 @@
-# 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} == "" ]] ; 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 arm64 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.5"
-IUSE="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}]
-"
-RDEPEND="${DEPEND}"
-
-src_prepare() {
-   default
-
-   # heif_test.go is not included in the tarball
-   # https://github.com/strukturag/libheif/issues/289
-   cp "${FILESDIR}/heif_test.go" "${S}/go/heif" || die
-
-   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 myeconfargs=(
-   $(use_enable threads multithreading)
-   $(use_enable static-libs static)
-   )
-   ECONF_SOURCE="${S}" econf "${myeconfargs[@]}"
-}
-
-multilib_src_test() {
-   default
-   emake -C go test
-}
-
-multilib_src_install_all() {
-   find "${ED}" -name '*.la' -delete || die
-   if ! use static-libs ; then
-   find "${ED}" -name "*.a" -delete || die
-   fi
-}

diff --git a/media-libs/

[gentoo-commits] repo/gentoo:master commit in: media-libs/libheif/

2020-10-12 Thread Joonas Niilola
commit: 52210bb93a4337b303a0097113fa159eb51cec31
Author: Jakov Smolic  sartura  hr>
AuthorDate: Thu Sep 24 17:12:15 2020 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Mon Oct 12 09:05:58 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=52210bb9

media-libs/libheif: bump to 1.9.1

Package-Manager: Portage-3.0.4, Repoman-3.0.1
Signed-off-by: Jakov Smolic  sartura.hr>
Signed-off-by: Joonas Niilola  gentoo.org>

 media-libs/libheif/Manifest |  1 +
 media-libs/libheif/libheif-1.9.1.ebuild | 60 +
 2 files changed, 61 insertions(+)

diff --git a/media-libs/libheif/Manifest b/media-libs/libheif/Manifest
index 1361ad58193..98ae03b7ed2 100644
--- a/media-libs/libheif/Manifest
+++ b/media-libs/libheif/Manifest
@@ -3,3 +3,4 @@ DIST libheif-1.6.1.tar.gz 1514950 BLAKE2B 
d658f0c408f9a09eaac890119119327bd3e9c8
 DIST libheif-1.6.2.tar.gz 1515763 BLAKE2B 
e7a901394349bc8bbf633a0193d7a08a1cecf7e97a8ac709efb9c2e5e6da387c7fa5e8b551cecf1f67b4e7a7d06f034e64c20d7c55f9a7898c0badb79ed485f7
 SHA512 
41848c05d88f82827ebdd0662a1870ce8b7899f6a86ef5aa483b301176602da8e69d2c5a49b4d911bc0cac51bdab81a06fd43efae2722092cc09c02119c95f07
 DIST libheif-1.7.0.tar.gz 1526096 BLAKE2B 
74b8284875321781d13d17b877eb8291ecdd0fe1700f73a433d3b125a8ee6b33a326310d729e62bac9d9fecfea095f21ef590e711d550dcaac79570b3f917885
 SHA512 
13c95540fee13f3fba8d8a4f69886bf5563e9fa22c5cd113dbe16d20670b077b5961171e5f9fb0f256cc42c4650e13465c93d3fbb03013997a7fc163463e8b3a
 DIST libheif-1.8.0.tar.gz 1544438 BLAKE2B 
983d3675c6788f69d7839d72064ca97d7347f5b2105b489ea6834c6ca5ab3d0ad8dd9157ab9d8636d3978a308d9f1983c8e5b0d151ffd9c013c9b2c9ef059d74
 SHA512 
e6edf03c0baf7d55ace57b8de1cf05d3b6708a0bd58d4191599960ad3924509dd7e9528a021586012b768a5a5b253e5bab470b944a2ead45f85274842da4913a
+DIST libheif-1.9.1.tar.gz 1556450 BLAKE2B 
5829afbde9c8ad8d7a2ed46e736d17e84dc6f5f2c4deccd1647c3048588fb8bdec96764a31e7801aac81d5f0a3f1c3e1474b8bd5e2d4d84236ef07478e62933e
 SHA512 
a41ff9666877904da095c72af743b56196c75ce90deaeb1998be7eba9729a62282827e7e916e2a067489cc78e558c55fbb6d70da6a5b5281f6d2efcccbe6dbbe

diff --git a/media-libs/libheif/libheif-1.9.1.ebuild 
b/media-libs/libheif/libheif-1.9.1.ebuild
new file mode 100644
index 000..bccbc8c8662
--- /dev/null
+++ b/media-libs/libheif/libheif-1.9.1.ebuild
@@ -0,0 +1,60 @@
+# 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} == "" ]] ; 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 ~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.9"
+IUSE="gdk-pixbuf go static-libs test +threads"
+RESTRICT="!test? ( test )"
+
+BDEPEND="test? ( dev-lang/go )"
+DEPEND="
+   >=media-libs/libaom-2.0.0:=[${MULTILIB_USEDEP}]
+   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
+}



[gentoo-commits] repo/gentoo:master commit in: media-libs/libheif/

2020-10-12 Thread Joonas Niilola
commit: 5120e24cdc12a81a5717ea20b6e7897937dccc27
Author: Jakov Smolic  sartura  hr>
AuthorDate: Thu Oct  8 17:42:38 2020 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Mon Oct 12 09:05:59 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5120e24c

media-libs/libheif: add missing media-libs/libaom dep

Package-Manager: Portage-3.0.4, Repoman-3.0.1
Signed-off-by: Jakov Smolic  sartura.hr>
Signed-off-by: Joonas Niilola  gentoo.org>

 media-libs/libheif/libheif-1.7.0-r2.ebuild | 63 ++
 1 file changed, 63 insertions(+)

diff --git a/media-libs/libheif/libheif-1.7.0-r2.ebuild 
b/media-libs/libheif/libheif-1.7.0-r2.ebuild
new file mode 100644
index 000..e54b807b2df
--- /dev/null
+++ b/media-libs/libheif/libheif-1.7.0-r2.ebuild
@@ -0,0 +1,63 @@
+# 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} == "" ]] ; 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.7"
+IUSE="gdk-pixbuf go static-libs test +threads"
+RESTRICT="!test? ( test )"
+
+BDEPEND="test? ( dev-lang/go )"
+DEPEND="
+   >=media-libs/libaom-2.0.0:=[${MULTILIB_USEDEP}]
+   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}"
+PATCHES=(
+   "${FILESDIR}"/${P}-aom.patch
+)
+
+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
+}



[gentoo-commits] repo/gentoo:master commit in: media-libs/libheif/

2020-10-12 Thread Joonas Niilola
commit: 850072f7bbd4c5ad719218b10d3b6d259b3603ea
Author: Jakov Smolic  sartura  hr>
AuthorDate: Sun Oct 11 12:27:33 2020 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Mon Oct 12 09:06:00 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=850072f7

media-libs/libheif: add [${MULTILIB_USEDEP}] to gdk-pixbuf dep

Package-Manager: Portage-3.0.4, Repoman-3.0.1
Signed-off-by: Jakov Smolic  sartura.hr>
Closes: https://github.com/gentoo/gentoo/pull/17651
Signed-off-by: Joonas Niilola  gentoo.org>

 media-libs/libheif/libheif-1.7.0-r1.ebuild | 2 +-
 media-libs/libheif/libheif-1.7.0-r2.ebuild | 2 +-
 media-libs/libheif/libheif-1.9.1.ebuild| 2 +-
 media-libs/libheif/libheif-.ebuild | 2 +-
 4 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/media-libs/libheif/libheif-1.7.0-r1.ebuild 
b/media-libs/libheif/libheif-1.7.0-r1.ebuild
index 6eb48cf9b41..363d05f925d 100644
--- a/media-libs/libheif/libheif-1.7.0-r1.ebuild
+++ b/media-libs/libheif/libheif-1.7.0-r1.ebuild
@@ -30,7 +30,7 @@ DEPEND="
media-libs/x265:=[${MULTILIB_USEDEP}]
sys-libs/zlib:=[${MULTILIB_USEDEP}]
virtual/jpeg:0=[${MULTILIB_USEDEP}]
-   gdk-pixbuf? ( x11-libs/gdk-pixbuf )
+   gdk-pixbuf? ( x11-libs/gdk-pixbuf[${MULTILIB_USEDEP}] )
go? ( dev-lang/go )
 "
 RDEPEND="${DEPEND}"

diff --git a/media-libs/libheif/libheif-1.7.0-r2.ebuild 
b/media-libs/libheif/libheif-1.7.0-r2.ebuild
index 0e817601bd6..a3ab22e400f 100644
--- a/media-libs/libheif/libheif-1.7.0-r2.ebuild
+++ b/media-libs/libheif/libheif-1.7.0-r2.ebuild
@@ -31,7 +31,7 @@ DEPEND="
media-libs/x265:=[${MULTILIB_USEDEP}]
sys-libs/zlib:=[${MULTILIB_USEDEP}]
virtual/jpeg:0=[${MULTILIB_USEDEP}]
-   gdk-pixbuf? ( x11-libs/gdk-pixbuf )
+   gdk-pixbuf? ( x11-libs/gdk-pixbuf[${MULTILIB_USEDEP}] )
go? ( dev-lang/go )
 "
 RDEPEND="${DEPEND}"

diff --git a/media-libs/libheif/libheif-1.9.1.ebuild 
b/media-libs/libheif/libheif-1.9.1.ebuild
index ccfee4058de..20821993904 100644
--- a/media-libs/libheif/libheif-1.9.1.ebuild
+++ b/media-libs/libheif/libheif-1.9.1.ebuild
@@ -31,7 +31,7 @@ DEPEND="
media-libs/x265:=[${MULTILIB_USEDEP}]
sys-libs/zlib:=[${MULTILIB_USEDEP}]
virtual/jpeg:0=[${MULTILIB_USEDEP}]
-   gdk-pixbuf? ( x11-libs/gdk-pixbuf )
+   gdk-pixbuf? ( x11-libs/gdk-pixbuf[${MULTILIB_USEDEP}] )
go? ( dev-lang/go )
 "
 RDEPEND="${DEPEND}"

diff --git a/media-libs/libheif/libheif-.ebuild 
b/media-libs/libheif/libheif-.ebuild
index ccfee4058de..20821993904 100644
--- a/media-libs/libheif/libheif-.ebuild
+++ b/media-libs/libheif/libheif-.ebuild
@@ -31,7 +31,7 @@ DEPEND="
media-libs/x265:=[${MULTILIB_USEDEP}]
sys-libs/zlib:=[${MULTILIB_USEDEP}]
virtual/jpeg:0=[${MULTILIB_USEDEP}]
-   gdk-pixbuf? ( x11-libs/gdk-pixbuf )
+   gdk-pixbuf? ( x11-libs/gdk-pixbuf[${MULTILIB_USEDEP}] )
go? ( dev-lang/go )
 "
 RDEPEND="${DEPEND}"



[gentoo-commits] repo/gentoo:master commit in: media-libs/libheif/

2020-09-20 Thread Agostino Sarubbo
commit: 10f8e9403e2d4b6ba2fbb770965ebc4d8176f453
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Sun Sep 20 20:19:34 2020 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Sun Sep 20 20:19:34 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=10f8e940

media-libs/libheif: amd64 stable wrt bug #711240

Package-Manager: Portage-2.3.103, Repoman-2.3.23
RepoMan-Options: --include-arches="amd64"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 media-libs/libheif/libheif-1.7.0-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/libheif/libheif-1.7.0-r1.ebuild 
b/media-libs/libheif/libheif-1.7.0-r1.ebuild
index c8f713e39e8..389834d3586 100644
--- a/media-libs/libheif/libheif-1.7.0-r1.ebuild
+++ b/media-libs/libheif/libheif-1.7.0-r1.ebuild
@@ -10,7 +10,7 @@ if [[ ${PV} == "" ]] ; then
inherit git-r3
 else

SRC_URI="https://github.com/strukturag/${PN}/releases/download/v${PV}/${P}.tar.gz";
-   KEYWORDS="~amd64 ~arm arm64 ~ppc64 x86"
+   KEYWORDS="amd64 ~arm arm64 ~ppc64 x86"
 fi
 
 DESCRIPTION="ISO/IEC 23008-12:2017 HEIF file format decoder and encoder"



[gentoo-commits] repo/gentoo:master commit in: media-libs/libheif/

2020-09-06 Thread Thomas Deutschmann
commit: 14461e010a9bc2667eccadc6c8407e60f410a9c2
Author: Thomas Deutschmann  gentoo  org>
AuthorDate: Mon Sep  7 00:48:08 2020 +
Commit: Thomas Deutschmann  gentoo  org>
CommitDate: Mon Sep  7 00:48:08 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=14461e01

media-libs/libheif: x86 stable (bug #711240)

Package-Manager: Portage-3.0.4, Repoman-3.0.1
Signed-off-by: Thomas Deutschmann  gentoo.org>

 media-libs/libheif/libheif-1.7.0-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/libheif/libheif-1.7.0-r1.ebuild 
b/media-libs/libheif/libheif-1.7.0-r1.ebuild
index 6733a700071..c8f713e39e8 100644
--- a/media-libs/libheif/libheif-1.7.0-r1.ebuild
+++ b/media-libs/libheif/libheif-1.7.0-r1.ebuild
@@ -10,7 +10,7 @@ if [[ ${PV} == "" ]] ; then
inherit git-r3
 else

SRC_URI="https://github.com/strukturag/${PN}/releases/download/v${PV}/${P}.tar.gz";
-   KEYWORDS="~amd64 ~arm arm64 ~ppc64 ~x86"
+   KEYWORDS="~amd64 ~arm arm64 ~ppc64 x86"
 fi
 
 DESCRIPTION="ISO/IEC 23008-12:2017 HEIF file format decoder and encoder"



[gentoo-commits] repo/gentoo:master commit in: media-libs/libheif/

2020-09-06 Thread Sam James
commit: 2a6447f37addf5e82f488d07c038537621095d31
Author: Sam James  gentoo  org>
AuthorDate: Sun Sep  6 21:43:20 2020 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Sep  6 21:43:20 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2a6447f3

media-libs/libheif: Stabilize 1.7.0-r1 arm64, #711240

Signed-off-by: Sam James  gentoo.org>

 media-libs/libheif/libheif-1.7.0-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/libheif/libheif-1.7.0-r1.ebuild 
b/media-libs/libheif/libheif-1.7.0-r1.ebuild
index 038fd1f8452..6733a700071 100644
--- a/media-libs/libheif/libheif-1.7.0-r1.ebuild
+++ b/media-libs/libheif/libheif-1.7.0-r1.ebuild
@@ -10,7 +10,7 @@ if [[ ${PV} == "" ]] ; then
inherit git-r3
 else

SRC_URI="https://github.com/strukturag/${PN}/releases/download/v${PV}/${P}.tar.gz";
-   KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86"
+   KEYWORDS="~amd64 ~arm arm64 ~ppc64 ~x86"
 fi
 
 DESCRIPTION="ISO/IEC 23008-12:2017 HEIF file format decoder and encoder"



[gentoo-commits] repo/gentoo:master commit in: media-libs/libheif/

2020-08-30 Thread Thomas Deutschmann
commit: 1ae96d83ee425660293bf68ce7676eb11f099a9b
Author: Thomas Deutschmann  gentoo  org>
AuthorDate: Sun Aug 30 22:09:27 2020 +
Commit: Thomas Deutschmann  gentoo  org>
CommitDate: Sun Aug 30 22:17:22 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1ae96d83

media-libs/libheif: fix subslot

Package-Manager: Portage-3.0.4, Repoman-3.0.1
Signed-off-by: Thomas Deutschmann  gentoo.org>

 media-libs/libheif/{libheif-1.7.0.ebuild => libheif-1.7.0-r1.ebuild} | 2 +-
 media-libs/libheif/libheif-.ebuild   | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/media-libs/libheif/libheif-1.7.0.ebuild 
b/media-libs/libheif/libheif-1.7.0-r1.ebuild
similarity index 99%
rename from media-libs/libheif/libheif-1.7.0.ebuild
rename to media-libs/libheif/libheif-1.7.0-r1.ebuild
index ca71be35d3b..038fd1f8452 100644
--- a/media-libs/libheif/libheif-1.7.0.ebuild
+++ b/media-libs/libheif/libheif-1.7.0-r1.ebuild
@@ -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 )"
 

diff --git a/media-libs/libheif/libheif-.ebuild 
b/media-libs/libheif/libheif-.ebuild
index 5acdca7ee74..b8162330b12 100644
--- a/media-libs/libheif/libheif-.ebuild
+++ b/media-libs/libheif/libheif-.ebuild
@@ -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 )"
 



[gentoo-commits] repo/gentoo:master commit in: media-libs/libheif/

2020-08-30 Thread Thomas Deutschmann
commit: 793e385a422643539af5ae6af41a89a41fdc3957
Author: Jakov Smolic  sartura  hr>
AuthorDate: Mon Aug 17 11:25:10 2020 +
Commit: Thomas Deutschmann  gentoo  org>
CommitDate: Sun Aug 30 22:17:22 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=793e385a

media-libs/libheif: port to xdg eclass

Package-Manager: Portage-3.0.3, Repoman-3.0.0
Signed-off-by: Jakov Smolic  sartura.hr>
Closes: https://github.com/gentoo/gentoo/pull/17146
Signed-off-by: Thomas Deutschmann  gentoo.org>

 media-libs/libheif/libheif-1.5.1.ebuild | 10 +-
 media-libs/libheif/libheif-1.6.1.ebuild | 10 +-
 media-libs/libheif/libheif-1.6.2.ebuild | 10 +-
 media-libs/libheif/libheif-1.7.0.ebuild | 10 +-
 media-libs/libheif/libheif-.ebuild  | 10 +-
 5 files changed, 5 insertions(+), 45 deletions(-)

diff --git a/media-libs/libheif/libheif-1.5.1.ebuild 
b/media-libs/libheif/libheif-1.5.1.ebuild
index ea2fa1ddafb..157ef706807 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} == "" ]] ; 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 68966c34be8..93703270cf3 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} == "" ]] ; 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 3644fcb74e4..9a74d8cf8cb 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} == "" ]] ; 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.ebuild
index 3bba1148615..ca71be35d3b 100644
--- a/media-libs/libheif/libheif-1.7.0.ebuild
+++ b/media-libs/libheif/libheif-1.7.0.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=7
 
-inherit autotools xdg-utils multilib-minimal
+inherit autotools xdg multilib-minimal
 
 if [[ ${PV} == "" ]] ; then
EGIT_REPO_URI="https://github.com/strukturag/${PN}.git";
@@ -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-.ebuild 
b/media-libs/libheif/libheif-.ebuild
index 3e1aacd0ed3..5acdca7ee74 100644
--- a/media-libs/libheif/libheif-.ebuild
+++ b/media-libs/libheif/libheif-.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=7
 
-inherit autotools xdg-utils multilib-minimal
+inherit autotools xdg multilib-minimal
 
 if [[ ${PV} == "" ]] ; then
EGIT_REPO_URI="https://github.com/strukturag/${PN}.git";
@@ -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
-}



[gentoo-commits] repo/gentoo:master commit in: media-libs/libheif/

2020-08-30 Thread Thomas Deutschmann
commit: 346cb31537afca7b06a7663b6d65ab1458fc6be2
Author: Thomas Deutschmann  gentoo  org>
AuthorDate: Sun Aug 30 22:11:56 2020 +
Commit: Thomas Deutschmann  gentoo  org>
CommitDate: Sun Aug 30 22:17:23 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=346cb315

media-libs/libheif: bump to v1.8.0

Closes: https://github.com/gentoo/gentoo/pull/17294
Package-Manager: Portage-3.0.4, Repoman-3.0.1
Signed-off-by: Thomas Deutschmann  gentoo.org>

 media-libs/libheif/Manifest  | 1 +
 media-libs/libheif/{libheif-.ebuild => libheif-1.8.0.ebuild} | 2 +-
 media-libs/libheif/libheif-.ebuild   | 2 +-
 3 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/media-libs/libheif/Manifest b/media-libs/libheif/Manifest
index befd4776bec..1361ad58193 100644
--- a/media-libs/libheif/Manifest
+++ b/media-libs/libheif/Manifest
@@ -2,3 +2,4 @@ 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
+DIST libheif-1.8.0.tar.gz 1544438 BLAKE2B 
983d3675c6788f69d7839d72064ca97d7347f5b2105b489ea6834c6ca5ab3d0ad8dd9157ab9d8636d3978a308d9f1983c8e5b0d151ffd9c013c9b2c9ef059d74
 SHA512 
e6edf03c0baf7d55ace57b8de1cf05d3b6708a0bd58d4191599960ad3924509dd7e9528a021586012b768a5a5b253e5bab470b944a2ead45f85274842da4913a

diff --git a/media-libs/libheif/libheif-.ebuild 
b/media-libs/libheif/libheif-1.8.0.ebuild
similarity index 99%
copy from media-libs/libheif/libheif-.ebuild
copy to media-libs/libheif/libheif-1.8.0.ebuild
index b8162330b12..6c16fb0e9ab 100644
--- a/media-libs/libheif/libheif-.ebuild
+++ b/media-libs/libheif/libheif-1.8.0.ebuild
@@ -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.7"
+SLOT="0/1.8"
 IUSE="gdk-pixbuf go static-libs test +threads"
 RESTRICT="!test? ( test )"
 

diff --git a/media-libs/libheif/libheif-.ebuild 
b/media-libs/libheif/libheif-.ebuild
index b8162330b12..6c16fb0e9ab 100644
--- a/media-libs/libheif/libheif-.ebuild
+++ b/media-libs/libheif/libheif-.ebuild
@@ -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.7"
+SLOT="0/1.8"
 IUSE="gdk-pixbuf go static-libs test +threads"
 RESTRICT="!test? ( test )"
 



[gentoo-commits] repo/gentoo:master commit in: media-libs/libheif/

2020-08-16 Thread Jeroen Roovers
commit: e49fe8d27cc68e57ba75cb55d0c6dbcf47ccf1d7
Author: Jeroen Roovers  gentoo  org>
AuthorDate: Sun Aug 16 18:14:46 2020 +
Commit: Jeroen Roovers  gentoo  org>
CommitDate: Sun Aug 16 18:15:12 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e49fe8d2

media-libs/libheif: Add USE=gdk-pixbuf

Package-Manager: Portage-3.0.2, Repoman-2.3.23
Closes: https://bugs.gentoo.org/704746
Signed-off-by: Jeroen Roovers  gentoo.org>

 media-libs/libheif/libheif-1.7.0.ebuild | 4 +++-
 media-libs/libheif/libheif-.ebuild  | 4 +++-
 media-libs/libheif/metadata.xml | 3 ++-
 3 files changed, 8 insertions(+), 3 deletions(-)

diff --git a/media-libs/libheif/libheif-1.7.0.ebuild 
b/media-libs/libheif/libheif-1.7.0.ebuild
index c7406ee8a8e..3bba1148615 100644
--- a/media-libs/libheif/libheif-1.7.0.ebuild
+++ b/media-libs/libheif/libheif-1.7.0.ebuild
@@ -18,7 +18,7 @@ HOMEPAGE="https://github.com/strukturag/libheif";
 
 LICENSE="GPL-3"
 SLOT="0/1.6"
-IUSE="go static-libs test +threads"
+IUSE="gdk-pixbuf go static-libs test +threads"
 RESTRICT="!test? ( test )"
 
 BDEPEND="test? ( dev-lang/go )"
@@ -28,6 +28,7 @@ DEPEND="
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}"
@@ -49,6 +50,7 @@ src_prepare() {
 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)
)

diff --git a/media-libs/libheif/libheif-.ebuild 
b/media-libs/libheif/libheif-.ebuild
index 85e13a9e4cf..3e1aacd0ed3 100644
--- a/media-libs/libheif/libheif-.ebuild
+++ b/media-libs/libheif/libheif-.ebuild
@@ -18,7 +18,7 @@ HOMEPAGE="https://github.com/strukturag/libheif";
 
 LICENSE="GPL-3"
 SLOT="0/1.6"
-IUSE="go static-libs test +threads"
+IUSE="gdk-pixbuf go static-libs test +threads"
 RESTRICT="!test? ( test )"
 
 BDEPEND="test? ( dev-lang/go )"
@@ -28,6 +28,7 @@ DEPEND="
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}"
@@ -46,6 +47,7 @@ src_prepare() {
 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)
)

diff --git a/media-libs/libheif/metadata.xml b/media-libs/libheif/metadata.xml
index 481879a1442..f92d3bad5e8 100644
--- a/media-libs/libheif/metadata.xml
+++ b/media-libs/libheif/metadata.xml
@@ -3,7 +3,8 @@
 


-   Add support for dev-lang/go
+   Enable x11-libs/gdk-pixbuf 
plugin
+   Enable building dev-lang/go 
code/examples


https://github.com/strukturag/libheif/issues



[gentoo-commits] repo/gentoo:master commit in: media-libs/libheif/

2020-08-16 Thread Jeroen Roovers
commit: 7e5ad988066758717d00cbb360d708a6e71ab6e2
Author: Jeroen Roovers  gentoo  org>
AuthorDate: Sun Aug 16 17:58:01 2020 +
Commit: Jeroen Roovers  gentoo  org>
CommitDate: Sun Aug 16 18:01:43 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7e5ad988

media-libs/libheif: Add USE=go, disable for non-native ABIs

Package-Manager: Portage-3.0.2, Repoman-2.3.23
Closes: https://bugs.gentoo.org/696850
Signed-off-by: Jeroen Roovers  gentoo.org>

 media-libs/libheif/libheif-1.7.0.ebuild | 16 +++-
 media-libs/libheif/libheif-.ebuild  | 13 ++---
 media-libs/libheif/metadata.xml |  3 +++
 3 files changed, 16 insertions(+), 16 deletions(-)

diff --git a/media-libs/libheif/libheif-1.7.0.ebuild 
b/media-libs/libheif/libheif-1.7.0.ebuild
index e62a26c8f09..c7406ee8a8e 100644
--- a/media-libs/libheif/libheif-1.7.0.ebuild
+++ b/media-libs/libheif/libheif-1.7.0.ebuild
@@ -18,7 +18,7 @@ HOMEPAGE="https://github.com/strukturag/libheif";
 
 LICENSE="GPL-3"
 SLOT="0/1.6"
-IUSE="static-libs test +threads"
+IUSE="go static-libs test +threads"
 RESTRICT="!test? ( test )"
 
 BDEPEND="test? ( dev-lang/go )"
@@ -28,11 +28,11 @@ DEPEND="
media-libs/x265:=[${MULTILIB_USEDEP}]
sys-libs/zlib:=[${MULTILIB_USEDEP}]
virtual/jpeg:0=[${MULTILIB_USEDEP}]
+   go? ( dev-lang/go )
 "
 RDEPEND="${DEPEND}"
-
 PATCHES=(
-   "${FILESDIR}/${P}-aom.patch"
+   "${FILESDIR}"/${P}-aom.patch
 )
 
 src_prepare() {
@@ -47,18 +47,16 @@ src_prepare() {
 }
 
 multilib_src_configure() {
-   local myeconfargs=(
-   $(use_enable threads multithreading)
+   local econf_args=(
+   $(multilib_is_native_abi && use_enable go || echo --disable-go)
$(use_enable static-libs static)
+   $(use_enable threads multithreading)
)
-   ECONF_SOURCE="${S}" econf "${myeconfargs[@]}"
+   ECONF_SOURCE="${S}" econf "${econf_args[@]}"
 }
 
 multilib_src_install_all() {
find "${ED}" -name '*.la' -delete || die
-   if ! use static-libs ; then
-   find "${ED}" -name "*.a" -delete || die
-   fi
 }
 
 pkg_postinst() {

diff --git a/media-libs/libheif/libheif-.ebuild 
b/media-libs/libheif/libheif-.ebuild
index 088340073a1..85e13a9e4cf 100644
--- a/media-libs/libheif/libheif-.ebuild
+++ b/media-libs/libheif/libheif-.ebuild
@@ -18,7 +18,7 @@ HOMEPAGE="https://github.com/strukturag/libheif";
 
 LICENSE="GPL-3"
 SLOT="0/1.6"
-IUSE="static-libs test +threads"
+IUSE="go static-libs test +threads"
 RESTRICT="!test? ( test )"
 
 BDEPEND="test? ( dev-lang/go )"
@@ -28,6 +28,7 @@ DEPEND="
media-libs/x265:=[${MULTILIB_USEDEP}]
sys-libs/zlib:=[${MULTILIB_USEDEP}]
virtual/jpeg:0=[${MULTILIB_USEDEP}]
+   go? ( dev-lang/go )
 "
 RDEPEND="${DEPEND}"
 
@@ -43,18 +44,16 @@ src_prepare() {
 }
 
 multilib_src_configure() {
-   local myeconfargs=(
-   $(use_enable threads multithreading)
+   local econf_args=(
+   $(multilib_is_native_abi && use_enable go || echo --disable-go)
$(use_enable static-libs static)
+   $(use_enable threads multithreading)
)
-   ECONF_SOURCE="${S}" econf "${myeconfargs[@]}"
+   ECONF_SOURCE="${S}" econf "${econf_args[@]}"
 }
 
 multilib_src_install_all() {
find "${ED}" -name '*.la' -delete || die
-   if ! use static-libs ; then
-   find "${ED}" -name "*.a" -delete || die
-   fi
 }
 
 pkg_postinst() {

diff --git a/media-libs/libheif/metadata.xml b/media-libs/libheif/metadata.xml
index ee4cf414e0d..481879a1442 100644
--- a/media-libs/libheif/metadata.xml
+++ b/media-libs/libheif/metadata.xml
@@ -2,6 +2,9 @@
 http://www.gentoo.org/dtd/metadata.dtd";>
 

+   
+   Add support for dev-lang/go
+   

https://github.com/strukturag/libheif/issues
strukturag/libheif



[gentoo-commits] repo/gentoo:master commit in: media-libs/libheif/files/, media-libs/libheif/

2020-08-16 Thread Sam James
commit: d2cd6dbc4a29dbb6c239c47d38cf161b3a603f83
Author: Jakov Smolic  sartura  hr>
AuthorDate: Sat Aug 15 09:17:06 2020 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Aug 16 07:19:38 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d2cd6dbc

media-libs/libheif: run tests on <1.7.0

Package-Manager: Portage-2.3.99, Repoman-2.3.23
Signed-off-by: Jakov Smolic  sartura.hr>
Closes: 
https://github.com/gentoo/gentoo/pull/17122/commits/d17ef92b2d7cb5e5b36f64f3e383da6820a3d5c0
Signed-off-by: Sam James  gentoo.org>

 media-libs/libheif/files/heif_test.go   | 155 
 media-libs/libheif/libheif-1.5.1.ebuild |  13 ++-
 media-libs/libheif/libheif-1.6.1.ebuild |  12 ++-
 media-libs/libheif/libheif-1.6.2.ebuild |  12 ++-
 4 files changed, 188 insertions(+), 4 deletions(-)

diff --git a/media-libs/libheif/files/heif_test.go 
b/media-libs/libheif/files/heif_test.go
new file mode 100644
index 000..187d773dea6
--- /dev/null
+++ b/media-libs/libheif/files/heif_test.go
@@ -0,0 +1,155 @@
+/*
+ * GO interface to libheif
+ * Copyright (c) 2018 struktur AG, Joachim Bauch 
+ *
+ * This file is part of heif, an example application using libheif.
+ *
+ * heif is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * heif is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with heif.  If not, see .
+ */
+
+package heif
+
+import (
+   "fmt"
+   "image"
+   "io/ioutil"
+   "os"
+   "path"
+   "testing"
+)
+
+func TestGetVersion(t *testing.T) {
+   version := GetVersion()
+   if version == "" {
+   t.Fatal("Version is missing")
+   }
+}
+
+func CheckHeifImage(t *testing.T, handle *ImageHandle, thumbnail bool) {
+   handle.GetWidth()
+   handle.GetHeight()
+   handle.HasAlphaChannel()
+   handle.HasDepthImage()
+   count := handle.GetNumberOfDepthImages()
+   if ids := handle.GetListOfDepthImageIDs(); len(ids) != count {
+   t.Errorf("Expected %d depth image ids, got %d", count, len(ids))
+   }
+   if !thumbnail {
+   count = handle.GetNumberOfThumbnails()
+   ids := handle.GetListOfThumbnailIDs()
+   if len(ids) != count {
+   t.Errorf("Expected %d thumbnail image ids, got %d", 
count, len(ids))
+   }
+   for _, id := range ids {
+   if thumb, err := handle.GetThumbnail(id); err != nil {
+   t.Errorf("Could not get thumbnail %d: %s", id, 
err)
+   } else {
+   CheckHeifImage(t, thumb, true)
+   }
+   }
+   }
+
+   if img, err := handle.DecodeImage(ColorspaceUndefined, ChromaUndefined, 
nil); err != nil {
+   t.Errorf("Could not decode image: %s", err)
+   } else {
+   img.GetColorspace()
+   img.GetChromaFormat()
+   }
+}
+
+func CheckHeifFile(t *testing.T, ctx *Context) {
+   if count := ctx.GetNumberOfTopLevelImages(); count != 2 {
+   t.Errorf("Expected %d top level images, got %d", 2, count)
+   }
+   if ids := ctx.GetListOfTopLevelImageIDs(); len(ids) != 2 {
+   t.Errorf("Expected %d top level image ids, got %+v", 2, ids)
+   }
+   if _, err := ctx.GetPrimaryImageID(); err != nil {
+   t.Errorf("Expected a primary image, got %s", err)
+   }
+   if handle, err := ctx.GetPrimaryImageHandle(); err != nil {
+   t.Errorf("Could not get primary image handle: %s", err)
+   } else {
+   if !handle.IsPrimaryImage() {
+   t.Error("Expected primary image")
+   }
+   CheckHeifImage(t, handle, false)
+   }
+}
+
+func TestReadFromFile(t *testing.T) {
+   ctx, err := NewContext()
+   if err != nil {
+   t.Fatalf("Can't create context: %s", err)
+   }
+
+   filename := path.Join("..", "..", "examples", "example.heic")
+   if err := ctx.ReadFromFile(filename); err != nil {
+   t.Fatalf("Can't read from %s: %s", filename, err)
+   }
+
+   CheckHeifFile(t, ctx)
+}
+
+func TestReadFromMemory(t *testing.T) {
+   ctx, err := NewContext()
+   if err != nil {
+   t.Fatalf("Can't create context: %s", err)
+   }
+
+   filename := path.Join("..", "..", "examples", "example.heic")
+   data, err := ioutil.ReadFile(filename)
+   if er

[gentoo-commits] repo/gentoo:master commit in: media-libs/libheif/files/, media-libs/libheif/

2020-08-15 Thread Sam James
commit: 87a3129de24ace71bad061eab0830305db2b1f30
Author: Jakov Smolic  sartura  hr>
AuthorDate: Fri Aug 14 20:06:50 2020 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Aug 16 06:18:15 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=87a3129d

media-libs/libheif: bump to 1.7.0

Closes: https://bugs.gentoo.org/720166
Package-Manager: Portage-2.3.99, Repoman-2.3.23
Signed-off-by: Jakov Smolic  sartura.hr>
Signed-off-by: Sam James  gentoo.org>

 media-libs/libheif/Manifest  |  1 +
 media-libs/libheif/files/libheif-1.7.0-aom.patch | 46 +++
 media-libs/libheif/libheif-1.7.0.ebuild  | 71 
 3 files changed, 118 insertions(+)

diff --git a/media-libs/libheif/Manifest b/media-libs/libheif/Manifest
index 95bd4fae9f8..befd4776bec 100644
--- a/media-libs/libheif/Manifest
+++ b/media-libs/libheif/Manifest
@@ -1,3 +1,4 @@
 DIST libheif-1.5.1.tar.gz 1510087 BLAKE2B 
1dd5e913c8913c6b62b770653585f8ccf7cda14c4dd79ff2073bf085da4d730accaef8d0f8008ac941238a7e3e131add1a218e0c78a886847b3bcf253d66c9b6
 SHA512 
05e32ebff08d5f0e82e9b1107253c27882ae1694150033fe7b3ca07db8c64567f09002081276e92a3b490a63022a1522d577b094a7f489742139758d17f484b8
 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

diff --git a/media-libs/libheif/files/libheif-1.7.0-aom.patch 
b/media-libs/libheif/files/libheif-1.7.0-aom.patch
new file mode 100644
index 000..9dce291f964
--- /dev/null
+++ b/media-libs/libheif/files/libheif-1.7.0-aom.patch
@@ -0,0 +1,46 @@
+From 331dff0ba58d5265ddcdadeaf5a45c1f0698a388 Mon Sep 17 00:00:00 2001
+From: Jakov Smolic 
+Date: Fri, 14 Aug 2020 22:03:25 +0200
+Subject: [PATCH] Fix building against aom 1.0
+
+Taken from upstream commit:
+https://github.com/strukturag/libheif/commit/6768552c0a99bb2957906be0f369850326486a58
+
+Signed-off-by: Jakov Smolic 
+---
+ libheif/heif_encoder_aom.cc | 11 ---
+ 1 file changed, 8 insertions(+), 3 deletions(-)
+
+diff --git a/libheif/heif_encoder_aom.cc b/libheif/heif_encoder_aom.cc
+index 9953e34..669a51a 100644
+--- a/libheif/heif_encoder_aom.cc
 b/libheif/heif_encoder_aom.cc
+@@ -502,9 +502,11 @@ struct heif_error aom_encode_image(void* encoder_raw, 
const struct heif_image* i
+ 
+ 
+   // --- configure codec
+-
+-  unsigned int aomUsage = (encoder->realtime_mode ? AOM_USAGE_REALTIME : 
AOM_USAGE_GOOD_QUALITY);
+-
++  unsigned int aomUsage = 0;
++#if defined(AOM_USAGE_REALTIME)
++  // aom 2.0
++  aomUsage = (encoder->realtime_mode ? AOM_USAGE_REALTIME : 
AOM_USAGE_GOOD_QUALITY);
++#endif
+ 
+   aom_codec_enc_cfg_t cfg;
+   aom_codec_err_t res = aom_codec_enc_config_default(encoder->iface, &cfg, 
aomUsage);
+@@ -540,7 +542,10 @@ struct heif_error aom_encode_image(void* encoder_raw, 
const struct heif_image* i
+   aom_codec_control(&encoder->codec, AOME_SET_CPUUSED, encoder->cpu_used);
+ 
+   if (encoder->threads > 1) {
++#if defined(AV1E_SET_ROW_MT)
++// aom 2.0
+ aom_codec_control(&encoder->codec, AV1E_SET_ROW_MT, 1);
++#endif
+   }
+ 
+   // --- encode frame
+-- 
+2.26.2
+

diff --git a/media-libs/libheif/libheif-1.7.0.ebuild 
b/media-libs/libheif/libheif-1.7.0.ebuild
new file mode 100644
index 000..8cb390a020e
--- /dev/null
+++ b/media-libs/libheif/libheif-1.7.0.ebuild
@@ -0,0 +1,71 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit autotools xdg-utils multilib-minimal
+
+if [[ ${PV} == "" ]] ; 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.6"
+IUSE="static-libs test +threads"
+
+RESTRICT="!test? ( test )"
+
+BDEPEND="test? ( dev-lang/go )"
+DEPEND="
+   media-libs/libde265:=[${MULTILIB_USEDEP}]
+   media-libs/libpng:0=[${MULTILIB_USEDEP}]
+   

[gentoo-commits] repo/gentoo:master commit in: media-libs/libheif/

2020-08-15 Thread Sam James
commit: 41aea27749f4dd7027f4d95d9b7d0b0e14e42799
Author: Sam James  gentoo  org>
AuthorDate: Sun Aug 16 06:17:03 2020 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Aug 16 06:18:15 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=41aea277

media-libs/libheif: sync live

Package-Manager: Portage-3.0.2, Repoman-2.3.23
Signed-off-by: Sam James  gentoo.org>

 media-libs/libheif/libheif-.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/media-libs/libheif/libheif-.ebuild 
b/media-libs/libheif/libheif-.ebuild
index bf0048c2ecf..be2b7b5f34e 100644
--- a/media-libs/libheif/libheif-.ebuild
+++ b/media-libs/libheif/libheif-.ebuild
@@ -1,7 +1,7 @@
 # Copyright 1999-2020 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI="7"
+EAPI=7
 
 inherit autotools xdg-utils multilib-minimal
 
@@ -10,7 +10,7 @@ if [[ ${PV} == "" ]] ; then
inherit git-r3
 else

SRC_URI="https://github.com/strukturag/${PN}/releases/download/v${PV}/${P}.tar.gz";
-   KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86"
+   KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86"
 fi
 
 DESCRIPTION="ISO/IEC 23008-12:2017 HEIF file format decoder and encoder"



[gentoo-commits] repo/gentoo:master commit in: media-libs/libheif/

2020-08-15 Thread Sam James
commit: 33be422b0df22b339e6a016a6e6f5003868edbfe
Author: Sam James  gentoo  org>
AuthorDate: Sun Aug 16 06:17:55 2020 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Aug 16 06:18:15 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=33be422b

media-libs/libheif: style changes

Package-Manager: Portage-3.0.2, Repoman-2.3.23
Signed-off-by: Sam James  gentoo.org>

 media-libs/libheif/libheif-1.6.1.ebuild | 1 -
 media-libs/libheif/libheif-1.6.2.ebuild | 1 -
 media-libs/libheif/libheif-1.7.0.ebuild | 1 -
 media-libs/libheif/libheif-.ebuild  | 1 -
 4 files changed, 4 deletions(-)

diff --git a/media-libs/libheif/libheif-1.6.1.ebuild 
b/media-libs/libheif/libheif-1.6.1.ebuild
index bf0048c2ecf..07885456ea4 100644
--- a/media-libs/libheif/libheif-1.6.1.ebuild
+++ b/media-libs/libheif/libheif-1.6.1.ebuild
@@ -19,7 +19,6 @@ HOMEPAGE="https://github.com/strukturag/libheif";
 LICENSE="GPL-3"
 SLOT="0/1.6"
 IUSE="static-libs test +threads"
-
 RESTRICT="!test? ( test )"
 
 BDEPEND="test? ( dev-lang/go )"

diff --git a/media-libs/libheif/libheif-1.6.2.ebuild 
b/media-libs/libheif/libheif-1.6.2.ebuild
index ec654229200..f82ec6214c6 100644
--- a/media-libs/libheif/libheif-1.6.2.ebuild
+++ b/media-libs/libheif/libheif-1.6.2.ebuild
@@ -19,7 +19,6 @@ HOMEPAGE="https://github.com/strukturag/libheif";
 LICENSE="GPL-3"
 SLOT="0/1.6"
 IUSE="static-libs test +threads"
-
 RESTRICT="!test? ( test )"
 
 BDEPEND="test? ( dev-lang/go )"

diff --git a/media-libs/libheif/libheif-1.7.0.ebuild 
b/media-libs/libheif/libheif-1.7.0.ebuild
index 8cb390a020e..e62a26c8f09 100644
--- a/media-libs/libheif/libheif-1.7.0.ebuild
+++ b/media-libs/libheif/libheif-1.7.0.ebuild
@@ -19,7 +19,6 @@ HOMEPAGE="https://github.com/strukturag/libheif";
 LICENSE="GPL-3"
 SLOT="0/1.6"
 IUSE="static-libs test +threads"
-
 RESTRICT="!test? ( test )"
 
 BDEPEND="test? ( dev-lang/go )"

diff --git a/media-libs/libheif/libheif-.ebuild 
b/media-libs/libheif/libheif-.ebuild
index be2b7b5f34e..088340073a1 100644
--- a/media-libs/libheif/libheif-.ebuild
+++ b/media-libs/libheif/libheif-.ebuild
@@ -19,7 +19,6 @@ HOMEPAGE="https://github.com/strukturag/libheif";
 LICENSE="GPL-3"
 SLOT="0/1.6"
 IUSE="static-libs test +threads"
-
 RESTRICT="!test? ( test )"
 
 BDEPEND="test? ( dev-lang/go )"



[gentoo-commits] repo/gentoo:master commit in: media-libs/libheif/files/, media-libs/libheif/

2020-08-14 Thread Sam James
commit: 037503cb9f6b23fcfef0f858ad1d80c8f0768504
Author: Sam James  gentoo  org>
AuthorDate: Sat Aug 15 00:57:50 2020 +
Commit: Sam James  gentoo  org>
CommitDate: Sat Aug 15 00:58:15 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=037503cb

Revert "media-libs/libheif: bump to 1.7.0"

I thought I'd removed this from my queue.
This reverts commit 2342cb1351a329a8398db9a71cea7deddb8db61d.

Signed-off-by: Sam James  gentoo.org>

 media-libs/libheif/Manifest  |  1 -
 media-libs/libheif/files/libheif-1.7.0-aom.patch | 46 ---
 media-libs/libheif/libheif-1.7.0.ebuild  | 71 
 3 files changed, 118 deletions(-)

diff --git a/media-libs/libheif/Manifest b/media-libs/libheif/Manifest
index befd4776bec..95bd4fae9f8 100644
--- a/media-libs/libheif/Manifest
+++ b/media-libs/libheif/Manifest
@@ -1,4 +1,3 @@
 DIST libheif-1.5.1.tar.gz 1510087 BLAKE2B 
1dd5e913c8913c6b62b770653585f8ccf7cda14c4dd79ff2073bf085da4d730accaef8d0f8008ac941238a7e3e131add1a218e0c78a886847b3bcf253d66c9b6
 SHA512 
05e32ebff08d5f0e82e9b1107253c27882ae1694150033fe7b3ca07db8c64567f09002081276e92a3b490a63022a1522d577b094a7f489742139758d17f484b8
 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

diff --git a/media-libs/libheif/files/libheif-1.7.0-aom.patch 
b/media-libs/libheif/files/libheif-1.7.0-aom.patch
deleted file mode 100644
index 9dce291f964..000
--- a/media-libs/libheif/files/libheif-1.7.0-aom.patch
+++ /dev/null
@@ -1,46 +0,0 @@
-From 331dff0ba58d5265ddcdadeaf5a45c1f0698a388 Mon Sep 17 00:00:00 2001
-From: Jakov Smolic 
-Date: Fri, 14 Aug 2020 22:03:25 +0200
-Subject: [PATCH] Fix building against aom 1.0
-
-Taken from upstream commit:
-https://github.com/strukturag/libheif/commit/6768552c0a99bb2957906be0f369850326486a58
-
-Signed-off-by: Jakov Smolic 

- libheif/heif_encoder_aom.cc | 11 ---
- 1 file changed, 8 insertions(+), 3 deletions(-)
-
-diff --git a/libheif/heif_encoder_aom.cc b/libheif/heif_encoder_aom.cc
-index 9953e34..669a51a 100644
 a/libheif/heif_encoder_aom.cc
-+++ b/libheif/heif_encoder_aom.cc
-@@ -502,9 +502,11 @@ struct heif_error aom_encode_image(void* encoder_raw, 
const struct heif_image* i
- 
- 
-   // --- configure codec
--
--  unsigned int aomUsage = (encoder->realtime_mode ? AOM_USAGE_REALTIME : 
AOM_USAGE_GOOD_QUALITY);
--
-+  unsigned int aomUsage = 0;
-+#if defined(AOM_USAGE_REALTIME)
-+  // aom 2.0
-+  aomUsage = (encoder->realtime_mode ? AOM_USAGE_REALTIME : 
AOM_USAGE_GOOD_QUALITY);
-+#endif
- 
-   aom_codec_enc_cfg_t cfg;
-   aom_codec_err_t res = aom_codec_enc_config_default(encoder->iface, &cfg, 
aomUsage);
-@@ -540,7 +542,10 @@ struct heif_error aom_encode_image(void* encoder_raw, 
const struct heif_image* i
-   aom_codec_control(&encoder->codec, AOME_SET_CPUUSED, encoder->cpu_used);
- 
-   if (encoder->threads > 1) {
-+#if defined(AV1E_SET_ROW_MT)
-+// aom 2.0
- aom_codec_control(&encoder->codec, AV1E_SET_ROW_MT, 1);
-+#endif
-   }
- 
-   // --- encode frame
--- 
-2.26.2
-

diff --git a/media-libs/libheif/libheif-1.7.0.ebuild 
b/media-libs/libheif/libheif-1.7.0.ebuild
deleted file mode 100644
index 8cb390a020e..000
--- a/media-libs/libheif/libheif-1.7.0.ebuild
+++ /dev/null
@@ -1,71 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit autotools xdg-utils multilib-minimal
-
-if [[ ${PV} == "" ]] ; 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.6"
-IUSE="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

[gentoo-commits] repo/gentoo:master commit in: media-libs/libheif/, media-libs/libheif/files/

2020-08-14 Thread Sam James
commit: 2342cb1351a329a8398db9a71cea7deddb8db61d
Author: Jakov Smolic  sartura  hr>
AuthorDate: Fri Aug 14 20:06:50 2020 +
Commit: Sam James  gentoo  org>
CommitDate: Sat Aug 15 00:50:48 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2342cb13

media-libs/libheif: bump to 1.7.0

Closes: https://bugs.gentoo.org/720166
Package-Manager: Portage-2.3.99, Repoman-2.3.23
Signed-off-by: Jakov Smolic  sartura.hr>
Closes: https://github.com/gentoo/gentoo/pull/17122
Signed-off-by: Sam James  gentoo.org>

 media-libs/libheif/Manifest  |  1 +
 media-libs/libheif/files/libheif-1.7.0-aom.patch | 46 +++
 media-libs/libheif/libheif-1.7.0.ebuild  | 71 
 3 files changed, 118 insertions(+)

diff --git a/media-libs/libheif/Manifest b/media-libs/libheif/Manifest
index 95bd4fae9f8..befd4776bec 100644
--- a/media-libs/libheif/Manifest
+++ b/media-libs/libheif/Manifest
@@ -1,3 +1,4 @@
 DIST libheif-1.5.1.tar.gz 1510087 BLAKE2B 
1dd5e913c8913c6b62b770653585f8ccf7cda14c4dd79ff2073bf085da4d730accaef8d0f8008ac941238a7e3e131add1a218e0c78a886847b3bcf253d66c9b6
 SHA512 
05e32ebff08d5f0e82e9b1107253c27882ae1694150033fe7b3ca07db8c64567f09002081276e92a3b490a63022a1522d577b094a7f489742139758d17f484b8
 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

diff --git a/media-libs/libheif/files/libheif-1.7.0-aom.patch 
b/media-libs/libheif/files/libheif-1.7.0-aom.patch
new file mode 100644
index 000..9dce291f964
--- /dev/null
+++ b/media-libs/libheif/files/libheif-1.7.0-aom.patch
@@ -0,0 +1,46 @@
+From 331dff0ba58d5265ddcdadeaf5a45c1f0698a388 Mon Sep 17 00:00:00 2001
+From: Jakov Smolic 
+Date: Fri, 14 Aug 2020 22:03:25 +0200
+Subject: [PATCH] Fix building against aom 1.0
+
+Taken from upstream commit:
+https://github.com/strukturag/libheif/commit/6768552c0a99bb2957906be0f369850326486a58
+
+Signed-off-by: Jakov Smolic 
+---
+ libheif/heif_encoder_aom.cc | 11 ---
+ 1 file changed, 8 insertions(+), 3 deletions(-)
+
+diff --git a/libheif/heif_encoder_aom.cc b/libheif/heif_encoder_aom.cc
+index 9953e34..669a51a 100644
+--- a/libheif/heif_encoder_aom.cc
 b/libheif/heif_encoder_aom.cc
+@@ -502,9 +502,11 @@ struct heif_error aom_encode_image(void* encoder_raw, 
const struct heif_image* i
+ 
+ 
+   // --- configure codec
+-
+-  unsigned int aomUsage = (encoder->realtime_mode ? AOM_USAGE_REALTIME : 
AOM_USAGE_GOOD_QUALITY);
+-
++  unsigned int aomUsage = 0;
++#if defined(AOM_USAGE_REALTIME)
++  // aom 2.0
++  aomUsage = (encoder->realtime_mode ? AOM_USAGE_REALTIME : 
AOM_USAGE_GOOD_QUALITY);
++#endif
+ 
+   aom_codec_enc_cfg_t cfg;
+   aom_codec_err_t res = aom_codec_enc_config_default(encoder->iface, &cfg, 
aomUsage);
+@@ -540,7 +542,10 @@ struct heif_error aom_encode_image(void* encoder_raw, 
const struct heif_image* i
+   aom_codec_control(&encoder->codec, AOME_SET_CPUUSED, encoder->cpu_used);
+ 
+   if (encoder->threads > 1) {
++#if defined(AV1E_SET_ROW_MT)
++// aom 2.0
+ aom_codec_control(&encoder->codec, AV1E_SET_ROW_MT, 1);
++#endif
+   }
+ 
+   // --- encode frame
+-- 
+2.26.2
+

diff --git a/media-libs/libheif/libheif-1.7.0.ebuild 
b/media-libs/libheif/libheif-1.7.0.ebuild
new file mode 100644
index 000..8cb390a020e
--- /dev/null
+++ b/media-libs/libheif/libheif-1.7.0.ebuild
@@ -0,0 +1,71 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit autotools xdg-utils multilib-minimal
+
+if [[ ${PV} == "" ]] ; 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.6"
+IUSE="static-libs test +threads"
+
+RESTRICT="!test? ( test )"
+
+BDEPEND="test? ( dev-lang/go )"
+DEPEND="
+   media-libs/libde265:=[${MULTILIB_USEDEP}]
+

[gentoo-commits] repo/gentoo:master commit in: media-libs/libheif/

2020-07-29 Thread Sam James
commit: 3fef8abae24ca3607c5f5ab45b4a9497b1269aa9
Author: Sam James  gentoo  org>
AuthorDate: Thu Jul 30 04:01:38 2020 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Jul 30 04:01:38 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3fef8aba

media-libs/libheif: arm keyworded (bug #734056)

Package-Manager: Portage-3.0.1, Repoman-2.3.23
Signed-off-by: Sam James  gentoo.org>

 media-libs/libheif/libheif-1.6.2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/libheif/libheif-1.6.2.ebuild 
b/media-libs/libheif/libheif-1.6.2.ebuild
index bf0048c2ecf..ec654229200 100644
--- a/media-libs/libheif/libheif-1.6.2.ebuild
+++ b/media-libs/libheif/libheif-1.6.2.ebuild
@@ -10,7 +10,7 @@ if [[ ${PV} == "" ]] ; then
inherit git-r3
 else

SRC_URI="https://github.com/strukturag/${PN}/releases/download/v${PV}/${P}.tar.gz";
-   KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86"
+   KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86"
 fi
 
 DESCRIPTION="ISO/IEC 23008-12:2017 HEIF file format decoder and encoder"



[gentoo-commits] repo/gentoo:master commit in: media-libs/libheif/

2020-07-27 Thread Craig Andrews
commit: 3f46f35320423c37cf9ff78ae8a731619bc3ba87
Author: Karlson2k (Evgeny Grin)  narod  ru>
AuthorDate: Sun Jul 26 16:34:39 2020 +
Commit: Craig Andrews  gentoo  org>
CommitDate: Mon Jul 27 15:09:36 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3f46f353

media-libs/libheif: bump to 1.6.2

Signed-off-by: Karlson2k (Evgeny Grin)  narod.ru>
Closes: https://github.com/gentoo/gentoo/pull/16837
Signed-off-by: Craig Andrews  gentoo.org>

 media-libs/libheif/Manifest  | 1 +
 media-libs/libheif/{libheif-.ebuild => libheif-1.6.2.ebuild} | 2 +-
 media-libs/libheif/libheif-.ebuild   | 2 +-
 3 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/media-libs/libheif/Manifest b/media-libs/libheif/Manifest
index da28314d049..95bd4fae9f8 100644
--- a/media-libs/libheif/Manifest
+++ b/media-libs/libheif/Manifest
@@ -1,2 +1,3 @@
 DIST libheif-1.5.1.tar.gz 1510087 BLAKE2B 
1dd5e913c8913c6b62b770653585f8ccf7cda14c4dd79ff2073bf085da4d730accaef8d0f8008ac941238a7e3e131add1a218e0c78a886847b3bcf253d66c9b6
 SHA512 
05e32ebff08d5f0e82e9b1107253c27882ae1694150033fe7b3ca07db8c64567f09002081276e92a3b490a63022a1522d577b094a7f489742139758d17f484b8
 DIST libheif-1.6.1.tar.gz 1514950 BLAKE2B 
d658f0c408f9a09eaac890119119327bd3e9c84db785d001b2c7a979b9574a6723403fe063ed6ce77812bface04be124e808fc90c1325c13e3d87f8b46ac0b65
 SHA512 
5a2104e529d59c23c988b6c0c167f9e7017ff77763eb71fee1c26f97624e9d7e2d0f863123d1886536d37f96ea6b93969a1c53e747672c54a2220aa6f47be1bf
+DIST libheif-1.6.2.tar.gz 1515763 BLAKE2B 
e7a901394349bc8bbf633a0193d7a08a1cecf7e97a8ac709efb9c2e5e6da387c7fa5e8b551cecf1f67b4e7a7d06f034e64c20d7c55f9a7898c0badb79ed485f7
 SHA512 
41848c05d88f82827ebdd0662a1870ce8b7899f6a86ef5aa483b301176602da8e69d2c5a49b4d911bc0cac51bdab81a06fd43efae2722092cc09c02119c95f07

diff --git a/media-libs/libheif/libheif-.ebuild 
b/media-libs/libheif/libheif-1.6.2.ebuild
similarity index 97%
copy from media-libs/libheif/libheif-.ebuild
copy to media-libs/libheif/libheif-1.6.2.ebuild
index 6cc971a64be..bf0048c2ecf 100644
--- a/media-libs/libheif/libheif-.ebuild
+++ b/media-libs/libheif/libheif-1.6.2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2020 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI="7"

diff --git a/media-libs/libheif/libheif-.ebuild 
b/media-libs/libheif/libheif-.ebuild
index 6cc971a64be..bf0048c2ecf 100644
--- a/media-libs/libheif/libheif-.ebuild
+++ b/media-libs/libheif/libheif-.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2020 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI="7"



[gentoo-commits] repo/gentoo:master commit in: media-libs/libheif/

2020-03-08 Thread Andreas Sturmlechner
commit: 0f58a8b83fba754db1d98496829bc98c6aa51680
Author: Andreas Sturmlechner  gentoo  org>
AuthorDate: Sun Mar  8 19:59:42 2020 +
Commit: Andreas Sturmlechner  gentoo  org>
CommitDate: Sun Mar  8 19:59:42 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0f58a8b8

media-libs/libheif: Drop 1.6.0

Package-Manager: Portage-2.3.93, Repoman-2.3.20
Signed-off-by: Andreas Sturmlechner  gentoo.org>

 media-libs/libheif/Manifest |  1 -
 media-libs/libheif/libheif-1.6.0.ebuild | 67 -
 2 files changed, 68 deletions(-)

diff --git a/media-libs/libheif/Manifest b/media-libs/libheif/Manifest
index a411387d415..da28314d049 100644
--- a/media-libs/libheif/Manifest
+++ b/media-libs/libheif/Manifest
@@ -1,3 +1,2 @@
 DIST libheif-1.5.1.tar.gz 1510087 BLAKE2B 
1dd5e913c8913c6b62b770653585f8ccf7cda14c4dd79ff2073bf085da4d730accaef8d0f8008ac941238a7e3e131add1a218e0c78a886847b3bcf253d66c9b6
 SHA512 
05e32ebff08d5f0e82e9b1107253c27882ae1694150033fe7b3ca07db8c64567f09002081276e92a3b490a63022a1522d577b094a7f489742139758d17f484b8
-DIST libheif-1.6.0.tar.gz 1512262 BLAKE2B 
db27c65130250d018d8bce9b793d281b9bc3928ef378f8d3180bd0236e7f92810b08da9aaea227733d533cd871712319da1263a9020c5e2dbcfda20ab13f6978
 SHA512 
25e3f08663224321a5d7646543787f026c0fc344e1b26c90b7b48247a7c036836112d104f3559b1c3c96c0252b2ce5efaaed456ccd0ae648f70e4055d81f2f00
 DIST libheif-1.6.1.tar.gz 1514950 BLAKE2B 
d658f0c408f9a09eaac890119119327bd3e9c84db785d001b2c7a979b9574a6723403fe063ed6ce77812bface04be124e808fc90c1325c13e3d87f8b46ac0b65
 SHA512 
5a2104e529d59c23c988b6c0c167f9e7017ff77763eb71fee1c26f97624e9d7e2d0f863123d1886536d37f96ea6b93969a1c53e747672c54a2220aa6f47be1bf

diff --git a/media-libs/libheif/libheif-1.6.0.ebuild 
b/media-libs/libheif/libheif-1.6.0.ebuild
deleted file mode 100644
index 6cc971a64be..000
--- a/media-libs/libheif/libheif-1.6.0.ebuild
+++ /dev/null
@@ -1,67 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI="7"
-
-inherit autotools xdg-utils multilib-minimal
-
-if [[ ${PV} == "" ]] ; 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 ~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.6"
-IUSE="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}]
-"
-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 myeconfargs=(
-   $(use_enable threads multithreading)
-   $(use_enable static-libs static)
-   )
-   ECONF_SOURCE="${S}" econf "${myeconfargs[@]}"
-}
-
-multilib_src_install_all() {
-   find "${ED}" -name '*.la' -delete || die
-   if ! use static-libs ; then
-   find "${ED}" -name "*.a" -delete || die
-   fi
-}
-
-pkg_postinst() {
-   xdg_mimeinfo_database_update
-}
-
-pkg_postrm() {
-   xdg_mimeinfo_database_update
-}



[gentoo-commits] repo/gentoo:master commit in: media-libs/libheif/

2020-01-23 Thread Thomas Deutschmann
commit: b4445f94bbaec044b5539155b83aa689eab46fa7
Author: Thomas Deutschmann  gentoo  org>
AuthorDate: Thu Jan 23 23:02:09 2020 +
Commit: Thomas Deutschmann  gentoo  org>
CommitDate: Thu Jan 23 23:02:09 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b4445f94

media-libs/libheif: bump to v1.6.1

Package-Manager: Portage-2.3.84, Repoman-2.3.20
Signed-off-by: Thomas Deutschmann  gentoo.org>

 media-libs/libheif/Manifest |  1 +
 media-libs/libheif/libheif-1.6.1.ebuild | 67 +
 2 files changed, 68 insertions(+)

diff --git a/media-libs/libheif/Manifest b/media-libs/libheif/Manifest
index 85e430f2263..a411387d415 100644
--- a/media-libs/libheif/Manifest
+++ b/media-libs/libheif/Manifest
@@ -1,2 +1,3 @@
 DIST libheif-1.5.1.tar.gz 1510087 BLAKE2B 
1dd5e913c8913c6b62b770653585f8ccf7cda14c4dd79ff2073bf085da4d730accaef8d0f8008ac941238a7e3e131add1a218e0c78a886847b3bcf253d66c9b6
 SHA512 
05e32ebff08d5f0e82e9b1107253c27882ae1694150033fe7b3ca07db8c64567f09002081276e92a3b490a63022a1522d577b094a7f489742139758d17f484b8
 DIST libheif-1.6.0.tar.gz 1512262 BLAKE2B 
db27c65130250d018d8bce9b793d281b9bc3928ef378f8d3180bd0236e7f92810b08da9aaea227733d533cd871712319da1263a9020c5e2dbcfda20ab13f6978
 SHA512 
25e3f08663224321a5d7646543787f026c0fc344e1b26c90b7b48247a7c036836112d104f3559b1c3c96c0252b2ce5efaaed456ccd0ae648f70e4055d81f2f00
+DIST libheif-1.6.1.tar.gz 1514950 BLAKE2B 
d658f0c408f9a09eaac890119119327bd3e9c84db785d001b2c7a979b9574a6723403fe063ed6ce77812bface04be124e808fc90c1325c13e3d87f8b46ac0b65
 SHA512 
5a2104e529d59c23c988b6c0c167f9e7017ff77763eb71fee1c26f97624e9d7e2d0f863123d1886536d37f96ea6b93969a1c53e747672c54a2220aa6f47be1bf

diff --git a/media-libs/libheif/libheif-1.6.1.ebuild 
b/media-libs/libheif/libheif-1.6.1.ebuild
new file mode 100644
index 000..bf0048c2ecf
--- /dev/null
+++ b/media-libs/libheif/libheif-1.6.1.ebuild
@@ -0,0 +1,67 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="7"
+
+inherit autotools xdg-utils multilib-minimal
+
+if [[ ${PV} == "" ]] ; 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 ~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.6"
+IUSE="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}]
+"
+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 myeconfargs=(
+   $(use_enable threads multithreading)
+   $(use_enable static-libs static)
+   )
+   ECONF_SOURCE="${S}" econf "${myeconfargs[@]}"
+}
+
+multilib_src_install_all() {
+   find "${ED}" -name '*.la' -delete || die
+   if ! use static-libs ; then
+   find "${ED}" -name "*.a" -delete || die
+   fi
+}
+
+pkg_postinst() {
+   xdg_mimeinfo_database_update
+}
+
+pkg_postrm() {
+   xdg_mimeinfo_database_update
+}



[gentoo-commits] repo/gentoo:master commit in: media-libs/libheif/

2019-12-26 Thread Georgy Yakovlev
commit: e715e6d1e86199295c91c697b006930f939a95e0
Author: Georgy Yakovlev  gentoo  org>
AuthorDate: Thu Dec 26 12:48:39 2019 +
Commit: Georgy Yakovlev  gentoo  org>
CommitDate: Thu Dec 26 12:56:09 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e715e6d1

media-libs/libheif: sync live ebuild

Package-Manager: Portage-2.3.83, Repoman-2.3.20
Signed-off-by: Georgy Yakovlev  gentoo.org>

 media-libs/libheif/libheif-.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/libheif/libheif-.ebuild 
b/media-libs/libheif/libheif-.ebuild
index cbf2d5e..6cc971a64be 100644
--- a/media-libs/libheif/libheif-.ebuild
+++ b/media-libs/libheif/libheif-.ebuild
@@ -10,7 +10,7 @@ if [[ ${PV} == "" ]] ; then
inherit git-r3
 else

SRC_URI="https://github.com/strukturag/${PN}/releases/download/v${PV}/${P}.tar.gz";
-   KEYWORDS="~amd64 ~arm64 ~x86"
+   KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86"
 fi
 
 DESCRIPTION="ISO/IEC 23008-12:2017 HEIF file format decoder and encoder"



[gentoo-commits] repo/gentoo:master commit in: media-libs/libheif/

2019-12-26 Thread Georgy Yakovlev
commit: 103b0cb579c4e6b668896c284cb149502e789a7a
Author: Georgy Yakovlev  gentoo  org>
AuthorDate: Thu Dec 26 12:47:29 2019 +
Commit: Georgy Yakovlev  gentoo  org>
CommitDate: Thu Dec 26 12:56:08 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=103b0cb5

media-libs/libheif: keyword 1.6.0 on ~ppc64

Package-Manager: Portage-2.3.83, Repoman-2.3.20
Signed-off-by: Georgy Yakovlev  gentoo.org>

 media-libs/libheif/libheif-1.6.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/libheif/libheif-1.6.0.ebuild 
b/media-libs/libheif/libheif-1.6.0.ebuild
index cbf2d5e..6cc971a64be 100644
--- a/media-libs/libheif/libheif-1.6.0.ebuild
+++ b/media-libs/libheif/libheif-1.6.0.ebuild
@@ -10,7 +10,7 @@ if [[ ${PV} == "" ]] ; then
inherit git-r3
 else

SRC_URI="https://github.com/strukturag/${PN}/releases/download/v${PV}/${P}.tar.gz";
-   KEYWORDS="~amd64 ~arm64 ~x86"
+   KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86"
 fi
 
 DESCRIPTION="ISO/IEC 23008-12:2017 HEIF file format decoder and encoder"



[gentoo-commits] repo/gentoo:master commit in: media-libs/libheif/

2019-11-24 Thread Andreas Sturmlechner
commit: 304b651dbab69be08d2a02c1b7e3116798eb954b
Author: Andreas Sturmlechner  gentoo  org>
AuthorDate: Sun Nov 24 13:21:52 2019 +
Commit: Andreas Sturmlechner  gentoo  org>
CommitDate: Sun Nov 24 17:13:31 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=304b651d

media-libs/libheif: 1.6.0 version bump

Package-Manager: Portage-2.3.79, Repoman-2.3.18
Signed-off-by: Andreas Sturmlechner  gentoo.org>

 media-libs/libheif/Manifest  | 1 +
 media-libs/libheif/{libheif-.ebuild => libheif-1.6.0.ebuild} | 7 ---
 media-libs/libheif/libheif-.ebuild   | 7 ---
 3 files changed, 9 insertions(+), 6 deletions(-)

diff --git a/media-libs/libheif/Manifest b/media-libs/libheif/Manifest
index 3ce89884367..85e430f2263 100644
--- a/media-libs/libheif/Manifest
+++ b/media-libs/libheif/Manifest
@@ -1 +1,2 @@
 DIST libheif-1.5.1.tar.gz 1510087 BLAKE2B 
1dd5e913c8913c6b62b770653585f8ccf7cda14c4dd79ff2073bf085da4d730accaef8d0f8008ac941238a7e3e131add1a218e0c78a886847b3bcf253d66c9b6
 SHA512 
05e32ebff08d5f0e82e9b1107253c27882ae1694150033fe7b3ca07db8c64567f09002081276e92a3b490a63022a1522d577b094a7f489742139758d17f484b8
+DIST libheif-1.6.0.tar.gz 1512262 BLAKE2B 
db27c65130250d018d8bce9b793d281b9bc3928ef378f8d3180bd0236e7f92810b08da9aaea227733d533cd871712319da1263a9020c5e2dbcfda20ab13f6978
 SHA512 
25e3f08663224321a5d7646543787f026c0fc344e1b26c90b7b48247a7c036836112d104f3559b1c3c96c0252b2ce5efaaed456ccd0ae648f70e4055d81f2f00

diff --git a/media-libs/libheif/libheif-.ebuild 
b/media-libs/libheif/libheif-1.6.0.ebuild
similarity index 94%
copy from media-libs/libheif/libheif-.ebuild
copy to media-libs/libheif/libheif-1.6.0.ebuild
index 0d11fc08e5b..cbf2d5e 100644
--- a/media-libs/libheif/libheif-.ebuild
+++ b/media-libs/libheif/libheif-1.6.0.ebuild
@@ -17,9 +17,11 @@ DESCRIPTION="ISO/IEC 23008-12:2017 HEIF file format decoder 
and encoder"
 HOMEPAGE="https://github.com/strukturag/libheif";
 
 LICENSE="GPL-3"
-SLOT="0/1.5"
+SLOT="0/1.6"
 IUSE="static-libs test +threads"
 
+RESTRICT="!test? ( test )"
+
 BDEPEND="test? ( dev-lang/go )"
 DEPEND="
media-libs/libde265:=[${MULTILIB_USEDEP}]
@@ -33,8 +35,7 @@ RDEPEND="${DEPEND}"
 src_prepare() {
default
 
-   sed -i -e 's:-Werror::' \
-   configure.ac || die
+   sed -i -e 's:-Werror::' configure.ac || die
 
eautoreconf
 

diff --git a/media-libs/libheif/libheif-.ebuild 
b/media-libs/libheif/libheif-.ebuild
index 0d11fc08e5b..cbf2d5e 100644
--- a/media-libs/libheif/libheif-.ebuild
+++ b/media-libs/libheif/libheif-.ebuild
@@ -17,9 +17,11 @@ DESCRIPTION="ISO/IEC 23008-12:2017 HEIF file format decoder 
and encoder"
 HOMEPAGE="https://github.com/strukturag/libheif";
 
 LICENSE="GPL-3"
-SLOT="0/1.5"
+SLOT="0/1.6"
 IUSE="static-libs test +threads"
 
+RESTRICT="!test? ( test )"
+
 BDEPEND="test? ( dev-lang/go )"
 DEPEND="
media-libs/libde265:=[${MULTILIB_USEDEP}]
@@ -33,8 +35,7 @@ RDEPEND="${DEPEND}"
 src_prepare() {
default
 
-   sed -i -e 's:-Werror::' \
-   configure.ac || die
+   sed -i -e 's:-Werror::' configure.ac || die
 
eautoreconf
 



[gentoo-commits] repo/gentoo:master commit in: media-libs/libheif/files/, media-libs/libheif/

2019-10-26 Thread Thomas Deutschmann
commit: 299c1ff0f29fab1d72daa3bf6a335a59f775fc02
Author: Thomas Deutschmann  gentoo  org>
AuthorDate: Sat Oct 26 22:03:49 2019 +
Commit: Thomas Deutschmann  gentoo  org>
CommitDate: Sat Oct 26 22:04:19 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=299c1ff0

media-libs/libheif: security cleanup (#696302)

Bug: https://bugs.gentoo.org/696302
Package-Manager: Portage-2.3.78, Repoman-2.3.17
Signed-off-by: Thomas Deutschmann  gentoo.org>

 media-libs/libheif/Manifest|  3 -
 .../libheif/files/libheif-1.3.2-openjpeg-2.patch   | 93 --
 media-libs/libheif/libheif-1.3.2-r1.ebuild | 56 -
 media-libs/libheif/libheif-1.4.0.ebuild| 58 --
 media-libs/libheif/libheif-1.4.1.ebuild| 66 ---
 5 files changed, 276 deletions(-)

diff --git a/media-libs/libheif/Manifest b/media-libs/libheif/Manifest
index 0a30dd8db3c..3ce89884367 100644
--- a/media-libs/libheif/Manifest
+++ b/media-libs/libheif/Manifest
@@ -1,4 +1 @@
-DIST libheif-1.3.2.tar.gz 1328174 BLAKE2B 
4c0f82bb90d48f89a4ce9aed525c5823bb5d008e54e580e761f6fa4f5493f265929a0607e7b81046ba7c249bd2ca21a0c5ab91da83b7e7f3a2a63e8f24df88ed
 SHA512 
bcc8b4b2522ef6fe68f5a9ffd5312c2c8f6bc3718394eef1860e199c30fb735bb214f665ed6480b5f5fe5d578b3ed77a4301af93775ae2349ba5038b3f3ef63a
-DIST libheif-1.4.0.tar.gz 1366030 BLAKE2B 
a93b3b59a4f89e0aa5a5069fdebc54b9d09adeeff05ebf28b9535baa2fb26e4122b4c5d96b7015fdd181720f10e3dd0887038f0c5567c94509aa76d2ef119dd9
 SHA512 
fc48caaadb71ffa87227de75c9e13d5006c66f1c966ce454552defb8947999f5242a9bbd1413f58be1ccbf61df7f118defe96d67376e3b4e7b12fe5dfa0fe0c7
-DIST libheif-1.4.1.tar.gz 950721 BLAKE2B 
39793dbf4334b7ca93993ba518f9c935eb6d29a2debea12a3f1727d245572945e456b7997d79403da53bb5701ee62af8235a9815221402e5b901d9c07aa015a0
 SHA512 
c6e7d00c040885c506dde40469ba51b0346126689ed238abce123b471f748431cb29914015b3ca97749855a0f1f7c8e9a58388d4468da3c2d17c7a3a15270af0
 DIST libheif-1.5.1.tar.gz 1510087 BLAKE2B 
1dd5e913c8913c6b62b770653585f8ccf7cda14c4dd79ff2073bf085da4d730accaef8d0f8008ac941238a7e3e131add1a218e0c78a886847b3bcf253d66c9b6
 SHA512 
05e32ebff08d5f0e82e9b1107253c27882ae1694150033fe7b3ca07db8c64567f09002081276e92a3b490a63022a1522d577b094a7f489742139758d17f484b8

diff --git a/media-libs/libheif/files/libheif-1.3.2-openjpeg-2.patch 
b/media-libs/libheif/files/libheif-1.3.2-openjpeg-2.patch
deleted file mode 100644
index 138295965b4..000
--- a/media-libs/libheif/files/libheif-1.3.2-openjpeg-2.patch
+++ /dev/null
@@ -1,93 +0,0 @@
-Support building against libjpeg-turbo 2.0.
-
-Backport of https://github.com/strukturag/libheif/pull/85
-
 a/configure.ac
-+++ b/configure.ac
-@@ -95,6 +95,22 @@ AC_CHECK_LIB([jpeg], [jpeg_destroy_compress], [
- ], [have_libjpeg="no"])
- fi
- AM_CONDITIONAL([HAVE_LIBJPEG], [test "x$have_libjpeg" = "xyes"])
-+if eval "test x$have_libjpeg = xyes"; then
-+AC_MSG_CHECKING([for jpeg_write_icc_profile])
-+AC_LANG_PUSH(C++)
-+AC_TRY_COMPILE([
-+#include 
-+#include 
-+#include 
-+],[
-+jpeg_write_icc_profile(NULL, NULL, 0);
-+],[has_jpeg_write_icc_profile=yes],[has_jpeg_write_icc_profile=no]);
-+AC_LANG_POP(C++)
-+AC_MSG_RESULT([$has_jpeg_write_icc_profile])
-+if eval "test x$has_jpeg_write_icc_profile = xyes"; then
-+AC_DEFINE(HAVE_JPEG_WRITE_ICC_PROFILE, 1, [Define to 1 if 
jpeg_write_icc_profile is available in libjpeg.])
-+fi
-+fi
- 
- PKG_CHECK_MODULES([libpng], [libpng], [
- AC_DEFINE([HAVE_LIBPNG], [1], [Whether libpng was found.])
 a/examples/CMakeLists.txt
-+++ b/examples/CMakeLists.txt
-@@ -8,6 +8,24 @@ include (${CMAKE_ROOT}/Modules/FindJPEG.cmake)
- 
- if(JPEG_FOUND)
- add_definitions(-DHAVE_LIBJPEG=1)
-+
-+include (${CMAKE_ROOT}/Modules/CheckCXXSourceCompiles.cmake)
-+
-+set(CMAKE_REQUIRED_LIBRARIES ${JPEG_LIBRARIES})
-+check_cxx_source_compiles("
-+#include 
-+#include 
-+#include 
-+
-+int main() {
-+  jpeg_write_icc_profile(NULL, NULL, 0);
-+  return 0;
-+}
-+" HAVE_JPEG_WRITE_ICC_PROFILE)
-+if(HAVE_JPEG_WRITE_ICC_PROFILE)
-+  add_definitions(-DHAVE_JPEG_WRITE_ICC_PROFILE=1)
-+endif()
-+
- set (heif_convert_sources
-   ${heif_convert_sources}
-   encoder_jpeg.cc
 a/examples/encoder_jpeg.cc
-+++ b/examples/encoder_jpeg.cc
-@@ -17,6 +17,10 @@
-  * You should have received a copy of the GNU General Public License
-  * along with convert.  If not, see .
-  */
-+#if defined(HAVE_CONFIG_H)
-+#include "config.h"
-+#endif
-+
- #include 
- #include 
- #include 
 a/examples/encoder_jpeg.h
-+++ b/examples/encoder_jpeg.h
-@@ -24,6 +24,9 @@
- #include 
- #include 
- 
-+// Prevent duplicate definition for newer versions of libjpeg-turbo.
-+#undef HAVE_STDDEF_H
-+#undef HAVE_STDLIB_H
- #include 
- 
- #include 
 a/examples/heif_enc.cc
-+++ b/examples/heif_enc.cc
-@@ -35,6 +35,9 @@
- 
- #if HAVE_LIBJPEG
- extern "C" {
-+// Prevent duplicate definition for newer versions of libjpeg-turbo.
-+#undef HAVE_S

[gentoo-commits] repo/gentoo:master commit in: media-libs/libheif/

2019-10-06 Thread Aaron Bauman
commit: de15db53d67423fd05cc471467628c4e6d502dc3
Author: Aaron Bauman  gentoo  org>
AuthorDate: Mon Oct  7 03:09:25 2019 +
Commit: Aaron Bauman  gentoo  org>
CommitDate: Mon Oct  7 03:11:19 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=de15db53

media-libs/libheif: arm64 stable (bug #696302)

Signed-off-by: Aaron Bauman  gentoo.org>
Package-Manager: Portage-2.3.76, Repoman-2.3.17

 media-libs/libheif/libheif-1.5.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/libheif/libheif-1.5.1.ebuild 
b/media-libs/libheif/libheif-1.5.1.ebuild
index 6f6f11fa44e..968853af8cf 100644
--- a/media-libs/libheif/libheif-1.5.1.ebuild
+++ b/media-libs/libheif/libheif-1.5.1.ebuild
@@ -10,7 +10,7 @@ if [[ ${PV} == "" ]] ; then
inherit git-r3
 else

SRC_URI="https://github.com/strukturag/${PN}/releases/download/v${PV}/${P}.tar.gz";
-   KEYWORDS="~amd64 ~arm64 x86"
+   KEYWORDS="~amd64 arm64 x86"
 fi
 
 DESCRIPTION="ISO/IEC 23008-12:2017 HEIF file format decoder and encoder"



  1   2   >