Contents of /branches/magellan-next/extras/epdfview/epdfview-0.1.8-r2.smage2
Parent Directory | Revision Log
Revision 9502 -
(show annotations)
(download)
Sun Dec 4 17:46:45 2011 UTC (12 years, 9 months ago) by niro
File size: 1010 byte(s)
Sun Dec 4 17:46:45 2011 UTC (12 years, 9 months ago) by niro
File size: 1010 byte(s)
-install missing icon
1 | # $Id$ |
2 | |
3 | PNAME="epdfview" |
4 | PVER="0.1.8" |
5 | PBUILD="r2" |
6 | |
7 | PCATEGORIE="app-text" |
8 | |
9 | DESCRIPTION="Lightweight PDF document viewer." |
10 | HOMEPAGE="http://trac.emma-soft.com/epdfview" |
11 | |
12 | DEPEND=">= dev-libs/glib2-2.28 |
13 | >= x11-libs/gtk2+-2.24 |
14 | >= app-text/poppler-glib-0.18 |
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 | ) |
31 | |
32 | UP2DATE="updatecmd ${HOMEPAGE}/wiki/Download | firsttarball" |
33 | |
34 | src_prepare() |
35 | { |
36 | munpack ${SRCFILE} || die |
37 | cd ${SRCDIR} |
38 | |
39 | # fix color channel issue with poppler-0.18 |
40 | mpatch ${PNAME}-${PVER}-swap-colors-with-poppler-0.18.patch || die |
41 | } |
42 | |
43 | src_install() |
44 | { |
45 | cd ${SRCDIR} |
46 | mbuild_src_install || die |
47 | # install missing icon |
48 | minstallpixmap data/icon_epdfview-48.png || die |
49 | } |