summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Weber <xmw@gentoo.org>2017-01-23 02:50:50 +0100
committerMichael Weber <xmw@gentoo.org>2017-01-23 02:50:50 +0100
commit81ca807971a5d52450b5434374b96ec122a9e5cc (patch)
tree9d10d1b8a9840e7f43951cc736d8a93881e9527d /app-text/zathura-djvu
parentapp-text/zathura-ps: Version bump (bug 605710). (diff)
downloadgentoo-81ca807971a5d52450b5434374b96ec122a9e5cc.tar.gz
gentoo-81ca807971a5d52450b5434374b96ec122a9e5cc.tar.bz2
gentoo-81ca807971a5d52450b5434374b96ec122a9e5cc.zip
app-text/zathura-djvu: Version bump (bug 605710).
Package-Manager: Portage-2.3.3, Repoman-2.3.1
Diffstat (limited to 'app-text/zathura-djvu')
-rw-r--r--app-text/zathura-djvu/Manifest1
-rw-r--r--app-text/zathura-djvu/zathura-djvu-0.2.6.ebuild50
2 files changed, 51 insertions, 0 deletions
diff --git a/app-text/zathura-djvu/Manifest b/app-text/zathura-djvu/Manifest
index 37ea23bd7bf0..3324d1ae6fc3 100644
--- a/app-text/zathura-djvu/Manifest
+++ b/app-text/zathura-djvu/Manifest
@@ -1,2 +1,3 @@
DIST zathura-djvu-0.2.3.tar.gz 11181 SHA256 c16e82d525012b788fd01c4189df93708fcffffb7dd34ca09db55005d644ed89 SHA512 6fd9c1d367d02402bc5eaedd853ed0d37aee61a682772c3c2dd543d98c03d85b32cd2b4af4b7f7a6390e97206aa881ebd6df9783e7abf4222352fb4d57de4850 WHIRLPOOL 447aee58bf3c0e9baed6d9d60505245777fd38be8bb2ae4c2f387a98afe334a01cd870995884f99d073904ba6812120c6660d88864bc3d38798d94e1c7d9cd76
DIST zathura-djvu-0.2.5.tar.gz 11137 SHA256 08b7110af13e17a9d221bd7a0f7d3b479b3e31631d78bc6c5efb46271a299c0d SHA512 475ad916ed4b1cb1f7d79cf3417a68084bf00d737ffd5436c8079012dff2c8a3c4af28753dd42ad412269ea340e3844f2f781eee080f5487a13ee3a272ffa55a WHIRLPOOL 1304e9a74e0c8d0703f71e5243a112fbe1fe32fd71df64204770b4b0e1dd74e97a0a6a4a0fa258f5e56d5609ded0bb7b5ab097bc1446edb38b27cd4643e6be00
+DIST zathura-djvu-0.2.6.tar.gz 11137 SHA256 aefef6a3b702fa06145f16f2559490f4d96d3206bafd4e0c78ac184788cac05f SHA512 8534faa0de896ffea8d8d6f2d0c22697f2fd6ae3f73e955f5077e0a0656c13fd8823580f1b89c4b5aebb5189c69642ef690fc9167be178ce9533e9bb5d483dac WHIRLPOOL e664ee109279176d09d250d4df452f579d20605df4d843f36a68b15e7b5fdba6c9551a25c86056df3e3d3598043c946498f77d19be11ac502e72523f8b95fef4
diff --git a/app-text/zathura-djvu/zathura-djvu-0.2.6.ebuild b/app-text/zathura-djvu/zathura-djvu-0.2.6.ebuild
new file mode 100644
index 000000000000..3a505f4e2478
--- /dev/null
+++ b/app-text/zathura-djvu/zathura-djvu-0.2.6.ebuild
@@ -0,0 +1,50 @@
+# 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="DjVu 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/djvu-3.5.24-r1:=
+ >=app-text/zathura-0.3.1
+ dev-libs/glib:2=
+ 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
+}