Contents of /trunk/extras/evince/evince-3.16.1-r2.smage2
Parent Directory | Revision Log
Revision 26509 -
(show annotations)
(download)
Tue Jun 30 15:41:00 2015 UTC (9 years, 2 months ago) by niro
File size: 1624 byte(s)
Tue Jun 30 15:41:00 2015 UTC (9 years, 2 months ago) by niro
File size: 1624 byte(s)
-fixed missing schema-compile at postinstall() phase
1 | # $Id$ |
2 | |
3 | PNAME="evince" |
4 | PVER="3.16.1" |
5 | PBUILD="r2" |
6 | |
7 | PCAT="app-text" |
8 | |
9 | DESCRIPTION="Gnome PDF viewer." |
10 | HOMEPAGE="http://www.gnome.org/" |
11 | |
12 | DEPEND=">= dev-libs/glib2-2.44 |
13 | >= dev-libs/dbus-glib-0.104 |
14 | >= x11-libs/gtk3+-3.16 |
15 | >= x11-libs/cairo-1.14 |
16 | >= app-text/libspectre-0.2 |
17 | >= app-text/poppler-glib-0.33 |
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.16 |
22 | >= app-arch/libarchive-3.0.4 |
23 | >= gnome-base/gvfs-1.24 |
24 | >= x11-themes/hicolor-icon-theme-0.15" |
25 | |
26 | SDEPEND=">= dev-util/intltool-0.50 |
27 | >= dev-util/pkgconfig-0.25 |
28 | >= dev-util/itstool-2 |
29 | >= sys-dev/autoconf-4 |
30 | >= sys-dev/automake-3 |
31 | >= dev-libs/gobject-introspection-1.44 |
32 | >= app-text/docbook-xsl-stylesheets-1.78 |
33 | >= virtual/sed" |
34 | |
35 | SRCFILE="${PNAME}-${PVER}.tar.xz" |
36 | |
37 | sminclude gnome2 glib2 gtk2 fdo-mime |
38 | |
39 | UP2DATE="updatecmd_gnome ${PNAME}" |
40 | |
41 | src_prepare() |
42 | { |
43 | munpack ${SRCFILE} || die |
44 | cd ${SRCDIR} |
45 | |
46 | # remove hardcoded adwaita icon theme dep |
47 | sed -i 's/adwaita-icon-theme >= $ADWAITA_ICON_THEME_REQUIRED//g' configure || die |
48 | } |
49 | |
50 | src_compile() |
51 | { |
52 | cd ${SRCDIR} |
53 | |
54 | gn2_configure \ |
55 | --disable-nautilus \ |
56 | --disable-libgnome-desktop \ |
57 | --disable-dvi \ |
58 | --disable-djvu \ |
59 | --enable-t1lib \ |
60 | --enable-comics \ |
61 | --enable-dbus \ |
62 | --enable-tiff \ |
63 | --enable-pdf \ |
64 | --disable-xps \ |
65 | --disable-scrollkeeper \ |
66 | --enable-introspection \ |
67 | --disable-schemas-compile \ |
68 | --disable-browser-plugin \ |
69 | || die |
70 | |
71 | mmake || die |
72 | } |
73 | |
74 | postinstall() |
75 | { |
76 | glib2_update_schemas |
77 | gtk2_update_icon_cache |
78 | fdo-mime_update_desktop_db |
79 | } |
80 | |
81 | postremove() |
82 | { |
83 | glib2_update_schemas |
84 | gtk2_update_icon_cache |
85 | fdo-mime_update_desktop_db |
86 | } |