Contents of /branches/R11-stable/extras/epdfview/epdfview-0.1.8-r3.smage2
Parent Directory | Revision Log
Revision 16436 -
(show annotations)
(download)
Fri Feb 8 14:47:33 2013 UTC (11 years, 4 months ago) by niro
Original Path: trunk/extras/epdfview/epdfview-0.1.8-r3.smage2
File size: 1131 byte(s)
Fri Feb 8 14:47:33 2013 UTC (11 years, 4 months ago) by niro
Original Path: trunk/extras/epdfview/epdfview-0.1.8-r3.smage2
File size: 1131 byte(s)
-fix build against newer glib2
1 | # $Id$ |
2 | |
3 | PNAME="epdfview" |
4 | PVER="0.1.8" |
5 | PBUILD="r3" |
6 | |
7 | PCAT="app-text" |
8 | |
9 | DESCRIPTION="Lightweight PDF document viewer." |
10 | HOMEPAGE="http://trac.emma-soft.com/epdfview" |
11 | |
12 | DEPEND=">= dev-libs/glib2-2.34 |
13 | >= x11-libs/gtk2+-2.24 |
14 | >= app-text/poppler-glib-0.21 |
15 | >= net-print/cups-1.5" |
16 | |
17 | SDEPEND=">= sys-dev/autoconf-9 |
18 | >= sys-dev/automake-4 |
19 | >= sys-dev/gettext-0.18" |
20 | |
21 | SRCFILE="${PNAME}-${PVER}.tar.bz2" |
22 | SRCDIR="${BUILDDIR}/${PNAME}-${PVER}" |
23 | |
24 | sminclude mbuild mtools |
25 | |
26 | SRC_URI=( |
27 | http://trac.emma-soft.com/${PNAME}/chrome/site/releases/${SRCFILE} |
28 | mirror://${PNAME}/${SRCFILE} |
29 | mirror://${PNAME}/${PNAME}-${PVER}-swap-colors-with-poppler-0.18.patch |
30 | mirror://${PNAME}/${PNAME}-${PVER}-glib2.patch |
31 | ) |
32 | |
33 | UP2DATE="updatecmd ${HOMEPAGE}/wiki/Download | firsttarball" |
34 | |
35 | src_prepare() |
36 | { |
37 | munpack ${SRCFILE} || die |
38 | cd ${SRCDIR} |
39 | |
40 | # fix color channel issue with poppler-0.18 |
41 | mpatch ${PNAME}-${PVER}-swap-colors-with-poppler-0.18.patch || die |
42 | |
43 | # fix build against newer glib-2 |
44 | mpatch ${PNAME}-${PVER}-glib2.patch || die |
45 | } |
46 | |
47 | src_install() |
48 | { |
49 | cd ${SRCDIR} |
50 | mbuild_src_install || die |
51 | # install missing icon |
52 | minstallpixmap data/icon_epdfview-48.png || die |
53 | } |