Magellan Linux

Contents of /branches/R11-unstable/extras/wxgtk/wxgtk-2.8.12.1-r4.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 29237 - (show annotations) (download)
Tue May 30 11:53:37 2017 UTC (6 years, 11 months ago) by niro
Original Path: trunk/extras/wxgtk/wxgtk-2.8.12.1-r4.smage2
File size: 2232 byte(s)
-rebuild against libjpeg-turbo
1 # $Id$
2
3 PNAME="wxgtk"
4 PVER="2.8.12.1"
5 PBUILD="r4"
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 >= virtual/glu
14 >= x11-libs/libX11-1.6
15 >= x11-libs/libXinerama-1
16 >= x11-libs/libXxf86vm-1
17 >= sys-libs/zlib-1.2.8
18 >= media-libs/libpng-1.5
19 >= media-libs/libtiff-3.9
20 >= virtual/libjpeg
21 >= dev-libs/expat-2
22 >= dev-libs/glib2-2.52
23 >= x11-libs/gtk2+-2.24
24 >= sys-libs/libstdc++-6.3"
25
26 # we are using the wxpython tarball which contains the full source of
27 # wxGTK and is release more frequently
28 SRCFILE="wxPython-src-${PVER}.tar.bz2"
29 SRCDIR="${BUILDDIR}/wxPython-src-${PVER}"
30
31 sminclude mbuild
32 msetfeature "!check"
33
34 SRC_URI=(
35 #sourceforge://wxwindows/${SRCFILE}
36 sourceforge://wxpython/${SRCFILE}
37 mirror://${PNAME}/${SRCFILE}
38 )
39
40 UP2DATE="updatecmd_sourceforge wxpython wxPython"
41
42 src_compile()
43 {
44 cd ${SRCDIR}
45
46 # --disable-optimize to use our own CFLAGS
47 # --enable-debugreport to fix missing gtku_qa solib
48 export LANG='C'
49 mconfigure \
50 --disable-optimize \
51 --disable-precomp-headers \
52 --disable-rpath \
53 --enable-soname \
54 --enable-debugreport \
55 --enable-compat24 \
56 --enable-unicode \
57 --enable-intl \
58 --enable-no_deps \
59 --enable-geometry \
60 --enable-display \
61 --enable-gui \
62 --enable-sound \
63 --enable-timer \
64 --enable-graphics_ctx \
65 --enable-mediactrl \
66 --with-opengl \
67 --with-gtk=2 \
68 --with-regex=builtin \
69 --with-zlib=sys \
70 --with-expat=sys \
71 --with-libpng=sys \
72 --with-libxpm=sys \
73 --with-libjpeg=sys \
74 --with-libtiff=sys \
75 --without-gnomevfs \
76 --without-gnomeprint \
77 || die
78
79 mmake || die
80
81 mmake -C contrib/src/stc || die
82 mmake -C contrib/src/ogl || die
83 mmake -C contrib/src/gizmos || die
84 mmake -C contrib/src/svg || die
85
86 # not part of the main build?
87 mmake -j1 -C locale allmo || die
88 }
89
90 src_install()
91 {
92 cd ${SRCDIR}
93 mmake DESTDIR=${BINDIR} install || die
94
95 mmake -C contrib/src/stc DESTDIR=${BINDIR} install || die
96 mmake -C contrib/src/ogl DESTDIR=${BINDIR} install || die
97 mmake -C contrib/src/gizmos DESTDIR=${BINDIR} install || die
98 mmake -C contrib/src/svg DESTDIR=${BINDIR} install || die
99
100 # docs
101 minstalldocs *.txt docs/*.txt || die
102 }