Contents of /trunk/extras/evince/evince-3.26.0-r1.smage2
Parent Directory | Revision Log
Revision 30140 -
(show annotations)
(download)
Mon Oct 30 09:09:57 2017 UTC (6 years, 10 months ago) by niro
File size: 1694 byte(s)
Mon Oct 30 09:09:57 2017 UTC (6 years, 10 months ago) by niro
File size: 1694 byte(s)
auto added: ver bump to 3.26.0-r1
1 | # $Id$ |
2 | |
3 | PNAME="evince" |
4 | PVER="3.26.0" |
5 | PBUILD="r1" |
6 | |
7 | PCAT="app-text" |
8 | |
9 | DESCRIPTION="Gnome PDF viewer." |
10 | HOMEPAGE="http://www.gnome.org/" |
11 | |
12 | DEPEND=">= dev-libs/glib2-2.54 |
13 | >= dev-libs/dbus-glib-0.108 |
14 | >= x11-libs/gtk3+-3.22 |
15 | >= x11-libs/cairo-1.14 |
16 | >= app-text/libspectre-0.2 |
17 | >= app-text/poppler-glib-0.60 |
18 | >= media-libs/libtiff-3.7.2 |
19 | >= media-libs/t1lib-5.1 |
20 | >= app-crypt/libsecret-0.18 |
21 | >= dev-libs/gsettings-desktop-schemas-3.24 |
22 | >= app-arch/libarchive-3.3 |
23 | >= gnome-base/gvfs-1.34 |
24 | >= x11-themes/gnome-icon-theme-symbolic-3.12 |
25 | >= sys-libs/libstdc++-6.3" |
26 | |
27 | SDEPEND=">= dev-util/intltool-0.50 |
28 | >= dev-util/pkgconfig-0.25 |
29 | >= dev-util/itstool-2 |
30 | >= sys-dev/autoconf-4 |
31 | >= sys-dev/automake-3 |
32 | >= dev-libs/gobject-introspection-1.54 |
33 | >= app-text/docbook-xsl-stylesheets-1.78 |
34 | >= virtual/sed" |
35 | |
36 | SRCFILE="${PNAME}-${PVER}.tar.xz" |
37 | |
38 | sminclude gnome2 glib2 gtk2 fdo-mime |
39 | |
40 | UP2DATE="updatecmd_gnome ${PNAME}" |
41 | |
42 | src_prepare() |
43 | { |
44 | munpack ${SRCFILE} || die |
45 | cd ${SRCDIR} |
46 | |
47 | # remove hardcoded adwaita icon theme dep |
48 | sed -i 's/adwaita-icon-theme >= $ADWAITA_ICON_THEME_REQUIRED//g' configure || die |
49 | } |
50 | |
51 | src_compile() |
52 | { |
53 | cd ${SRCDIR} |
54 | |
55 | gn2_configure \ |
56 | --disable-nautilus \ |
57 | --disable-libgnome-desktop \ |
58 | --disable-dvi \ |
59 | --disable-djvu \ |
60 | --enable-t1lib \ |
61 | --enable-comics \ |
62 | --enable-dbus \ |
63 | --enable-tiff \ |
64 | --enable-pdf \ |
65 | --disable-xps \ |
66 | --disable-scrollkeeper \ |
67 | --enable-introspection \ |
68 | --disable-schemas-compile \ |
69 | --disable-browser-plugin \ |
70 | --enable-compile-warnings=minimum \ |
71 | || die |
72 | |
73 | mmake || die |
74 | } |
75 | |
76 | postinstall() |
77 | { |
78 | glib2_update_schemas |
79 | gtk2_update_icon_cache |
80 | fdo-mime_update_desktop_db |
81 | } |
82 | |
83 | postremove() |
84 | { |
85 | glib2_update_schemas |
86 | gtk2_update_icon_cache |
87 | fdo-mime_update_desktop_db |
88 | } |