commit:     2a83f7d085c8c9053df55d47ddc03784b08f826b
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sat Jun 28 08:31:33 2025 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat Jun 28 18:46:08 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2a83f7d0

media-libs/libharu: add 2.4.5

Subslot now reflects SONAME that got added recently. I've not fixed
the examples bug mjo has filed (sorry) as I'm only doing this drive-by and
run out of energy for that (had this queued before I noticed).

Signed-off-by: Sam James <sam <AT> gentoo.org>

 media-libs/libharu/Manifest             |  1 +
 media-libs/libharu/libharu-2.4.5.ebuild | 27 +++++++++++++++++++++++++++
 2 files changed, 28 insertions(+)

diff --git a/media-libs/libharu/Manifest b/media-libs/libharu/Manifest
index 67053a4772dc..0897c9b7de50 100644
--- a/media-libs/libharu/Manifest
+++ b/media-libs/libharu/Manifest
@@ -1 +1,2 @@
 DIST libharu-2.4.2.tar.gz 1411029 BLAKE2B 
8618803022cc2c745d2517f71cf9da49eeefe16b05c486a5ecaa6ec09f6fb7e0dbe3af6d12018bf1c81d3a06c3be1446617e634ab21ea25a68ee9f9d645b65cb
 SHA512 
faa5c0390f22ae8bbe3dbc2b49e49b475257a70c5772e456cc34df3f98b26e39b65b17b0f982dd844b9774a4217a621337a1a8a810d7be09569a7bffe4ea1f15
+DIST libharu-2.4.5.tar.gz 1419961 BLAKE2B 
47587a45cbcbba917a2c78a1dbee59dc30a3943ef20e8c2d281298ba5140fa6b8263fd7224a11f4dc516fef2c0e5e8e847e4de6dd02d47726c186fa7e03ea50f
 SHA512 
677523f927ecc925d95c91ebb1cb3d1146c2ffc86031c6fc05fc038893fd38babde2abf16683e0b76d1e2b8554c64bf2278649a0f70b08a0f187c2135fc14220

diff --git a/media-libs/libharu/libharu-2.4.5.ebuild 
b/media-libs/libharu/libharu-2.4.5.ebuild
new file mode 100644
index 000000000000..0d82825cc0d3
--- /dev/null
+++ b/media-libs/libharu/libharu-2.4.5.ebuild
@@ -0,0 +1,27 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake
+
+DESCRIPTION="C/C++ library for PDF generation"
+HOMEPAGE="http://www.libharu.org/";
+SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="ZLIB"
+SLOT="0/${PV%.*}"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~x86 ~amd64-linux ~x86-linux"
+
+DEPEND="
+       media-libs/libpng:=
+       sys-libs/zlib:=
+"
+RDEPEND="${DEPEND}"
+
+src_configure() {
+       local mycmakeargs=(
+               -DLIBHPDF_EXAMPLES=NO # Doesn't work
+       )
+       cmake_src_configure
+}

Reply via email to