[arch-commits] CVS update of extra/lib/cegui (PKGBUILD)

Eric Belanger eric at archlinux.org
Sat Dec 8 03:18:44 UTC 2007


    Date: Friday, December 7, 2007 @ 22:18:44
  Author: eric
    Path: /home/cvs-extra/extra/lib/cegui

Modified: PKGBUILD (1.2 -> 1.3)

upgpkg: cegui 0.5.0b-2.1
enabling the silly image codec and making it the default on x86_64, needed to make smc work (close FS#8469


----------+
 PKGBUILD |   19 +++++++++++++------
 1 file changed, 13 insertions(+), 6 deletions(-)


Index: extra/lib/cegui/PKGBUILD
diff -u extra/lib/cegui/PKGBUILD:1.2 extra/lib/cegui/PKGBUILD:1.3
--- extra/lib/cegui/PKGBUILD:1.2	Sat Apr 14 10:16:33 2007
+++ extra/lib/cegui/PKGBUILD	Fri Dec  7 22:18:44 2007
@@ -1,23 +1,30 @@
+# $Id: PKGBUILD,v 1.3 2007/12/08 03:18:44 eric Exp $
 # Maintainer: Juergen Hoetzel <juergen at archlinux.org> 
 # Contributors: William Rea <sillywilly at gmail.com>, 
 # Bjorn Lindeijer <bjorn at lindeijer.nl>
 
 pkgname=cegui
 pkgver=0.5.0b
-pkgrel=2
+pkgrel=2.1
 pkgdesc="A free library providing windowing and widgets for graphics APIs/engines"
 arch=(i686 x86_64)
 url="http://crayzedsgui.sourceforge.net"
-options=('nolibtool')
-license="MIT"
+options=('!libtool')
+license=("MIT")
 depends=('pcre' 'expat' 'freetype2' 'libxml2' 'devil' 'freeglut')
-source=(http://dl.sourceforge.net/crayzedsgui/CEGUI-$pkgver.tar.gz)
+[ "$CARCH" = "x86_64" ] && depends=(${depends[@]} 'silly')
+source=(http://downloads.sourceforge.net/crayzedsgui/CEGUI-$pkgver.tar.gz)
 md5sums=('b42322a33c6a06eede76b15f75694a17')
 
 build() {
     cd $startdir/src/CEGUI-0.5.0
-    ./configure --prefix=/usr --sysconfdir=/etc --enable-devil --disable-silly \
-                --disable-xerces-c
+    if [ "$CARCH" = "x86_64" ]; then
+      ./configure --prefix=/usr --sysconfdir=/etc --enable-devil --enable-silly \
+        --disable-xerces-c --with-default-image-codec=SILLYImageCodec
+    else
+      ./configure --prefix=/usr --sysconfdir=/etc --enable-devil --disable-silly \
+        --disable-xerces-c
+    fi
     make || return 1
     make DESTDIR=$startdir/pkg install
 




More information about the arch-commits mailing list