summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergei Trofimovich <slyfox@gentoo.org>2016-05-07 13:41:44 +0100
committerSergei Trofimovich <slyfox@gentoo.org>2016-05-07 13:41:44 +0100
commit778f6990a13aae925d9a16e5f0640eefdae0b39f (patch)
treedcfc02bbe9e6517f30044d208f5c493839c9fe79 /app-text/fbpdf/fbpdf-0_p20160409.ebuild
parentdev-python/pygal: Support python 3.5 (diff)
downloadgentoo-778f6990a13aae925d9a16e5f0640eefdae0b39f.tar.gz
gentoo-778f6990a13aae925d9a16e5f0640eefdae0b39f.tar.bz2
gentoo-778f6990a13aae925d9a16e5f0640eefdae0b39f.zip
app-text/fbpdf: new package, bug #580762
Framebuffer PDF and DJVU reader. Requested by w0rm. Bug: https://bugs.gentoo.org/580762 Package-Manager: portage-2.2.28
Diffstat (limited to 'app-text/fbpdf/fbpdf-0_p20160409.ebuild')
-rw-r--r--app-text/fbpdf/fbpdf-0_p20160409.ebuild39
1 files changed, 39 insertions, 0 deletions
diff --git a/app-text/fbpdf/fbpdf-0_p20160409.ebuild b/app-text/fbpdf/fbpdf-0_p20160409.ebuild
new file mode 100644
index 00000000000..396a94d36b4
--- /dev/null
+++ b/app-text/fbpdf/fbpdf-0_p20160409.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+inherit toolchain-funcs
+
+DESCRIPTION="framebuffer pdf and djvu viewer"
+HOMEPAGE="http://repo.or.cz/fbpdf.git"
+SRC_URI="https://dev.gentoo.org/~slyfox/distfiles/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+RDEPEND="
+ >=app-text/mupdf-1.7:0=
+ dev-lang/mujs:0=
+ media-libs/freetype:2=
+ media-libs/jbig2dec:0=
+ virtual/jpeg:0=
+ media-libs/openjpeg:0=
+ dev-libs/openssl:0=
+ app-text/djvu:0=
+"
+
+DEPEND="${RDEPEND}"
+
+S=${WORKDIR}/${PN}
+
+src_compile() {
+ emake CC="$(tc-getCC)" CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}"
+}
+
+src_install() {
+ dobin fbpdf fbdjvu
+ dodoc README
+}