Commit 41c8edff authored by Neophytos's avatar Neophytos

building gtkglext, a depencency of lightspark

parent 7ee44aba
......@@ -4,7 +4,7 @@
pkgname=gtkglext
pkgver=1.2.0
pkgrel=5
pkgrel=2
pkgdesc="opengl extensions for gtk2"
arch=('i686' 'x86_64')
url="http://gtkglext.sourceforge.net/"
......@@ -19,9 +19,14 @@ md5sums=('ed7ba24ce06a8630c07f2d0ee5f04ab4'
build() {
cd ${srcdir}/${pkgname}-${pkgver}
patch -Np1 -i ${srcdir}/gtk2.20.patch || return 1
autoconf --force || return 1
./configure --prefix=/usr || return 1
make || return 1
make DESTDIR=${pkgdir} install || return 1
patch -Np1 -i ${srcdir}/gtk2.20.patch
sed '/AC_PATH_XTRA/d' -i configure.in
autoreconf --force --install
./configure -prefix=/usr --disable-static
make
}
package() {
cd ${srcdir}/${pkgname}-${pkgver}
make DESTDIR=${pkgdir} install
}
--- gtkglext-1.0.6/configure.in 2005-09-10 16:45:06.000000000 +0200
+++ gtkglext-1.0.6.az/configure.in 2005-09-10 16:46:01.000000000 +0200
@@ -59,6 +59,10 @@
m4_define([pango_pkg], [pango])
m4_define([pango_required_version], [1.0.0])
+# Pangox
+m4_define([pangox_pkg], [pangox])
+m4_define([pangox_required_version], [1.0.0])
+
# PangoFT2
m4_define([pangoft2_pkg], [pangoft2])
m4_define([pangoft2_required_version], [1.0.0])
@@ -345,6 +349,7 @@
gtk_pkg >= gtk_required_version \
gdk_pkg >= gdk_required_version \
pango_pkg >= pango_required_version \
+pangox_pkg >= pango_required_version \
gmodule_pkg >= gmodule_required_version \
])
@@ -789,7 +794,7 @@
# CFLAGS and LIBS
##################################################
-GDKGLEXT_PACKAGES="gdk_pkg pango_pkg gmodule_pkg"
+GDKGLEXT_PACKAGES="gdk_pkg pango_pkg pangox_pkg gmodule_pkg"
GDKGLEXT_EXTRA_CFLAGS="$GL_CFLAGS $GDKGLEXT_WIN_CFLAGS"
GDKGLEXT_EXTRA_LIBS="$GL_LIBS $GDKGLEXT_WIN_LIBS"
GDKGLEXT_DEP_CFLAGS="$GDKGLEXT_EXTRA_CFLAGS `$PKG_CONFIG --cflags $GDKGLEXT_PACKAGES`"
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment