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