Magellan Linux

Annotation of /trunk/extras/wxgtk/wxgtk-3.0.1.1-r2.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 23407 - (hide annotations) (download)
Thu Nov 20 10:34:16 2014 UTC (9 years, 6 months ago) by niro
File size: 2428 byte(s)
-disabled atm, to get opennx build
1 niro 22324 # $Id$
2    
3     PNAME="wxgtk"
4     PVER="3.0.1.1"
5     PBUILD="r2"
6    
7 niro 23407 STATE="disabled" # not working with opennx
8 niro 22324 PCAT="x11-libs"
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.5
18     >= media-libs/libpng-1.5
19     >= media-libs/libtiff-3.9
20     >= media-libs/libjpeg-8
21     >= media-libs/gstreamer0.10-plugins-base-0.10
22     >= dev-libs/expat-2
23     >= dev-libs/glib2-2.40
24     >= x11-libs/gtk2+-2.24"
25    
26     SDEPEND=">= x11-proto/xproto-7
27     >= x11-proto/xineramaproto-1
28     >= x11-proto/xf86vidmodeproto-1"
29    
30     # we are using the wxpython tarball which contains the full source of
31     # wxGTK and is release more frequently
32     SRCFILE="wxPython-src-${PVER}.tar.bz2"
33     SRCDIR="${BUILDDIR}/wxPython-src-${PVER}"
34    
35     sminclude mbuild
36     msetfeature "!check"
37    
38     SRC_URI=(
39     #sourceforge://wxwindows/${SRCFILE}
40     sourceforge://wxpython/${SRCFILE}
41     mirror://${PNAME}/${SRCFILE}
42     )
43    
44     UP2DATE="updatecmd_sourceforge wxpython wxPython"
45    
46     src_compile()
47     {
48     cd ${SRCDIR}
49    
50     # --disable-optimize to use our own CFLAGS
51     # --enable-debugreport to fix missing gtku_qa solib
52     export LANG='C'
53     mconfigure \
54     --disable-optimize \
55     --disable-precomp-headers \
56     --disable-rpath \
57     --enable-soname \
58     --enable-debugreport \
59     --enable-compat24 \
60     --enable-compat26 \
61     --enable-compat28 \
62     --enable-unicode \
63     --enable-intl \
64     --enable-no_deps \
65     --enable-geometry \
66     --enable-display \
67     --enable-gui \
68     --enable-sound \
69     --enable-timer \
70     --enable-graphics_ctx \
71     --enable-mediactrl \
72     --with-opengl \
73     --with-gtk=2 \
74     --with-regex=builtin \
75     --with-zlib=sys \
76     --with-expat=sys \
77     --with-libpng=sys \
78     --with-libxpm=sys \
79     --with-libjpeg=sys \
80     --with-libtiff=sys \
81     --without-gnomevfs \
82     --without-gnomeprint \
83     || die
84    
85     mmake || die
86    
87     #mmake -C contrib/src/stc || die
88     #mmake -C contrib/src/ogl || die
89     #mmake -C contrib/src/gizmos || die
90     #mmake -C contrib/src/svg || die
91    
92     # not part of the main build?
93     mmake -j1 -C locale allmo || die
94     }
95    
96     src_install()
97     {
98     cd ${SRCDIR}
99     mmake DESTDIR=${BINDIR} install || die
100    
101     #mmake -C contrib/src/stc DESTDIR=${BINDIR} install || die
102     #mmake -C contrib/src/ogl DESTDIR=${BINDIR} install || die
103     #mmake -C contrib/src/gizmos DESTDIR=${BINDIR} install || die
104     #mmake -C contrib/src/svg DESTDIR=${BINDIR} install || die
105    
106     # docs
107     minstalldocs *.txt docs/*.txt || die
108     }