# $Id$ PNAME="wxgtk" PVER="3.0.1.1" PBUILD="r2" STATE="disabled" # not working with opennx PCAT="x11-libs" DESCRIPTION="GTK+ version of the open source, cross-platform native UI framework." HOMEPAGE="http://www.wxwidgets.org/" DEPEND=">= virtual/opengl >= x11-libs/libSM-1 >= x11-libs/libXinerama-1 >= x11-libs/libXxf86vm-1 >= sys-libs/zlib-1.2.5 >= media-libs/libpng-1.5 >= media-libs/libtiff-3.9 >= virtual/libjpeg >= media-libs/gstreamer0.10-plugins-base-0.10 >= dev-libs/expat-2 >= dev-libs/glib2-2.40 >= x11-libs/gtk2+-2.24" SDEPEND=">= x11-proto/xproto-7 >= x11-proto/xineramaproto-1 >= x11-proto/xf86vidmodeproto-1" # we are using the wxpython tarball which contains the full source of # wxGTK and is release more frequently SRCFILE="wxPython-src-${PVER}.tar.bz2" SRCDIR="${BUILDDIR}/wxPython-src-${PVER}" sminclude mbuild msetfeature "!check" SRC_URI=( #sourceforge://wxwindows/${SRCFILE} sourceforge://wxpython/${SRCFILE} mirror://${PNAME}/${SRCFILE} ) UP2DATE="updatecmd_sourceforge wxpython wxPython" src_compile() { cd ${SRCDIR} # --disable-optimize to use our own CFLAGS # --enable-debugreport to fix missing gtku_qa solib export LANG='C' mconfigure \ --disable-optimize \ --disable-precomp-headers \ --disable-rpath \ --enable-soname \ --enable-debugreport \ --enable-compat24 \ --enable-compat26 \ --enable-compat28 \ --enable-unicode \ --enable-intl \ --enable-no_deps \ --enable-geometry \ --enable-display \ --enable-gui \ --enable-sound \ --enable-timer \ --enable-graphics_ctx \ --enable-mediactrl \ --with-opengl \ --with-gtk=2 \ --with-regex=builtin \ --with-zlib=sys \ --with-expat=sys \ --with-libpng=sys \ --with-libxpm=sys \ --with-libjpeg=sys \ --with-libtiff=sys \ --without-gnomevfs \ --without-gnomeprint \ || die mmake || die #mmake -C contrib/src/stc || die #mmake -C contrib/src/ogl || die #mmake -C contrib/src/gizmos || die #mmake -C contrib/src/svg || die # not part of the main build? mmake -j1 -C locale allmo || die } src_install() { cd ${SRCDIR} mmake DESTDIR=${BINDIR} install || die #mmake -C contrib/src/stc DESTDIR=${BINDIR} install || die #mmake -C contrib/src/ogl DESTDIR=${BINDIR} install || die #mmake -C contrib/src/gizmos DESTDIR=${BINDIR} install || die #mmake -C contrib/src/svg DESTDIR=${BINDIR} install || die # docs minstalldocs *.txt docs/*.txt || die }