diff options
Diffstat (limited to 'community/irrlicht/APKBUILD')
-rw-r--r-- | community/irrlicht/APKBUILD | 22 |
1 files changed, 17 insertions, 5 deletions
diff --git a/community/irrlicht/APKBUILD b/community/irrlicht/APKBUILD index 29f2f5d348..6807499061 100644 --- a/community/irrlicht/APKBUILD +++ b/community/irrlicht/APKBUILD @@ -2,21 +2,33 @@ # Maintainer: Jeff Bilyk <jbilyk@alpinelinux.org> pkgname=irrlicht pkgver=1.8.4 -pkgrel=0 +pkgrel=1 pkgdesc="High performance realtime 3D engine written in C++" url="http://irrlicht.sourceforge.net" arch="all" license="ZLIB" depends="" -makedepends="mesa-dev jpeg-dev bzip2 libpng-dev zlib-dev" +makedepends="mesa-dev libjpeg-turbo-dev bzip2 libpng-dev zlib-dev bzip2-dev" subpackages="$pkgname-dev $pkgname-doc" source="http://downloads.sourceforge.net/irrlicht/irrlicht-$pkgver.zip irrlicht-1.8.3-mesa-10.x.patch - irrlicht-1.8.3-config.patch irrlicht-1.8.3-sysctl.patch + irrlicht-1.8-optflags.patch " +#irrlicht-1.8.3-config.patch builddir="$srcdir"/$pkgname-$pkgver/ +prepare() { + default_prepare + cd "$builddir" + # use system libs + rm -r \ + source/Irrlicht/jpeglib \ + source/Irrlicht/libpng \ + source/Irrlicht/zlib \ + source/Irrlicht/bzip2 +} + build() { cd "$builddir"/source/Irrlicht/ export CXXFLAGS="$CXXFLAGS -std=gnu++98" @@ -49,5 +61,5 @@ package() { sha512sums="de69ddd2c6bc80a1b27b9a620e3697b1baa552f24c7d624076d471f3aecd9b15f71dce3b640811e6ece20f49b57688d428e3503936a7926b3e3b0cc696af98d1 irrlicht-1.8.4.zip 44c16419c07597ba6d06d66057fbe2ab86e7b02b5dcdf458678b4ea87f6f721840da951ae4df59c983e1da83abdbe45f82e44a6a311bd42eb94d93dfd5aa437c irrlicht-1.8.3-mesa-10.x.patch -8bb80040b90bc3d4b8d3f9c5c3f39f3cc2d09fef663338e0994788bc1cd9254b9e7465ac2b344d4532a83c2dc27a8bed9ef5bc26824ef91e4e0159f6db2216e1 irrlicht-1.8.3-config.patch -a25887c46990620271168f3c1ff42e3ff7bd577d5e986803f067942b7f43d63428ebbbf29d3956765b3199da731b151a39d3ee6b8e5bdab189710ef8fb9595e5 irrlicht-1.8.3-sysctl.patch" +a25887c46990620271168f3c1ff42e3ff7bd577d5e986803f067942b7f43d63428ebbbf29d3956765b3199da731b151a39d3ee6b8e5bdab189710ef8fb9595e5 irrlicht-1.8.3-sysctl.patch +91d34f4a40301c4d24899e300c11e5dfbe04878ca6caf0fbceca907c9a45f71c79bd2b6f9ed9cfd996406c498dd2e47fb50b23eca929f22334c2bbd5426ce65c irrlicht-1.8-optflags.patch" |