Annotation of /branches/magellan-next/extras/librsvg/librsvg-2.34.0-r1.smage2
Parent Directory | Revision Log
Revision 8242 -
(hide annotations)
(download)
Wed Jul 13 14:35:28 2011 UTC (12 years, 10 months ago) by niro
File size: 1195 byte(s)
Wed Jul 13 14:35:28 2011 UTC (12 years, 10 months ago) by niro
File size: 1195 byte(s)
auto added: ver bump to 2.34.0-r1
1 | niro | 8242 | # $Id$ |
2 | |||
3 | PNAME="librsvg" | ||
4 | PVER="2.34.0" | ||
5 | PBUILD="r1" | ||
6 | |||
7 | PCATEGORIE="gnome-base" | ||
8 | |||
9 | DESCRIPTION="Free Open Source SVG Rendering Library." | ||
10 | HOMEPAGE="http://librsvg.sourceforge.net/" | ||
11 | |||
12 | DEPEND=">= dev-libs/glib2-2.28 | ||
13 | >= x11-libs/gdk-pixbuf-2.22 | ||
14 | >= x11-libs/gtk2+-2.24 | ||
15 | >= x11-libs/cairo-1.10 | ||
16 | >= x11-libs/pango-1.30 | ||
17 | >= media-libs/freetype-2.4 | ||
18 | >= media-libs/fontconfig-2.8 | ||
19 | >= dev-libs/libxml2-2.7 | ||
20 | >=dev-libs/libcroco-0.6.2" | ||
21 | |||
22 | sminclude gnome2 multilib | ||
23 | |||
24 | UP2DATE="updatecmd_gnome ${PNAME}" | ||
25 | |||
26 | src_compile() | ||
27 | { | ||
28 | cd ${SRCDIR} | ||
29 | |||
30 | # prevent gnome-vfs dependency | ||
31 | gn2_configure \ | ||
32 | --disable-static \ | ||
33 | --with-gtk=2.0 \ | ||
34 | --enable-gtk-theme \ | ||
35 | --enable-croco \ | ||
36 | --enable-pixbuf-loader \ | ||
37 | || die | ||
38 | |||
39 | mmake || die | ||
40 | } | ||
41 | |||
42 | postinstall() | ||
43 | { | ||
44 | gdk-pixbuf-query-loaders > ${MROOT}/usr/$(mlibdir)/gdk-pixbuf-2.0/2.10.0/loaders.cache | ||
45 | |||
46 | # honor multilib | ||
47 | if [[ $(mlibdir) != lib ]] | ||
48 | then | ||
49 | gdk-pixbuf-query-loaders-m32 > ${MROOT}/usr/lib/gdk-pixbuf-2.0/2.10.0/loaders.cache | ||
50 | fi | ||
51 | } | ||
52 | |||
53 | postremove() | ||
54 | { | ||
55 | gdk-pixbuf-query-loaders > ${MROOT}/usr/$(mlibdir)/gdk-pixbuf-2.0/2.10.0/loaders.cache | ||
56 | |||
57 | # honor multilib | ||
58 | if [[ $(mlibdir) != lib ]] | ||
59 | then | ||
60 | gdk-pixbuf-query-loaders-m32 > ${MROOT}/usr/lib/gdk-pixbuf-2.0/2.10.0/loaders.cache | ||
61 | fi | ||
62 | } |