[arch-commits] CVS update of arch/build/lib/imlib2 (PKGBUILD)

andyrtr at archlinux.org andyrtr at archlinux.org
Wed Apr 25 18:45:30 EDT 2007


    Date: Wednesday, April 25, 2007 @ 18:45:30
  Author: andyrtr
    Path: /home/cvs-arch/arch/build/lib/imlib2

Modified: PKGBUILD (1.8 -> 1.9)

updatepkg 1.3.0; fix #6367


----------+
 PKGBUILD |   18 ++++++++++++------
 1 file changed, 12 insertions(+), 6 deletions(-)


Index: arch/build/lib/imlib2/PKGBUILD
diff -u arch/build/lib/imlib2/PKGBUILD:1.8 arch/build/lib/imlib2/PKGBUILD:1.9
--- arch/build/lib/imlib2/PKGBUILD:1.8	Fri Jun 30 08:22:18 2006
+++ arch/build/lib/imlib2/PKGBUILD	Wed Apr 25 18:45:30 2007
@@ -1,20 +1,26 @@
-# $Id: PKGBUILD,v 1.8 2006/06/30 12:22:18 tpowa Exp $
+# $Id: PKGBUILD,v 1.9 2007/04/25 22:45:30 andyrtr Exp $
 # Maintainer: arjan <arjan at archlinux.org>
 # Contributor: Tom Newsom <Jeepster at gmx.co.uk>
 pkgname=imlib2
-pkgver=1.2.2
+pkgver=1.3.0
 pkgrel=1
 pkgdesc="Imlib2 is the successor to Imlib. It is NOT a newer version -- Imlib 2 can be installed alongside Imlib 1.x"
 arch=(i686 x86_64)
 url="http://sourceforge.net/projects/enlightenment"
 depends=('libtiff' 'libungif' 'bzip2' 'freetype2' 'libxext' 'libpng' 'libid3tag')
-source=(http://heanet.dl.sourceforge.net/sourceforge/enlightenment/$pkgname-$pkgver.tar.gz)
-md5sums=('07b2a7745ddd3c7c4480b50cb916174c')
+source=(http://dl.sourceforge.net/sourceforge/enlightenment/$pkgname-$pkgver.tar.gz)
+md5sums=('00b724fc6d2dcfa3045bb6a554bb2c8a')
+options=('nolibtool')
 
 build() {
   cd $startdir/src/$pkgname-$pkgver
-  ./configure --prefix=/usr --sysconfdir=/etc/imlib2 
+
+  # Enable x86 MMX optimizations for i686 (32-bit assembler code not compatible with x86_64)
+  [ "${CARCH}" = "i686" ] && EXTRAOPTS="--enable-mmx"
+  # Disable AMD64 optimizations due to bug in assembler code
+  [ "${CARCH}" = "x86_64" ] && EXTRAOPTS="--disable-amd64"
+
+  ./configure --prefix=/usr --sysconfdir=/etc/imlib2 $EXTRAOPTS
   make || return 1
   make DESTDIR=$startdir/pkg install
-  find $startdir/pkg -name '*.la' -exec rm {} \;
 }




More information about the arch-commits mailing list