summaryrefslogtreecommitdiff
path: root/portsToCome/wxgtk2-8/Pkgfile
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2018-05-27 10:13:52 +0200
committerErich Eckner <git@eckner.net>2018-05-27 10:13:52 +0200
commit14a8f5d3c7889f2046a008b1b1dc29f485ebb359 (patch)
tree644ebb60f7155dd5c139d233857684fbcd8546e6 /portsToCome/wxgtk2-8/Pkgfile
downloadcrux-ports-14a8f5d3c7889f2046a008b1b1dc29f485ebb359.tar.xz
initial commit
Diffstat (limited to 'portsToCome/wxgtk2-8/Pkgfile')
-rw-r--r--portsToCome/wxgtk2-8/Pkgfile33
1 files changed, 33 insertions, 0 deletions
diff --git a/portsToCome/wxgtk2-8/Pkgfile b/portsToCome/wxgtk2-8/Pkgfile
new file mode 100644
index 0000000..330b840
--- /dev/null
+++ b/portsToCome/wxgtk2-8/Pkgfile
@@ -0,0 +1,33 @@
+# Description: wxWidgets for GTK+
+# URL: http://www.wxwidgets.org/
+# Maintainer: Erich Eckner, erich at eckner dot net
+# Packager: Daryl Fonseca-Holt, wyatt at prairieturtle dot ca
+# Depends on: gtk glu gst-plugins-base-compat gconf xorg-libxxf86vm
+# Arch Maintainer: Bartlomiej Palmowski, rotwang at crux dot org dot pl
+
+name=wxgtk2-8
+version=2.8.12
+release=5
+source=(http://download.sourceforge.net/wxwindows/wxGTK-$version.tar.bz2)
+
+build() {
+ export LDFLAGS="$LDFLAGS -L/usr/X11R6/lib"
+ cd wxGTK-$version
+# patch -p0 -i $SRC/$name-$version-gsocket.patch
+ # quick workaround (configure can't find mesa3d libs on 64 bit)
+ sed -i '/^SEARCH_INCLUDE="\\/s|\\|/usr/lib \\|' configure
+ ./configure \
+ --prefix=/usr \
+ --mandir=/usr/share/man \
+ --enable-gtk2 \
+ --enable-unicode \
+ --with-opengl \
+ --enable-mediactrl
+ make
+ make prefix=$PKG/usr install
+ cd contrib
+ make
+ make prefix=$PKG/usr install
+ ln -sf /usr/lib/wx/config/gtk2-unicode-release-2.8 $PKG/usr/bin/wx-config
+ rm -rf $PKG/usr/share/locale $PKG/usr/share/bakefile
+}