summaryrefslogtreecommitdiff
path: root/community/gtkglextmm/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/gtkglextmm/PKGBUILD')
-rw-r--r--community/gtkglextmm/PKGBUILD39
1 files changed, 39 insertions, 0 deletions
diff --git a/community/gtkglextmm/PKGBUILD b/community/gtkglextmm/PKGBUILD
new file mode 100644
index 000000000..f90b68c1b
--- /dev/null
+++ b/community/gtkglextmm/PKGBUILD
@@ -0,0 +1,39 @@
+# $Id: PKGBUILD 102157 2013-12-06 11:32:53Z giovanni $
+# Maintainer: Giovanni Scafora <giovanni@archlinux.org>
+# Contributor: Bastien Bouclet <bastien.bouclet@gmail.com>
+# Contributor: SpepS <dreamspepser at yahoo dot it>
+
+pkgname=gtkglextmm
+pkgver=1.2.0
+pkgrel=9
+pkgdesc="Cpp C++ bindings for gtkglext"
+arch=('i686' 'x86_64')
+url="http://gtkglext.sourceforge.net/"
+depends=('gtkmm' 'gtkglext')
+makedepends=('mesa')
+license=('GPL')
+source=("http://downloads.sourceforge.net/sourceforge/gtkglext/${pkgname}-${pkgver}.tar.bz2"
+ 'gdkspanfunc.patch')
+md5sums=('27c05f4d45c5fd07b6fb0f044add3056'
+ 'd7c8ea33c748a6857ee629c16b2d9bff')
+
+build() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+
+ # FS#24706
+ patch -Np1 -i "${srcdir}/gdkspanfunc.patch"
+
+ # automake 1.8 fix
+ sed -i "s|\(AC_DEFUN(\)\(AC_.*_MULTIHEAD\)|\1[\2]|" m4macros/gtkglextmm.m4
+
+ ./configure --prefix=/usr \
+ --disable-gtkglext-test \
+ --disable-static
+ make
+}
+
+package() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+
+ make DESTDIR="${pkgdir}" install
+}