From 5c83723daf66f03be7b1aefc3fafc7d1b1bd7aac Mon Sep 17 00:00:00 2001 From: Juan RP Date: Sat, 21 Jun 2014 11:19:52 +0200 Subject: [PATCH] irrlicht: update to 1.8.1. --- srcpkgs/irrlicht/template | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/srcpkgs/irrlicht/template b/srcpkgs/irrlicht/template index fa94d10e7e0..cb32f1ec36e 100644 --- a/srcpkgs/irrlicht/template +++ b/srcpkgs/irrlicht/template @@ -1,6 +1,6 @@ # Template file for 'irrlicht' pkgname=irrlicht -version=1.8 +version=1.8.1 revision=1 hostmakedepends="unzip pkg-config" makedepends="libjpeg-turbo-devel libpng-devel libXcursor-devel libXext-devel MesaLib-devel" @@ -9,14 +9,19 @@ maintainer="Juan RP " license="LGPL-2.1" homepage="http://irrlicht.sourceforge.net" distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.zip" -checksum=f8756c3cf83f16f41eb1eca8f4ebb530f0e8fd572443905e3d8eb8f09445a642 +checksum=814bb90116d5429449ba1d169e2cbff881c473b7eada4c2447132bc4f4a6e97b +pre_build() { + cd source/Irrlicht + for file in COpenGLExtensionHandler.h glext.h glxext.h wglext.h; do + $XBPS_FETCH_CMD "http://sourceforge.net/p/irrlicht/code/4600/tree/trunk/source/Irrlicht/${file}?format=raw>${file}" + done +} do_build() { cd source/Irrlicht make ${makejobs} NDEBUG=1 sharedlib make ${makejobs} NDEBUG=1 } - do_install() { cd source/Irrlicht