From e426a2696568231fa5a863cb80f4db9088193732 Mon Sep 17 00:00:00 2001 From: root Date: Thu, 13 Oct 2011 23:14:39 +0000 Subject: Thu Oct 13 23:14:38 UTC 2011 --- community/irrlicht/PKGBUILD | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) (limited to 'community/irrlicht') diff --git a/community/irrlicht/PKGBUILD b/community/irrlicht/PKGBUILD index dc74aaaf3..8dd14decd 100644 --- a/community/irrlicht/PKGBUILD +++ b/community/irrlicht/PKGBUILD @@ -1,4 +1,4 @@ -# $Id: PKGBUILD 33729 2010-11-28 11:00:58Z svenstaro $ +# $Id: PKGBUILD 56796 2011-10-12 23:30:10Z svenstaro $ # Maintainer: Sven-Hendrik Haase # Contributor: Hilton Medeiros # Contributor: Ali H. Caliskan @@ -7,12 +7,13 @@ pkgname=irrlicht pkgver=1.7.2 -pkgrel=1 +pkgrel=3 pkgdesc="An open source high performance realtime 3D graphics engine." arch=('i686' 'x86_64') url="http://irrlicht.sourceforge.net/" license=('ZLIB') -depends=('mesa' 'libjpeg' 'bzip2') +depends=('libgl' 'libjpeg' 'bzip2' 'libpng') +makedepends=('mesa') source=("http://downloads.sourceforge.net/irrlicht/$pkgname-$pkgver.zip") md5sums=('eb627d4c432bf73f12bc6d9ddc700b07') @@ -21,6 +22,7 @@ build() { sed -i -e '/^#.*NON_SYSTEM_ZLIB/d' \ -e '/^#.*NON_SYSTEM_JPEG/d' \ + -e '/^#.*NON_SYSTEM_LIB_PNG/d' \ -e '/^#.*NON_SYSTEM_BZLIB/d' \ include/IrrCompileConfig.h @@ -28,17 +30,21 @@ build() { sed -i -e '/^CXXFLAGS/s:-g.*::' \ -e '/^CXXFLAGS/s:-Wall::' \ -e '/^CFLAGS/s/:= -O3 -fexpensive-optimizations/+=/' \ - -e '/^CXXINCS/s:-Izlib -Ijpeglib::' \ + -e '/^CXXINCS/s:-Izlib -Ijpeglib -Ilibpng::' \ -e '/^ZLIBOBJ/d' \ -e '/^JPEGLIBOBJ/d' \ -e '/^BZIP2OBJ/d' \ + -e '/^LIBPNGOBJ/d' \ -e '/.o=.d/d' \ - -e '/^sharedlib: LDFLAGS/s:+=:+= -lGL -lXxf86vm -ljpeg -lbz2 -lz:' \ + -e '/^staticlib sharedlib: LDFLAGS/s:+=.*:+= -lGL -lXxf86vm -lpng -ljpeg -lbz2 -lz:' \ -e "/^INSTALL_DIR/s:=.*:=$pkgdir/usr/lib:" \ -e 's/0-SVN/1/' \ -e 's/.$(VERSION_MINOR) -o/ -o/' \ Makefile + sed -i "s/png_set_gray_1_2_4_to_8/png_set_expand_gray_1_2_4_to_8/" \ + CImageLoaderPNG.cpp + make sharedlib make -- cgit v1.2.3-54-g00ecf