Magellan Linux

Contents of /trunk/todo/installer-gtk2+/installer-gtk2+-2.16.1-r3.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 4179 - (show annotations) (download)
Mon Nov 30 09:12:17 2009 UTC (14 years, 11 months ago) by niro
File size: 1618 byte(s)
-moved to 'todo'
1 # $Id$
2
3 PNAME="installer-gtk2+"
4 PVER="2.16.1"
5 PBUILD="r3"
6
7 PCATEGORIE="app-mage"
8 STATE="unstable"
9
10 DESCRIPTION="Internal gtk2+ library for the installer. Not intended for main use."
11 HOMEPAGE="http://www.gtk.org/"
12
13 DEPEND=">= x11-libs/libXrender-0.9
14 >= x11-libs/libX11-1
15 >= x11-libs/libXi-1
16 >= x11-libs/libXt-1
17 >= x11-libs/libXext-1
18 >= x11-libs/libXcursor-1.1.9
19 >= x11-libs/libXrandr-1.2.99
20 >= x11-libs/libXfixes-4
21 >= x11-libs/libXinerama-1.0.3
22 >= x11-libs/libXcomposite-0.4
23 >= x11-libs/libXdamage-1
24 >= dev-libs/glib2-2.20
25 >= dev-libs/atk-1.24
26 >= app-mage/installer-pango-1.24
27 >= media-libs/libpng-1.2.32
28 >= app-mage/installer-cairo-1.8"
29
30 SDEPEND=">= dev-util/pkgconfig-0.23
31 >= sys-dev/autoconf-4
32 >= sys-dev/automake-3"
33
34 SRCFILE="gtk+-${PVER}.tar.bz2"
35 SRCDIR="${BUILDDIR}/gtk+-${PVER}"
36
37 sminclude mbuild mtools
38
39 SRC_URI=(
40 gnome://gtk+/${PVER%.*}/${SRCFILE}
41 ftp://ftp.gtk.org/pub/gtk/v${PVER:0:4}/${SRCFILE}
42 mirror://gtk2+/${SRCFILE}
43 )
44
45 UP2DATE="updatecmd_gnome gtk+"
46
47 # gtk+-2 don't like strong CFLAGS
48 export CFLAGS="${CFLAGS//-O3} -O2"
49 export CXXFLAGS="${CFLAGS}"
50
51 src_compile()
52 {
53 cd ${SRCDIR}
54
55 PKG_CONFIG_PATH=/usr/installer/lib/pkgconfig \
56 ./configure \
57 --prefix=/usr/installer \
58 --without-libjpeg \
59 --without-libtiff \
60 --with-libpng \
61 --with-gdktarget=x11 \
62 --with-xinput \
63 --disable-gtk-doc \
64 --disable-cups \
65 --without-libjasper \
66 || die
67
68 mmake || die
69 }
70
71 postinstall()
72 {
73 /usr/installer/bin/gtk-query-immodules-2.0 > ${MROOT}/usr/installer/etc/gtk-2.0/gtk.immodules
74 /usr/installer/bin/gdk-pixbuf-query-loaders > ${MROOT}/usr/installer/etc/gtk-2.0/gdk-pixbuf.loaders
75 }

Properties

Name Value
svn:keywords Id