Gentoo Archives: gentoo-commits

From: "Michael Weber (xmw)" <xmw@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in app-text/mupdf: mupdf-1.1_p20121127.ebuild ChangeLog
Date: Wed, 28 Nov 2012 08:14:14
Message-Id: 20121128081404.8C75820C65@flycatcher.gentoo.org
1 xmw 12/11/28 08:14:04
2
3 Modified: ChangeLog
4 Added: mupdf-1.1_p20121127.ebuild
5 Log:
6 Version bump to current snapshot
7
8 (Portage version: 2.2.0_alpha142/cvs/Linux x86_64, signed Manifest commit with key 62EEF090)
9
10 Revision Changes Path
11 1.55 app-text/mupdf/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-text/mupdf/ChangeLog?rev=1.55&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-text/mupdf/ChangeLog?rev=1.55&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-text/mupdf/ChangeLog?r1=1.54&r2=1.55
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/app-text/mupdf/ChangeLog,v
20 retrieving revision 1.54
21 retrieving revision 1.55
22 diff -u -r1.54 -r1.55
23 --- ChangeLog 28 Nov 2012 08:05:27 -0000 1.54
24 +++ ChangeLog 28 Nov 2012 08:14:04 -0000 1.55
25 @@ -1,6 +1,12 @@
26 # ChangeLog for app-text/mupdf
27 # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/app-text/mupdf/ChangeLog,v 1.54 2012/11/28 08:05:27 xmw Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/app-text/mupdf/ChangeLog,v 1.55 2012/11/28 08:14:04 xmw Exp $
30 +
31 +*mupdf-1.1_p20121127 (28 Nov 2012)
32 +
33 + 28 Nov 2012; Michael Weber <xmw@g.o> +mupdf-1.1_p20121127.ebuild,
34 + +files/mupdf-1.1_p20121127-buildsystem.patch:
35 + Version bump to current snapshot
36
37 *mupdf-1.1_p20120816 (28 Nov 2012)
38
39
40
41
42 1.1 app-text/mupdf/mupdf-1.1_p20121127.ebuild
43
44 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-text/mupdf/mupdf-1.1_p20121127.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-text/mupdf/mupdf-1.1_p20121127.ebuild?rev=1.1&content-type=text/plain
46
47 Index: mupdf-1.1_p20121127.ebuild
48 ===================================================================
49 # Copyright 1999-2012 Gentoo Foundation
50 # Distributed under the terms of the GNU General Public License v2
51 # $Header: /var/cvsroot/gentoo-x86/app-text/mupdf/mupdf-1.1_p20121127.ebuild,v 1.1 2012/11/28 08:14:04 xmw Exp $
52
53 EAPI=4
54
55 inherit eutils flag-o-matic multilib toolchain-funcs
56
57 DESCRIPTION="a lightweight PDF viewer and toolkit written in portable C"
58 HOMEPAGE="http://mupdf.com/"
59 SRC_URI="mirror://gentoo/${P}.tar.gz"
60
61 LICENSE="GPL-3"
62 SLOT="0"
63 KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~ppc-macos ~x64-macos ~x86-macos"
64 IUSE="X vanilla"
65
66 RDEPEND="media-libs/freetype:2
67 media-libs/jbig2dec
68 >=media-libs/openjpeg-1.5
69 virtual/jpeg
70 X? ( x11-libs/libX11
71 x11-libs/libXext )"
72 DEPEND="${RDEPEND}
73 virtual/pkgconfig"
74
75 src_prepare() {
76 epatch "${FILESDIR}"/${P}-buildsystem.patch
77
78 if ! use vanilla ; then
79 epatch "${FILESDIR}"/${PN}-1.1_rc1-zoom-2.patch
80 fi
81 }
82
83 src_compile() {
84 use X || my_nox11="NOX11=yes MUPDF= "
85
86 emake CC="$(tc-getCC)" AR="$(tc-getAR)" OS=Linux \
87 build=debug verbose=true ${my_nox11}
88 }
89
90 src_install() {
91 emake prefix="${ED}usr" libdir="${ED}usr/$(get_libdir)" \
92 build=debug verbose=true ${my_nox11} install
93
94 insinto /usr/include
95 doins pdf/mupdf{,-internal}.h
96 doins fitz/fitz{,-internal}.h
97 doins xps/muxps{,-internal}.h
98
99 insinto /usr/$(get_libdir)/pkgconfig
100 doins debian/mupdf.pc
101
102 if use X ; then
103 domenu debian/mupdf.desktop
104 doicon debian/mupdf.xpm
105 fi
106 dodoc README doc/{example.c,overview.txt}
107 }