diff options
author | root <root@rshg054.dnsready.net> | 2012-02-24 23:15:21 +0000 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2012-02-24 23:15:21 +0000 |
commit | 299e917c17619f800f0c21cf43209065b608223f (patch) | |
tree | e175a7bbdb5d933670f10b09f1cc52ece45ced87 /community/irrlicht | |
parent | d466ef49f224a9347fe0375eac8126725e10a0a4 (diff) |
Fri Feb 24 23:15:21 UTC 2012
Diffstat (limited to 'community/irrlicht')
-rw-r--r-- | community/irrlicht/PKGBUILD | 27 |
1 files changed, 6 insertions, 21 deletions
diff --git a/community/irrlicht/PKGBUILD b/community/irrlicht/PKGBUILD index c4b0ceccd..ca166de12 100644 --- a/community/irrlicht/PKGBUILD +++ b/community/irrlicht/PKGBUILD @@ -1,4 +1,4 @@ -# $Id: PKGBUILD 63632 2012-02-05 12:02:14Z ibiru $ +# $Id: PKGBUILD 66356 2012-02-23 23:04:08Z svenstaro $ # Maintainer: Sven-Hendrik Haase <sh@lutzhaase.com> # Contributor: Hilton Medeiros <medeiros.hilton AT gmail DOT com> # Contributor: Ali H. Caliskan <ali.h.caliskan AT gmail DOT com> @@ -6,8 +6,8 @@ # Contributor: Lukas Kropatschek <lukas.krop AT gmail DOT com> pkgname=irrlicht -pkgver=1.7.2 -pkgrel=4 +pkgver=1.7.3 +pkgrel=1 pkgdesc="An open source high performance realtime 3D graphics engine." arch=('i686' 'x86_64') url="http://irrlicht.sourceforge.net/" @@ -16,9 +16,9 @@ depends=('libgl' 'libjpeg' 'bzip2' 'libpng') makedepends=('mesa' 'unzip') source=("http://downloads.sourceforge.net/irrlicht/$pkgname-$pkgver.zip" "irrlicht-1.7.2-libpng15.patch") -md5sums=('eb627d4c432bf73f12bc6d9ddc700b07' - 'a7f8d4aa1bc2880bbeaf3449e09f69a5') noextract=($pkgname-$pkgver.zip) +md5sums=('cfbdc8c68fbca544c7c8dfb3623ae086' + 'a7f8d4aa1bc2880bbeaf3449e09f69a5') build() { unzip $pkgname-$pkgver.zip @@ -34,24 +34,9 @@ build() { include/IrrCompileConfig.h cd source/Irrlicht - sed -i -e '/^CXXFLAGS/s:-g.*::' \ - -e '/^CXXFLAGS/s:-Wall::' \ - -e '/^CFLAGS/s/:= -O3 -fexpensive-optimizations/+=/' \ - -e '/^CXXINCS/s:-Izlib -Ijpeglib -Ilibpng::' \ - -e '/^ZLIBOBJ/d' \ - -e '/^JPEGLIBOBJ/d' \ - -e '/^BZIP2OBJ/d' \ - -e '/^LIBPNGOBJ/d' \ - -e '/.o=.d/d' \ - -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/' \ + sed -i "/^INSTALL_DIR/s:=.*:=$pkgdir/usr/lib:" \ 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 |