Magellan Linux

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

Parent Directory Parent Directory | Revision Log Revision Log


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