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