diff options
Diffstat (limited to 'media-libs/libharu')
-rw-r--r-- | media-libs/libharu/Manifest | 2 | ||||
-rw-r--r-- | media-libs/libharu/libharu-2.4.2.ebuild | 33 |
2 files changed, 35 insertions, 0 deletions
diff --git a/media-libs/libharu/Manifest b/media-libs/libharu/Manifest index d9268b40cb21..c9160d811c07 100644 --- a/media-libs/libharu/Manifest +++ b/media-libs/libharu/Manifest @@ -3,5 +3,7 @@ AUX libharu-2.3.0-2-Avoid-issue-with-libtiff-duplicate-symbols.patch 2867 BLAKE2 AUX libharu-2.3.0-3-cmake-fixes.patch 6376 BLAKE2B ec14be6aeda6e0e43a40bc2f1d41fcec4b601161cdcf1bdeff3e585bd78d6924aae322ffa5fe48f4fe221b1750b672ec7a80ba0a985368da4e5b00122b7d6617 SHA512 186d36b0b943c811e9fc34d448f58177914d2146a3df5cf8b12fe8c9fe7525046a7e53361052d308164cb99d4ec9a28341e4fe3b6cc69d6cb2c0ea03a49b0355 AUX libharu-2.3.0-4-Add-support-for-free-form-triangle-Shading-objects.patch 15988 BLAKE2B 6cbd9826317e6d1de126dfdcdd3508bfb6351c34cd58fda8f09fe44efead890d78c67f33750223cb2291312b2299ecf16f7b91e4e20a3024bb6007da96753f86 SHA512 94d1377e529d1d96941a90ac82276748f5bf7f0e248a6770d938394151e453aaa082c0d256c0de28f737e7e995bc0ee60a4eb5562aa450af1dfcc1733b403466 DIST libharu-2.3.0.tar.gz 1396413 BLAKE2B 7f0c819f17740f12f9bf6c7a7c749eb8c6ada326d98985daeac4d3250733cfc8e085b540e0969cb1b4c3b1055f4d1e148a2ed010d9371685fd265b62a879be9c SHA512 ebcabf1e8488e21185a231e97b4c16f9de742ae0ac2ebc7535b72b6b8e2045c2619bc6a94a820f7f923b0dfeceb217408f4e4c613ef3602104373cdf000d3f41 +DIST libharu-2.4.2.tar.gz 1411029 BLAKE2B 8618803022cc2c745d2517f71cf9da49eeefe16b05c486a5ecaa6ec09f6fb7e0dbe3af6d12018bf1c81d3a06c3be1446617e634ab21ea25a68ee9f9d645b65cb SHA512 faa5c0390f22ae8bbe3dbc2b49e49b475257a70c5772e456cc34df3f98b26e39b65b17b0f982dd844b9774a4217a621337a1a8a810d7be09569a7bffe4ea1f15 EBUILD libharu-2.3.0-r2.ebuild 982 BLAKE2B a49f62832154f5aa2119ad88a27076c795f027dd9e9aa4dbed47c3573805a751af2c3b34a665363404fcf60b6d65f58d532a7326e3f8f160f88ec9850f185b0d SHA512 1f6857ad77257a1574336b0634f4875e9fa4a29e462f33cd53a8465050e4928cb1e72a42f4a260c5aec37b0f8becc5cf9a8525fe41ef1a4a07dd28c7a681dd5a +EBUILD libharu-2.4.2.ebuild 750 BLAKE2B 25056885713bea24e89cfe74c217334322e332c47088aaec48f00ee6b02911682a0360a8fd11a9dce7ac62c513e2759fd15c74e9143477468df1b00b81fda52f SHA512 d0d7d33004d1441f3a0630bef990e63fccf98c643fb5cc3c81e7937eb1f58051a5fca8fc2299ab759f204177a249211f234dea13f3beb945e1166014cdf3d1dd MISC metadata.xml 876 BLAKE2B 213cc5850bde1baea0edbedc467ab6d18f7d4f0adabff481c53944a80c0be8de90632d69e4c94e6a304ae9ab85d790de1caeced2cbc52ae1041338f3090d1522 SHA512 608be6225defb9df5af413f0bb23b463a252bd2067ddeb77c4af46b856eb2e698bba684efe6825e47e4087c7123c0f03fead1b980d59fc7dd08d656da1650c49 diff --git a/media-libs/libharu/libharu-2.4.2.ebuild b/media-libs/libharu/libharu-2.4.2.ebuild new file mode 100644 index 000000000000..87d3e0fccb63 --- /dev/null +++ b/media-libs/libharu/libharu-2.4.2.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit cmake-multilib + +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" +IUSE="" + +DEPEND=" + media-libs/libpng:0=[${MULTILIB_USEDEP}] + sys-libs/zlib:=[${MULTILIB_USEDEP}] +" +RDEPEND="${DEPEND}" + +PATCHES=( + "${FILESDIR}"/${PN}-2.3.0-1-Included-necessary-char-widths-in-generated-PDF.patch +) + +multilib_src_configure() { + local mycmakeargs=( + -DLIBHPDF_EXAMPLES=NO # Doesn't work + -DLIBHPDF_STATIC=NO + ) + cmake_src_configure +} |