diff options
author | Andreas K. Hüttel <dilfridge@gentoo.org> | 2017-12-31 12:27:17 +0100 |
---|---|---|
committer | Andreas K. Hüttel <dilfridge@gentoo.org> | 2017-12-31 12:28:24 +0100 |
commit | 6e10f3b42465cdb46cad46aaa9e8c0a285cbbaaf (patch) | |
tree | 4e05ab07cb58f7fe1b22941969bdbce4b93ea2d8 /app-text/pdf2htmlEX/pdf2htmlEX-0.14.6.2.ebuild | |
parent | profiles: Mask app-i18n/scim-wijesekera for removal (diff) | |
download | gentoo-6e10f3b42465cdb46cad46aaa9e8c0a285cbbaaf.tar.gz gentoo-6e10f3b42465cdb46cad46aaa9e8c0a285cbbaaf.tar.bz2 gentoo-6e10f3b42465cdb46cad46aaa9e8c0a285cbbaaf.zip |
app-text/pdf2htmlEX: Version that builds *and* runs. Yay! \o/
We achieve this by copying internal fontforge headers. That's the reason
for the precise fontforge dependency.
Similarly also internal poppler headers are used. :(
Package-Manager: Portage-2.3.19, Repoman-2.3.6
Diffstat (limited to 'app-text/pdf2htmlEX/pdf2htmlEX-0.14.6.2.ebuild')
-rw-r--r-- | app-text/pdf2htmlEX/pdf2htmlEX-0.14.6.2.ebuild | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/app-text/pdf2htmlEX/pdf2htmlEX-0.14.6.2.ebuild b/app-text/pdf2htmlEX/pdf2htmlEX-0.14.6.2.ebuild new file mode 100644 index 000000000000..384d67d85f05 --- /dev/null +++ b/app-text/pdf2htmlEX/pdf2htmlEX-0.14.6.2.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit cmake-utils toolchain-funcs flag-o-matic + +DESCRIPTION="A precise PDF to HTML converter" +HOMEPAGE="http://coolwanglu.github.io/pdf2htmlEX/" +SRC_URI=" + https://dev.gentoo.org/~dilfridge/distfiles/${P}.tgz +" +# https://github.com/coolwanglu/${PN}/archive/v${PV}.tar.gz -> ${P}.tgz + +LICENSE="GPL-3+" +SLOT="0" +KEYWORDS="~amd64" + +IUSE="" + +CDEPEND=" + >=app-text/poppler-0.61.1:=[jpeg,png] + 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 + cmake-utils_src_configure +} |