1 |
xmw 10/08/30 12:03:38 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: mupdf-0.7.ebuild |
5 |
Log: |
6 |
version bump to 0.7 |
7 |
(Portage version: 2.1.8.3/cvs/Linux x86_64) |
8 |
|
9 |
Revision Changes Path |
10 |
1.2 app-text/mupdf/ChangeLog |
11 |
|
12 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-text/mupdf/ChangeLog?rev=1.2&view=markup |
13 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-text/mupdf/ChangeLog?rev=1.2&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-text/mupdf/ChangeLog?r1=1.1&r2=1.2 |
15 |
|
16 |
Index: ChangeLog |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/app-text/mupdf/ChangeLog,v |
19 |
retrieving revision 1.1 |
20 |
retrieving revision 1.2 |
21 |
diff -u -r1.1 -r1.2 |
22 |
--- ChangeLog 24 Aug 2010 23:08:44 -0000 1.1 |
23 |
+++ ChangeLog 30 Aug 2010 12:03:38 -0000 1.2 |
24 |
@@ -1,6 +1,12 @@ |
25 |
# ChangeLog for app-text/mupdf |
26 |
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 |
27 |
-# $Header: /var/cvsroot/gentoo-x86/app-text/mupdf/ChangeLog,v 1.1 2010/08/24 23:08:44 xmw Exp $ |
28 |
+# $Header: /var/cvsroot/gentoo-x86/app-text/mupdf/ChangeLog,v 1.2 2010/08/30 12:03:38 xmw Exp $ |
29 |
+ |
30 |
+*mupdf-0.7 (30 Aug 2010) |
31 |
+ |
32 |
+ 30 Aug 2010; Michael Weber (xmw) <xmw@g.o> +mupdf-0.7.ebuild, |
33 |
+ +files/mupdf-0.7-buildsystem.patch: |
34 |
+ Version bump, buildsystem still needs a patch for CC and LDFLAGS |
35 |
|
36 |
*mupdf-0.6 (24 Aug 2010) |
37 |
|
38 |
|
39 |
|
40 |
|
41 |
1.1 app-text/mupdf/mupdf-0.7.ebuild |
42 |
|
43 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-text/mupdf/mupdf-0.7.ebuild?rev=1.1&view=markup |
44 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-text/mupdf/mupdf-0.7.ebuild?rev=1.1&content-type=text/plain |
45 |
|
46 |
Index: mupdf-0.7.ebuild |
47 |
=================================================================== |
48 |
# Copyright 1999-2010 Gentoo Foundation |
49 |
# Distributed under the terms of the GNU General Public License v2 |
50 |
# $Header: /var/cvsroot/gentoo-x86/app-text/mupdf/mupdf-0.7.ebuild,v 1.1 2010/08/30 12:03:38 xmw Exp $ |
51 |
|
52 |
EAPI=2 |
53 |
|
54 |
inherit eutils flag-o-matic multilib toolchain-funcs |
55 |
|
56 |
DESCRIPTION="a lightweight PDF viewer and toolkit written in portable C" |
57 |
HOMEPAGE="http://mupdf.com/" |
58 |
SRC_URI="http://${PN}.com/download/${P}.tar.gz" |
59 |
|
60 |
LICENSE="GPL-3" |
61 |
SLOT="0" |
62 |
KEYWORDS="~amd64 ~x86" |
63 |
IUSE="X" |
64 |
|
65 |
RDEPEND="media-libs/freetype:2 |
66 |
media-libs/jbig2dec |
67 |
media-libs/jpeg |
68 |
media-libs/openjpeg |
69 |
X? ( x11-libs/libX11 |
70 |
x11-libs/libXext )" |
71 |
DEPEND="${RDEPEND} |
72 |
dev-util/pkgconfig" |
73 |
|
74 |
src_prepare() { |
75 |
epatch "${FILESDIR}"/${P}-buildsystem.patch |
76 |
} |
77 |
|
78 |
src_compile() { |
79 |
my_pdfexe= |
80 |
use X || my_pdfexe="PDFVIEW_EXE=" |
81 |
|
82 |
emake build=release ${my_pdfexe} CC="$(tc-getCC)" verbose=true || die |
83 |
} |
84 |
|
85 |
src_install() { |
86 |
emake build=release ${my_pdfexe} prefix="${D}usr" \ |
87 |
libprefix="${D}usr/$(get_libdir)" verbose=true install || die |
88 |
|
89 |
insinto /usr/$(get_libdir)/pkgconfig |
90 |
doins debian/mupdf.pc || die |
91 |
|
92 |
if use X ; then |
93 |
domenu debian/mupdf.desktop || die |
94 |
doicon debian/mupdf.xpm || die |
95 |
doman debian/mupdf.1 || die |
96 |
fi |
97 |
doman debian/pdf{clean,draw,show}.1 || die |
98 |
dodoc README || die |
99 |
|
100 |
# avoid collision with app-text/poppler-utils |
101 |
mv "${D}"usr/bin/pdfinfo "${D}"usr/bin/mupdf_pdfinfo || die |
102 |
} |
103 |
|
104 |
pkg_postinst() { |
105 |
elog "pdfinfo was renamed to mupdf_pdfinfo" |
106 |
} |