From: | "Tim Harder (radhermit)" <radhermit@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in app-text/apvlv: ChangeLog apvlv-0.1.2.ebuild |
Date: | Thu, 14 Jul 2011 09:29:23 |
Message-Id: | 20110714092912.17F4A2004B@flycatcher.gentoo.org |
1 | radhermit 11/07/14 09:29:12 |
2 | |
3 | Modified: ChangeLog |
4 | Added: apvlv-0.1.2.ebuild |
5 | Log: |
6 | Version bump. Use new github site and update to EAPI 4. |
7 | |
8 | (Portage version: 2.2.0_alpha43/cvs/Linux x86_64) |
9 | |
10 | Revision Changes Path |
11 | 1.14 app-text/apvlv/ChangeLog |
12 | |
13 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-text/apvlv/ChangeLog?rev=1.14&view=markup |
14 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-text/apvlv/ChangeLog?rev=1.14&content-type=text/plain |
15 | diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-text/apvlv/ChangeLog?r1=1.13&r2=1.14 |
16 | |
17 | Index: ChangeLog |
18 | =================================================================== |
19 | RCS file: /var/cvsroot/gentoo-x86/app-text/apvlv/ChangeLog,v |
20 | retrieving revision 1.13 |
21 | retrieving revision 1.14 |
22 | diff -u -r1.13 -r1.14 |
23 | --- ChangeLog 21 Mar 2011 07:38:21 -0000 1.13 |
24 | +++ ChangeLog 14 Jul 2011 09:29:11 -0000 1.14 |
25 | @@ -1,6 +1,11 @@ |
26 | # ChangeLog for app-text/apvlv |
27 | # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 |
28 | -# $Header: /var/cvsroot/gentoo-x86/app-text/apvlv/ChangeLog,v 1.13 2011/03/21 07:38:21 radhermit Exp $ |
29 | +# $Header: /var/cvsroot/gentoo-x86/app-text/apvlv/ChangeLog,v 1.14 2011/07/14 09:29:11 radhermit Exp $ |
30 | + |
31 | +*apvlv-0.1.2 (14 Jul 2011) |
32 | + |
33 | + 14 Jul 2011; Tim Harder <radhermit@g.o> +apvlv-0.1.2.ebuild: |
34 | + Version bump. Use new github site and update to EAPI 4. |
35 | |
36 | 21 Mar 2011; Tim Harder <radhermit@g.o> -apvlv-0.0.9.8.ebuild, |
37 | -apvlv-0.1.0.ebuild: |
38 | |
39 | |
40 | |
41 | 1.1 app-text/apvlv/apvlv-0.1.2.ebuild |
42 | |
43 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-text/apvlv/apvlv-0.1.2.ebuild?rev=1.1&view=markup |
44 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-text/apvlv/apvlv-0.1.2.ebuild?rev=1.1&content-type=text/plain |
45 | |
46 | Index: apvlv-0.1.2.ebuild |
47 | =================================================================== |
48 | # Copyright 1999-2011 Gentoo Foundation |
49 | # Distributed under the terms of the GNU General Public License v2 |
50 | # $Header: /var/cvsroot/gentoo-x86/app-text/apvlv/apvlv-0.1.2.ebuild,v 1.1 2011/07/14 09:29:11 radhermit Exp $ |
51 | |
52 | EAPI=4 |
53 | |
54 | inherit eutils cmake-utils |
55 | |
56 | MY_P="${P}-Source" |
57 | DESCRIPTION="Alf's PDF Viewer Like Vim" |
58 | HOMEPAGE="http://naihe2010.github.com/apvlv/" |
59 | SRC_URI="https://github.com/downloads/naihe2010/${PN}/${MY_P}.tar.gz" |
60 | |
61 | LICENSE="GPL-2" |
62 | SLOT="0" |
63 | KEYWORDS="~amd64 ~x86" |
64 | IUSE="debug djvu" |
65 | |
66 | RDEPEND=">=x11-libs/gtk+-2.10.4:2 |
67 | >=app-text/poppler-0.12.3-r3[cairo] |
68 | djvu? ( app-text/djvu )" |
69 | DEPEND="${RDEPEND} |
70 | dev-util/pkgconfig" |
71 | |
72 | S="${WORKDIR}/${MY_P}" |
73 | |
74 | src_prepare() { |
75 | # bug #349979 |
76 | EPATCH_OPTS="-l" |
77 | has_version ">=app-text/poppler-0.15.0" && epatch "${FILESDIR}"/${PN}-0.1.0-poppler-0.16.patch |
78 | |
79 | # Remove prefixes so it works with the cmake-utils eclass |
80 | sed -i -e "s:APVLV_::" CMakeLists.txt src/CMakeLists.txt || die |
81 | |
82 | # Don't install tex file |
83 | sed -i -e "s:Startup.tex::" CMakeLists.txt || die |
84 | } |
85 | |
86 | src_configure() { |
87 | mycmakeargs=( |
88 | -DSYSCONFDIR=/etc/${PN} |
89 | -DDOCDIR=/usr/share/${PN} |
90 | -DMANDIR=/usr/share/man |
91 | -DWITH_UMD=OFF |
92 | $(cmake-utils_use_enable debug) |
93 | $(cmake-utils_use_with djvu) |
94 | ) |
95 | cmake-utils_src_configure |
96 | } |
97 | |
98 | src_install() { |
99 | cmake-utils_src_install |
100 | dodoc AUTHORS NEWS README THANKS TODO |
101 | newicon icons/pdf.png ${PN}.png |
102 | make_desktop_entry ${PN} "Alf's PDF Viewer Like Vim" ${PN} "Office;Viewer" |
103 | } |