Magellan Linux

Annotation of /trunk/todo/librsvg/librsvg-2.22.2-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2910 - (hide annotations) (download)
Tue Jul 14 18:45:36 2009 UTC (15 years, 2 months ago) by niro
File size: 993 byte(s)
-moved to 'todo'
1 niro 2 # $Header: /magellan-cvs/smage/librsvg/librsvg-2.22.2-r1.smage2,v 1.1 2008/03/21 09:34:09 niro Exp $
2    
3     PNAME="librsvg"
4     PVER="2.22.2"
5     PBUILD="r1"
6    
7     PCATEGORIE="gnome-base"
8     STATE="unstable"
9    
10     DESCRIPTION="Free Open Source SVG Rendering Library."
11     HOMEPAGE="http://librsvg.sourceforge.net/"
12    
13     DEPEND=">= dev-libs/glib2-2.16
14     >= x11-libs/gtk2+-2.12
15     >= media-libs/libart_lgpl-2.3.20
16     >= dev-libs/libxml2-2.6.31
17     >= x11-libs/pango-1.20
18     >= sys-libs/zlib-1.2
19     >= dev-libs/popt-1.10
20     >= gnome-extra/libgsf-1.14"
21    
22     sminclude gnome2
23    
24     src_compile()
25     {
26     cd ${SRCDIR}
27    
28     # prevent gnome-vfs dependency
29     gn2_configure --disable-gnome || die
30     mmake || die
31     }
32    
33     src_install()
34     {
35     cd ${SRCDIR}
36    
37     gn2_src_install || die
38    
39     # remove gdk-pixbuf loaders;
40     # we generate them in postinstall
41     rm -rf ${BINDIR}/etc || die
42     }
43    
44     postinstall()
45     {
46     # generate gdk-pixbuf loaders
47     gdk-pixbuf-query-loaders > ${MROOT}/etc/gtk-2.0/gdk-pixbuf.loaders
48     }
49    
50     postremove()
51     {
52     gdk-pixbuf-query-loaders > ${MROOT}/etc/gtk-2.0/gdk-pixbuf.loaders
53     }

Properties

Name Value
svn:keywords Id