[arch-commits] Commit in irrlicht/trunk (PKGBUILD)
Sven-Hendrik Haase
svenstaro at nymeria.archlinux.org
Tue Mar 11 15:36:48 UTC 2014
Date: Tuesday, March 11, 2014 @ 16:36:48
Author: svenstaro
Revision: 107037
Fix FS#39335 and make it build again
Modified:
irrlicht/trunk/PKGBUILD
----------+
PKGBUILD | 15 ++++++++++++---
1 file changed, 12 insertions(+), 3 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2014-03-11 15:18:36 UTC (rev 107036)
+++ PKGBUILD 2014-03-11 15:36:48 UTC (rev 107037)
@@ -14,17 +14,26 @@
url="http://irrlicht.sourceforge.net/"
license=('ZLIB')
depends=('libgl' 'libjpeg' 'bzip2' 'libpng')
-makedepends=('mesa' 'unzip' 'libxcursor')
+makedepends=('mesa' 'unzip' 'libxcursor' 'wget')
optdepends=('libxcursor: run examples')
source=("http://downloads.sourceforge.net/irrlicht/$pkgname-$pkgver.zip")
noextract=($pkgname-$pkgver.zip)
-md5sums=('db97cce5e92da9b053f4546c652e9bd5')
+md5sums=('f4f7fa33bd1060eb0dd51dcd66b0f6e3')
-build() {
+prepare() {
unzip $pkgbase-$pkgver.zip
cd $srcdir/$pkgbase-$pkgver/source/Irrlicht
+ # I'm so sorry for this but Irrlicht people don't care about Linux much
+ for file in COpenGLExtensionHandler.h glext.h glxext.h wglext.h; do
+ wget http://sourceforge.net/p/irrlicht/code/4600/tree/trunk/source/Irrlicht/${file}?format=raw --output-document ${file}
+ done
+}
+
+build() {
+ cd $srcdir/$pkgbase-$pkgver/source/Irrlicht
+
make NDEBUG=1 sharedlib
}
More information about the arch-commits
mailing list