From 299e917c17619f800f0c21cf43209065b608223f Mon Sep 17 00:00:00 2001 From: root Date: Fri, 24 Feb 2012 23:15:21 +0000 Subject: Fri Feb 24 23:15:21 UTC 2012 --- community/irrlicht/PKGBUILD | 27 ++++++--------------------- 1 file changed, 6 insertions(+), 21 deletions(-) (limited to 'community/irrlicht') 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 # Contributor: Hilton Medeiros # Contributor: Ali H. Caliskan @@ -6,8 +6,8 @@ # Contributor: Lukas Kropatschek 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 -- cgit v1.2.3-54-g00ecf