summaryrefslogtreecommitdiff
path: root/app-text/pdf2htmlEX
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2018-05-22 14:00:47 +0100
committerV3n3RiX <venerix@redcorelinux.org>2018-05-22 14:00:47 +0100
commit91c0ec2d7067f6ab1ef578bd9967b32ca07eb502 (patch)
treef4c7f54d0aeb344c21de9b9d1a3f1e9826d7a64c /app-text/pdf2htmlEX
parent2bacbb3374587799c77a999f56352233a353b19e (diff)
gentoo resync : 22.05.2018
Diffstat (limited to 'app-text/pdf2htmlEX')
-rw-r--r--app-text/pdf2htmlEX/Manifest5
-rw-r--r--app-text/pdf2htmlEX/pdf2htmlEX-0.14.6.2.ebuild1
-rw-r--r--app-text/pdf2htmlEX/pdf2htmlEX-0.14.6.ebuild29
-rw-r--r--app-text/pdf2htmlEX/pdf2htmlEX-9999.ebuild51
4 files changed, 54 insertions, 32 deletions
diff --git a/app-text/pdf2htmlEX/Manifest b/app-text/pdf2htmlEX/Manifest
index b99375c1aa4c..5dabb174a324 100644
--- a/app-text/pdf2htmlEX/Manifest
+++ b/app-text/pdf2htmlEX/Manifest
@@ -1,5 +1,4 @@
DIST pdf2htmlEX-0.14.6.2.tgz 9066685 BLAKE2B b139f72c806e432facce5472e55a23567e74204829956d06bd9ead0426cbadad4ce36c581fb1d39c96eeef27fb416b2c6387dff7b0ca08b10479de24b8ffdc9b SHA512 03d04437386b2eb83530551ff15ce9d21b7990127fa659d204a269405f0d49912c622687eb6920cc4e88be8e94ab41024b378663effb61d1eda905eeb98093d3
-DIST pdf2htmlEX-0.14.6.tgz 8955179 BLAKE2B 68a474a0afce7e505af0331c7a05e745d0c18057c0e9dab0f57f8455b36489c399985d2f69cbebc2c3df3264ee1eef43346df49ff9ac3fae7edd3bbff884c6d2 SHA512 0bef898653755da3d731a99f2850d11a686a1db589c615216c84dcac76f3a3c41f561732fe37be262cfec3f65970b2704819c3bd4d94d87cd63d26f062dacf50
-EBUILD pdf2htmlEX-0.14.6.2.ebuild 991 BLAKE2B b020d13ec939340d673d715b8428598d1b9b6baa2015ac99afef728f2b8799d8416ca1581bfe31b183146cfdb9962ec0c534b14b20b4083f96faa242d2bcd5a8 SHA512 2a181bd3573e23a583c8251b5fbea65d1992bf9447bb6b720cd0b7cefabde02885dd4ba47144de3f3cd03b18809a82bd8c43200e02a5d1aeea314ffe3fcf6a2e
-EBUILD pdf2htmlEX-0.14.6.ebuild 559 BLAKE2B fc566297c6a7fd57a4bb36f74ceccac62dfaa3a0d3b18469420171b92cddfecccd418dd9d8a8e3a5eff35d7504f50b84cb026764c28ed3d9ca38fe0be248dfd0 SHA512 a903ef5c199c68c8eb5243dd1abcedf0bbad5d7b13132ada1affc18a635e27ca1f52b075c2221dd67e5a5a69fbc85d2ab1a1a0fcbf0398e91bb705b3343f0a60
+EBUILD pdf2htmlEX-0.14.6.2.ebuild 1017 BLAKE2B a9dda802e28273f531e35b0cea8b7f23602f48f8dd024d6367841d745edb31c39cd9d284ddae57a0cd101f694cd4fb1f2c82571386cffb5749ce9d01d828e890 SHA512 4a2003bd64ad816714b3df3065ebee4158c6ea885ac997cc2f5de19f55f79f4c10f99c97aabdb1d313a9a95f459876b40a9685a7398bba383813cb7bd2707965
+EBUILD pdf2htmlEX-9999.ebuild 1091 BLAKE2B 717cc446930f6dab311fa32f6fa6667134b283d422e6a2329006155d04e11e00c85bcfffcac1b2d8f08117c9d83184344f3ebe11feaacbc15a5eb98b000d8fc7 SHA512 b23b0dbafe433b2d1edc969d6dc6808b2244919f8e59708d92ebc5d2aa4b0bbc66d8c43ec568a84f788450d6802866ab068c6a57cb5ad10f733afde5946b6365
MISC metadata.xml 355 BLAKE2B da386c9bf8cf6684e23a3bf7638d341b7f8872ecc7d733b946ae697e9e13096df65398f6d4b2d4594b47eba7ec1e482dc8ab14a69395ed1a32c00cdc7d91c2b5 SHA512 c416fe8d4c3edf1055170e0c4cd84fa9da19437c6eab58fde5198561048018ae6b9387d52017dfbc38db717ef370fc70a1dcc0eb37c8843b4e65cfa7e80314ff
diff --git a/app-text/pdf2htmlEX/pdf2htmlEX-0.14.6.2.ebuild b/app-text/pdf2htmlEX/pdf2htmlEX-0.14.6.2.ebuild
index bb1510fd1d21..823ecdd6c0f9 100644
--- a/app-text/pdf2htmlEX/pdf2htmlEX-0.14.6.2.ebuild
+++ b/app-text/pdf2htmlEX/pdf2htmlEX-0.14.6.2.ebuild
@@ -20,6 +20,7 @@ IUSE=""
CDEPEND="
>=app-text/poppler-0.61.1:=[jpeg,png]
+ <app-text/poppler-0.64.0
app-text/poppler-data
~media-gfx/fontforge-20170731
media-libs/freetype
diff --git a/app-text/pdf2htmlEX/pdf2htmlEX-0.14.6.ebuild b/app-text/pdf2htmlEX/pdf2htmlEX-0.14.6.ebuild
deleted file mode 100644
index 965311e3a296..000000000000
--- a/app-text/pdf2htmlEX/pdf2htmlEX-0.14.6.ebuild
+++ /dev/null
@@ -1,29 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit cmake-utils
-
-DESCRIPTION="A precise PDF to HTML converter"
-HOMEPAGE="http://coolwanglu.github.io/pdf2htmlEX/"
-SRC_URI="https://github.com/coolwanglu/${PN}/archive/v${PV}.tar.gz -> ${P}.tgz"
-
-LICENSE="GPL-3+"
-SLOT="0"
-KEYWORDS="~amd64"
-
-IUSE=""
-
-CDEPEND="
- app-text/poppler:=[jpeg,png]
- app-text/poppler-data
- media-gfx/fontforge
- media-libs/freetype
- x11-libs/cairo[svg]
-"
-RDEPEND="${CDEPEND}
-"
-DEPEND="${CDEPEND}
- virtual/pkgconfig
-"
diff --git a/app-text/pdf2htmlEX/pdf2htmlEX-9999.ebuild b/app-text/pdf2htmlEX/pdf2htmlEX-9999.ebuild
new file mode 100644
index 000000000000..327250408f93
--- /dev/null
+++ b/app-text/pdf2htmlEX/pdf2htmlEX-9999.ebuild
@@ -0,0 +1,51 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit cmake-utils toolchain-funcs flag-o-matic versionator
+
+DESCRIPTION="A precise PDF to HTML converter (dilfridge fork)"
+HOMEPAGE="https://github.com/akhuettel/pdf2htmlEX"
+
+if [[ ${PV} == 9999 ]]; then
+ inherit git-r3
+ EGIT_REPO_URI="https://github.com/akhuettel/pdf2htmlEX.git"
+else
+ SRC_URI="https://dev.gentoo.org/~dilfridge/distfiles/${P}.tar.xz"
+ KEYWORDS="~amd64"
+fi
+
+LICENSE="GPL-3+"
+SLOT="0"
+IUSE=""
+
+CDEPEND="
+ >=app-text/poppler-0.61.1:=[jpeg,png]
+ <app-text/poppler-0.64.0
+ app-text/poppler-data
+ ~media-gfx/fontforge-20170731
+ media-libs/freetype
+ x11-libs/cairo[svg]
+"
+RDEPEND="${CDEPEND}
+"
+DEPEND="${CDEPEND}
+ virtual/pkgconfig
+"
+
+pkg_pretend() {
+ local ver=6.4.0
+ local msg="${P} needs at least GCC ${ver} set to compile."
+ if [[ ${MERGE_TYPE} != binary ]]; then
+ if ! version_is_at_least ${ver} $(gcc-fullversion); then
+ die ${msg}
+ fi
+ fi
+}
+
+src_configure() {
+ append-cflags -no-pie
+ append-cxxflags -no-pie -fpermissive
+ cmake-utils_src_configure
+}