[gentoo-commits] repo/proj/guru:dev commit in: media-libs/grok/

2023-12-25 Thread Henri Gasc
commit: 40388709d2acbe59632ac82cb562b9d16dad64fa
Author: Henri Gasc  eurecom  fr>
AuthorDate: Fri Dec  8 21:23:18 2023 +
Commit: Henri Gasc  eurecom  fr>
CommitDate: Mon Dec 25 20:00:25 2023 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=40388709

media-libs/grok: add info for cmake flag

Signed-off-by: Henri Gasc  eurecom.fr>

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

diff --git a/media-libs/grok/grok-11.0.0.ebuild 
b/media-libs/grok/grok-11.0.0.ebuild
index c47d1f467c..4af58ae6c3 100644
--- a/media-libs/grok/grok-11.0.0.ebuild
+++ b/media-libs/grok/grok-11.0.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 2022 Gentoo Authors
+# Copyright 2023 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -22,7 +22,7 @@ DEPEND="
 RDEPEND="${DEPEND}"
 
 src_configure() {
-   # Not using -DGRK_BUILD_JPEG=OFF fails the build
+   # Need -DGRK_BUILD_JPEG=OFF, otherwise will pull libjpeg-turbo from 
github
# (see https://github.com/GrokImageCompression/grok/issues/351)
local mycmakeargs=(
-DBUILD_TESTING=OFF



[gentoo-commits] repo/proj/guru:dev commit in: media-libs/grok/

2023-12-06 Thread Henri Gasc
commit: 97f498de4c0b7a4bfef95d77f63597b192073296
Author: Henri Gasc  eurecom  fr>
AuthorDate: Wed Dec  6 10:39:56 2023 +
Commit: Henri Gasc  eurecom  fr>
CommitDate: Wed Dec  6 10:39:56 2023 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=97f498de

media-libs/grok: add 11.0.0, drop 9.7.6

Signed-off-by: Henri Gasc  eurecom.fr>

 media-libs/grok/Manifest  |  2 +-
 media-libs/grok/{grok-9.7.6.ebuild => grok-11.0.0.ebuild} | 15 ++-
 2 files changed, 15 insertions(+), 2 deletions(-)

diff --git a/media-libs/grok/Manifest b/media-libs/grok/Manifest
index 34087c1ec5..488b29a460 100644
--- a/media-libs/grok/Manifest
+++ b/media-libs/grok/Manifest
@@ -1 +1 @@
-DIST grok-9.7.6.tar.gz 4106311 BLAKE2B 
f98b8b95ec06e660dd51a9fa2f5a233d9fa9495fa633d75f49aec704e28dac86225ed172c6b2f044430cc42d6911c168c6972de4b5453c85a53077c5d8debe40
 SHA512 
40d28465ea6a3c40b0035d3125e82a99aed0620f72c00bc38febaeb94e6e70490a6b145916165522fdd7c77b2b89d0fddc924efa4b6e953fcc174e9df2b0718c
+DIST grok-11.0.0.gh.tar.gz 9536740 BLAKE2B 
2e28cc9314ebc6160350837ee48e82218b8397c639b2b6da0dd76a58d018d9603a1decf8002633077a3dbfea4d35142816bf54c02d37995134abeb423873174f
 SHA512 
ca8f7753f0a0f9f33d5e80dda7114f84eb12531f643164f84b385d65ee0217d8679779af7886b935d39ea542dd71d63d2703fe97dd092be471b91cd8b612948c

diff --git a/media-libs/grok/grok-9.7.6.ebuild 
b/media-libs/grok/grok-11.0.0.ebuild
similarity index 59%
rename from media-libs/grok/grok-9.7.6.ebuild
rename to media-libs/grok/grok-11.0.0.ebuild
index c4f305ec65..c47d1f467c 100644
--- a/media-libs/grok/grok-9.7.6.ebuild
+++ b/media-libs/grok/grok-11.0.0.ebuild
@@ -2,11 +2,12 @@
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
+
 inherit cmake
 
 DESCRIPTION="World's Leading Open Source JPEG 2000 Codec"
 HOMEPAGE="https://github.com/GrokImageCompression/grok;
-SRC_URI="https://github.com/GrokImageCompression/${PN}/archive/refs/tags/v${PV}.tar.gz
 -> ${P}.tar.gz"
+SRC_URI="https://github.com/GrokImageCompression/${PN}/archive/refs/tags/v${PV}.tar.gz
 -> ${P}.gh.tar.gz"
 
 LICENSE="AGPL-3 BSD-2"
 SLOT="0"
@@ -16,5 +17,17 @@ DEPEND="
app-arch/zstd:=
media-libs/libjpeg-turbo:=
media-libs/libwebp:=
+   media-libs/exiftool
 "
 RDEPEND="${DEPEND}"
+
+src_configure() {
+   # Not using -DGRK_BUILD_JPEG=OFF fails the build
+   # (see https://github.com/GrokImageCompression/grok/issues/351)
+   local mycmakeargs=(
+   -DBUILD_TESTING=OFF
+   -DBUILD_SHARED_LIBS=ON
+   -DGRK_BUILD_JPEG=OFF
+   )
+   cmake_src_configure
+}



[gentoo-commits] repo/proj/guru:dev commit in: media-libs/grok/

2022-05-10 Thread Florian Schmaus
commit: e12d1aedc8a3e22951342cad063f5107ac6d0629
Author: Florian Schmaus  gentoo  org>
AuthorDate: Tue May 10 13:23:58 2022 +
Commit: Florian Schmaus  gentoo  org>
CommitDate: Tue May 10 13:26:05 2022 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=e12d1aed

media-libs/grok: new package, add 9.7.6

Bug: https://bugs.gentoo.org/843548
Signed-off-by: Florian Schmaus  gentoo.org>

 media-libs/grok/Manifest  |  1 +
 media-libs/grok/grok-9.7.6.ebuild | 20 
 media-libs/grok/metadata.xml  |  8 
 3 files changed, 29 insertions(+)

diff --git a/media-libs/grok/Manifest b/media-libs/grok/Manifest
new file mode 100644
index 0..34087c1ec
--- /dev/null
+++ b/media-libs/grok/Manifest
@@ -0,0 +1 @@
+DIST grok-9.7.6.tar.gz 4106311 BLAKE2B 
f98b8b95ec06e660dd51a9fa2f5a233d9fa9495fa633d75f49aec704e28dac86225ed172c6b2f044430cc42d6911c168c6972de4b5453c85a53077c5d8debe40
 SHA512 
40d28465ea6a3c40b0035d3125e82a99aed0620f72c00bc38febaeb94e6e70490a6b145916165522fdd7c77b2b89d0fddc924efa4b6e953fcc174e9df2b0718c

diff --git a/media-libs/grok/grok-9.7.6.ebuild 
b/media-libs/grok/grok-9.7.6.ebuild
new file mode 100644
index 0..c4f305ec6
--- /dev/null
+++ b/media-libs/grok/grok-9.7.6.ebuild
@@ -0,0 +1,20 @@
+# Copyright 2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+inherit cmake
+
+DESCRIPTION="World's Leading Open Source JPEG 2000 Codec"
+HOMEPAGE="https://github.com/GrokImageCompression/grok;
+SRC_URI="https://github.com/GrokImageCompression/${PN}/archive/refs/tags/v${PV}.tar.gz
 -> ${P}.tar.gz"
+
+LICENSE="AGPL-3 BSD-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+DEPEND="
+   app-arch/zstd:=
+   media-libs/libjpeg-turbo:=
+   media-libs/libwebp:=
+"
+RDEPEND="${DEPEND}"

diff --git a/media-libs/grok/metadata.xml b/media-libs/grok/metadata.xml
new file mode 100644
index 0..87a759d41
--- /dev/null
+++ b/media-libs/grok/metadata.xml
@@ -0,0 +1,8 @@
+
+http://www.gentoo.org/dtd/metadata.dtd;>
+
+   
+   Florian Schmaus
+   f...@gentoo.org
+   
+