Gentoo Archives: gentoo-commits

From: Michael Weber <xmw@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-text/zathura-djvu/
Date: Mon, 23 Jan 2017 01:52:29
Message-Id: 1485136250.81ca807971a5d52450b5434374b96ec122a9e5cc.xmw@gentoo
1 commit: 81ca807971a5d52450b5434374b96ec122a9e5cc
2 Author: Michael Weber <xmw <AT> gentoo <DOT> org>
3 AuthorDate: Mon Jan 23 01:50:50 2017 +0000
4 Commit: Michael Weber <xmw <AT> gentoo <DOT> org>
5 CommitDate: Mon Jan 23 01:50:50 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=81ca8079
7
8 app-text/zathura-djvu: Version bump (bug 605710).
9
10 Package-Manager: Portage-2.3.3, Repoman-2.3.1
11
12 app-text/zathura-djvu/Manifest | 1 +
13 app-text/zathura-djvu/zathura-djvu-0.2.6.ebuild | 50 +++++++++++++++++++++++++
14 2 files changed, 51 insertions(+)
15
16 diff --git a/app-text/zathura-djvu/Manifest b/app-text/zathura-djvu/Manifest
17 index 37ea23b..3324d1a 100644
18 --- a/app-text/zathura-djvu/Manifest
19 +++ b/app-text/zathura-djvu/Manifest
20 @@ -1,2 +1,3 @@
21 DIST zathura-djvu-0.2.3.tar.gz 11181 SHA256 c16e82d525012b788fd01c4189df93708fcffffb7dd34ca09db55005d644ed89 SHA512 6fd9c1d367d02402bc5eaedd853ed0d37aee61a682772c3c2dd543d98c03d85b32cd2b4af4b7f7a6390e97206aa881ebd6df9783e7abf4222352fb4d57de4850 WHIRLPOOL 447aee58bf3c0e9baed6d9d60505245777fd38be8bb2ae4c2f387a98afe334a01cd870995884f99d073904ba6812120c6660d88864bc3d38798d94e1c7d9cd76
22 DIST zathura-djvu-0.2.5.tar.gz 11137 SHA256 08b7110af13e17a9d221bd7a0f7d3b479b3e31631d78bc6c5efb46271a299c0d SHA512 475ad916ed4b1cb1f7d79cf3417a68084bf00d737ffd5436c8079012dff2c8a3c4af28753dd42ad412269ea340e3844f2f781eee080f5487a13ee3a272ffa55a WHIRLPOOL 1304e9a74e0c8d0703f71e5243a112fbe1fe32fd71df64204770b4b0e1dd74e97a0a6a4a0fa258f5e56d5609ded0bb7b5ab097bc1446edb38b27cd4643e6be00
23 +DIST zathura-djvu-0.2.6.tar.gz 11137 SHA256 aefef6a3b702fa06145f16f2559490f4d96d3206bafd4e0c78ac184788cac05f SHA512 8534faa0de896ffea8d8d6f2d0c22697f2fd6ae3f73e955f5077e0a0656c13fd8823580f1b89c4b5aebb5189c69642ef690fc9167be178ce9533e9bb5d483dac WHIRLPOOL e664ee109279176d09d250d4df452f579d20605df4d843f36a68b15e7b5fdba6c9551a25c86056df3e3d3598043c946498f77d19be11ac502e72523f8b95fef4
24
25 diff --git a/app-text/zathura-djvu/zathura-djvu-0.2.6.ebuild b/app-text/zathura-djvu/zathura-djvu-0.2.6.ebuild
26 new file mode 100644
27 index 00000000..3a505f4
28 --- /dev/null
29 +++ b/app-text/zathura-djvu/zathura-djvu-0.2.6.ebuild
30 @@ -0,0 +1,50 @@
31 +# Copyright 1999-2017 Gentoo Foundation
32 +# Distributed under the terms of the GNU General Public License v2
33 +# $Id$
34 +
35 +EAPI=5
36 +
37 +inherit eutils toolchain-funcs
38 +[[ ${PV} == 9999* ]] && inherit git-2
39 +
40 +DESCRIPTION="DjVu plug-in for zathura"
41 +HOMEPAGE="http://pwmt.org/projects/zathura/"
42 +if ! [[ ${PV} == 9999* ]]; then
43 +SRC_URI="http://pwmt.org/projects/zathura/plugins/download/${P}.tar.gz"
44 +fi
45 +EGIT_REPO_URI="https://git.pwmt.org/pwmt/${PN}.git"
46 +EGIT_BRANCH="develop"
47 +
48 +LICENSE="ZLIB"
49 +SLOT="0"
50 +if ! [[ ${PV} == 9999* ]]; then
51 +KEYWORDS="~amd64 ~arm ~x86"
52 +else
53 +KEYWORDS=""
54 +fi
55 +IUSE=""
56 +
57 +RDEPEND=">=app-text/djvu-3.5.24-r1:=
58 + >=app-text/zathura-0.3.1
59 + dev-libs/glib:2=
60 + x11-libs/cairo:="
61 +DEPEND="${RDEPEND}
62 + virtual/pkgconfig"
63 +
64 +pkg_setup() {
65 + myzathuraconf=(
66 + CC="$(tc-getCC)"
67 + LD="$(tc-getLD)"
68 + VERBOSE=1
69 + DESTDIR="${D}"
70 + )
71 +}
72 +
73 +src_compile() {
74 + emake "${myzathuraconf[@]}"
75 +}
76 +
77 +src_install() {
78 + emake "${myzathuraconf[@]}" install
79 + dodoc AUTHORS
80 +}