Magellan Linux

Contents of /branches/magellan-next/extras/wxgtk/wxgtk-2.8.10-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 8285 - (show annotations) (download)
Thu Jul 14 00:02:39 2011 UTC (12 years, 9 months ago) by niro
File size: 1557 byte(s)
imported
1 # $Id$
2
3 PNAME="wxgtk"
4 PVER="2.8.10"
5 PBUILD="r1"
6
7 PCATEGORIE="x11-libs"
8 STATE="unstable"
9
10 DESCRIPTION="GTK+ version of the open source, cross-platform native UI framework."
11 HOMEPAGE="http://www.wxwidgets.org/"
12
13 DEPEND=">= virtual/opengl
14 >= x11-libs/libSM-1
15 >= x11-libs/libXinerama-1
16 >= x11-libs/libXxf86vm-1
17 >= sys-libs/zlib-1.2.3
18 >= media-libs/libpng-1.2.40
19 >= media-libs/libtiff-3.9
20 >= media-libs/libjpeg-7
21 >= dev-libs/glib2-2.22
22 >= x11-libs/gtk2+-2.18"
23
24 SDEPEND=">= x11-proto/xproto-7
25 >= x11-proto/xineramaproto-1
26 >= x11-proto/xf86vidmodeproto-1"
27
28 SRCFILE="${PNAME/gtk/GTK}-${PVER}.tar.gz"
29 SRCDIR="${BUILDDIR}/${PNAME/gtk/GTK}-${PVER}"
30
31 sminclude mbuild
32
33 SRC_URI=(
34 sourceforge://wxwindows/${SRCFILE}
35 mirror://${PNAME}/${SRCFILE}
36 mirror://${PNAME}/${PNAME}-${PVER}-glib-2.22-gsocket.patch
37 )
38
39 UP2DATE="updatecmd_sourceforge wxwindows wxGTK"
40
41 src_prepare()
42 {
43 munpack ${SRCFILE} || die
44 cd ${SRCDIR}
45
46 # fixes compile issues with newer glib2 and gsocket.h
47 # see: http://trac.wxwidgets.org/ticket/10883
48 mpatch ${PNAME}-${PVER}-glib-2.22-gsocket.patch || die
49 }
50
51 src_compile()
52 {
53 cd ${SRCDIR}
54
55 export LANG='C'
56 mconfigure \
57 --build=${CHOST} \
58 --disable-precomp-headers \
59 --disable-debugreport \
60 --with-zlib \
61 --with-opengl \
62 --with-gtk \
63 --enable-gtk2 \
64 --enable-unicode \
65 || die
66
67 mmake || die
68
69 cd contrib/src
70 mmake || die
71 }
72
73 src_install()
74 {
75 cd ${SRCDIR}
76 minstall libdir=${BINDIR}/usr/$(mlibdir) || die
77
78 cd contrib/src
79 minstall libdir=${BINDIR}/usr/$(mlibdir) || die
80 cd ${SRCDIR}
81
82 # docs
83 minstalldocs *.txt || die
84 }

Properties

Name Value
svn:keywords Id