summaryrefslogtreecommitdiff
path: root/app-text/poppler-data
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2022-10-01 13:10:51 +0100
committerV3n3RiX <venerix@koprulu.sector>2022-10-01 13:10:51 +0100
commit8598ab9ad325d12d0f2901ecc0973e430dacd2b3 (patch)
tree593f226746c1f850f57bc10ffc81f7398d5a34f0 /app-text/poppler-data
parent42ff81a7480d9bba317b42fcca03b46da2a622ce (diff)
gentoo auto-resync : 01:10:2022 - 13:10:50
Diffstat (limited to 'app-text/poppler-data')
-rw-r--r--app-text/poppler-data/Manifest2
-rw-r--r--app-text/poppler-data/poppler-data-0.4.11-r1.ebuild27
2 files changed, 29 insertions, 0 deletions
diff --git a/app-text/poppler-data/Manifest b/app-text/poppler-data/Manifest
index 319af1c79591..c8c6eafb81f6 100644
--- a/app-text/poppler-data/Manifest
+++ b/app-text/poppler-data/Manifest
@@ -1,3 +1,5 @@
+DIST poppler-data-0.4.11-extra.tar.xz 3092 BLAKE2B 37d54a15a3725d4fe8c78ac2cb18cb4cc43cc65929822b6e4ac5e17c70f97dd3f4b144c34b4cb1c2439e58d379a61b6b348bc93304a1b730a6e37dd304c763ad SHA512 639dd5467cb06cb417dc1b09ca9db1f7233f902a54220899be3199a1081b91c69ff063f133080175312098ac8078ab8e2c4c91c89b460e8b92e6192f18395531
DIST poppler-data-0.4.11.tar.gz 4497282 BLAKE2B 01f0f9f3d933f45683a702c4d538d8fc59874512290f199b601c16f98f9b596ff249fbc992574d046931cc80f3685f94733248450d3a54f2f961951cdeda7c39 SHA512 a5b7ace28d1677e12f7500ab6345b277dc22cd48ace8d472c083933416879edf4da4efe8217b0e11f75a3387ed98d832fe50567884095b6c0e09ebd8802b0f32
+EBUILD poppler-data-0.4.11-r1.ebuild 1142 BLAKE2B 944b75db65a9767057a4947053a2ce9b51534b9d32eb5840a85bdabec921feeb61a519f2f09768e3db63ccc3962b1d5afe6295a813a064e0778de24619672c66 SHA512 d1b7117ceb94cd66d69e8d1726aebf6d6c86246a19fd77e735dffe0c8ad7d1f28d9d5f89b677c3c1b103f51d5e764ae07c07e30e21ea1f354d0385b9214e8c67
EBUILD poppler-data-0.4.11.ebuild 736 BLAKE2B e83fee3787fa33200ea16589379bffef0d70fa06313197441ce7b409d24384c1bcfb2aaff17b0ffe034ae0c6c03354ef67c4d6b168d92474b08da47cf8228e67 SHA512 d14cb205804c76b6f8faa8cb0bfbfff01b53e9195595ebbddfd57a7e632e05e89904f0a95b8d6801172289048ed3c6e38162ab9306574ad51a66f137af6a3757
MISC metadata.xml 256 BLAKE2B 16ea76357721c3ab7d672ade29d27338ddf9da983571e4ca4efe2520c741fc71315d9609b711850b00c19ed4eea848dea0d5b3955eecb401c42c4db257c300bf SHA512 2748afab7ffea0b3ddadf72dc720f7d83a1d76453fa569091abffe834ec187144a47f9365ccb4a97f676dbcfd799a6be92671f283b179fe4589d95486d7fd24d
diff --git a/app-text/poppler-data/poppler-data-0.4.11-r1.ebuild b/app-text/poppler-data/poppler-data-0.4.11-r1.ebuild
new file mode 100644
index 000000000000..c65bde103305
--- /dev/null
+++ b/app-text/poppler-data/poppler-data-0.4.11-r1.ebuild
@@ -0,0 +1,27 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+POPPLER_DATA_EXTRA_VERSION="0.4.11"
+DESCRIPTION="Data files for poppler to support uncommon encodings without xpdfrc"
+HOMEPAGE="https://poppler.freedesktop.org/"
+SRC_URI="https://poppler.freedesktop.org/${P}.tar.gz"
+SRC_URI+=" https://dev.gentoo.org/~sam/distfiles/${CATEGORY}/${PN}/${PN}-${POPPLER_DATA_EXTRA_VERSION}-extra.tar.xz"
+
+# AGPL-3+ for the extra files needed by ghostscript, bug #844115
+LICENSE="AGPL-3+ BSD GPL-2 MIT"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
+
+src_install() {
+ emake prefix="${EPREFIX}"/usr DESTDIR="${D}" install
+
+ # We need to include extra cMaps for ghostscript, bug #844115
+ cp "${WORKDIR}"/${PN}-${POPPLER_DATA_EXTRA_VERSION}-extra/Identity-* "${ED}"/usr/share/poppler/cMap || die
+
+ # bug #409361
+ dodir /usr/share/poppler/cMaps
+ cd "${ED}"/usr/share/poppler/cMaps || die
+ find ../cMap -type f -exec ln -s {} . \; || die
+}