summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Weber <xmw@gentoo.org>2017-01-23 02:55:22 +0100
committerMichael Weber <xmw@gentoo.org>2017-01-23 02:55:22 +0100
commitfb422fa9c468592f9fc18a384eb497c27df9507b (patch)
tree8b6654b1f18d632c075bfa1e5930aa56b3f9b5a9 /app-text/zathura-pdf-poppler/zathura-pdf-poppler-0.2.7.ebuild
parentapp-text/zathura-cb: Version bump (bug 605710). (diff)
downloadgentoo-fb422fa9c468592f9fc18a384eb497c27df9507b.tar.gz
gentoo-fb422fa9c468592f9fc18a384eb497c27df9507b.tar.bz2
gentoo-fb422fa9c468592f9fc18a384eb497c27df9507b.zip
app-text/zathura-pdf-poppler: Version bump (bug 605710).
Package-Manager: Portage-2.3.3, Repoman-2.3.1
Diffstat (limited to 'app-text/zathura-pdf-poppler/zathura-pdf-poppler-0.2.7.ebuild')
-rw-r--r--app-text/zathura-pdf-poppler/zathura-pdf-poppler-0.2.7.ebuild49
1 files changed, 49 insertions, 0 deletions
diff --git a/app-text/zathura-pdf-poppler/zathura-pdf-poppler-0.2.7.ebuild b/app-text/zathura-pdf-poppler/zathura-pdf-poppler-0.2.7.ebuild
new file mode 100644
index 00000000000..a3e4ba2025f
--- /dev/null
+++ b/app-text/zathura-pdf-poppler/zathura-pdf-poppler-0.2.7.ebuild
@@ -0,0 +1,49 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit eutils toolchain-funcs
+[[ ${PV} == 9999* ]] && inherit git-2
+
+DESCRIPTION="PDF plug-in for zathura"
+HOMEPAGE="http://pwmt.org/projects/zathura/"
+if ! [[ ${PV} == 9999* ]]; then
+SRC_URI="http://pwmt.org/projects/zathura/plugins/download/${P}.tar.gz"
+fi
+EGIT_REPO_URI="https://git.pwmt.org/pwmt/${PN}.git"
+EGIT_BRANCH="develop"
+
+LICENSE="ZLIB"
+SLOT="0"
+if ! [[ ${PV} == 9999* ]]; then
+KEYWORDS="~amd64 ~arm ~x86"
+else
+KEYWORDS=""
+fi
+IUSE=""
+
+RDEPEND="app-text/poppler:=[cairo]
+ >=app-text/zathura-0.2.7
+ x11-libs/cairo:="
+DEPEND="${RDEPEND}
+ virtual/pkgconfig"
+
+pkg_setup() {
+ myzathuraconf=(
+ CC="$(tc-getCC)"
+ LD="$(tc-getLD)"
+ VERBOSE=1
+ DESTDIR="${D}"
+ )
+}
+
+src_compile() {
+ emake "${myzathuraconf[@]}"
+}
+
+src_install() {
+ emake "${myzathuraconf[@]}" install
+ dodoc AUTHORS
+}