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