summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2022-10-28 20:06:25 +0100
committerSam James <sam@gentoo.org>2022-10-28 20:06:37 +0100
commit19fb0caa1850b23a25c3e693d52ae178c9912d7d (patch)
treec376b3300b9fb5059fc824073d8cc8d8c47b5441 /media-libs/libharu/libharu-2.4.2-r1.ebuild
parentdev-php/libvirt-php: drop 0.5.5-r1, 0.5.5_p20211020 (diff)
downloadgentoo-19fb0caa1850b23a25c3e693d52ae178c9912d7d.tar.gz
gentoo-19fb0caa1850b23a25c3e693d52ae178c9912d7d.tar.bz2
gentoo-19fb0caa1850b23a25c3e693d52ae178c9912d7d.zip
media-libs/libharu: drop multilib
No multilib reverse dependencies. Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'media-libs/libharu/libharu-2.4.2-r1.ebuild')
-rw-r--r--media-libs/libharu/libharu-2.4.2-r1.ebuild32
1 files changed, 32 insertions, 0 deletions
diff --git a/media-libs/libharu/libharu-2.4.2-r1.ebuild b/media-libs/libharu/libharu-2.4.2-r1.ebuild
new file mode 100644
index 000000000000..92b8e3624a99
--- /dev/null
+++ b/media-libs/libharu/libharu-2.4.2-r1.ebuild
@@ -0,0 +1,32 @@
+# Copyright 1999-2022 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 ~x86 ~amd64-linux ~x86-linux"
+
+DEPEND="
+ media-libs/libpng:=
+ sys-libs/zlib:=
+"
+RDEPEND="${DEPEND}"
+
+PATCHES=(
+ "${FILESDIR}"/${PN}-2.3.0-1-Included-necessary-char-widths-in-generated-PDF.patch
+)
+
+src_configure() {
+ local mycmakeargs=(
+ -DLIBHPDF_EXAMPLES=NO # Doesn't work
+ -DLIBHPDF_STATIC=NO
+ )
+ cmake_src_configure
+}