2012-03-31 03:19:07 +02:00
|
|
|
# Template build file for 'wxGTK'
|
|
|
|
pkgname=wxGTK
|
|
|
|
version=2.8.12.1
|
2013-04-30 12:02:30 +02:00
|
|
|
revision=4
|
2012-03-31 03:19:07 +02:00
|
|
|
wrksrc="wxPython-src-${version}"
|
2012-06-06 13:42:39 +02:00
|
|
|
# XXX: GStreamer support?
|
2013-04-30 12:02:30 +02:00
|
|
|
makedepends="pkg-config zlib-devel libpng-devel>=1.6 libjpeg-turbo-devel
|
2013-04-30 17:02:26 +02:00
|
|
|
libXpm-devel tiff-devel expat-devel libXinerama-devel libSM-devel libXt-devel
|
|
|
|
GConf-devel gtk+-devel glu-devel"
|
2012-03-31 03:19:07 +02:00
|
|
|
short_desc="The wxWidgets GUI toolkit library (GTK Version)"
|
|
|
|
maintainer="davehome <davehome@redthumb.info.tm>"
|
|
|
|
homepage="http://www.wxwidgets.org/"
|
|
|
|
license="wxWindows"
|
2012-06-06 13:42:39 +02:00
|
|
|
distfiles="${SOURCEFORGE_SITE}/wxpython/wxPython-src-${version}.tar.bz2"
|
2012-03-31 03:19:07 +02:00
|
|
|
checksum=1f3f153d9f1504c6ce2d2c4b23e940b8f58b81f4cba35cda1a5bb31142243cd0
|
|
|
|
|
|
|
|
do_configure() {
|
|
|
|
./configure --prefix=/usr --enable-monolithic --with-gtk=2 --with-x \
|
|
|
|
--with-opengl --enable-unicode --enable-graphics_ctx \
|
|
|
|
--enable-optimize --enable-mediactrl --with-regex=builtin \
|
|
|
|
--with-libpng=sys --with-libxpm=sys --with-libjpeg=sys \
|
|
|
|
--with-libtiff=sys --disable-precomp-headers
|
|
|
|
}
|
|
|
|
|
|
|
|
do_build() {
|
|
|
|
make ${makejobs}
|
|
|
|
make ${makejobs} -C locale allmo
|
|
|
|
make ${makejobs} -C contrib/src
|
|
|
|
}
|
|
|
|
|
|
|
|
do_install() {
|
|
|
|
make DESTDIR="${DESTDIR}" install
|
|
|
|
make -C contrib/src DESTDIR="${DESTDIR}" install
|
|
|
|
vinstall docs/licence.txt 0644 "usr/share/licenses/${pkgname}" LICENSE
|
|
|
|
}
|
2013-04-14 17:36:49 +02:00
|
|
|
|
|
|
|
wxGTK-devel_package() {
|
|
|
|
depends="wxGTK>=$version"
|
2013-04-30 12:02:30 +02:00
|
|
|
short_desc+=" -- development files"
|
2013-04-14 17:36:49 +02:00
|
|
|
pkg_install() {
|
|
|
|
vmove usr/include
|
|
|
|
vmove usr/share/aclocal
|
|
|
|
vmove usr/share/bakefile
|
|
|
|
vmove usr/lib/wx
|
|
|
|
vmove usr/bin
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
wxGTK_package() {
|
|
|
|
pkg_install() {
|
2013-04-30 12:02:30 +02:00
|
|
|
vmove all
|
2013-04-14 17:36:49 +02:00
|
|
|
}
|
|
|
|
}
|