[arch-commits] CVS update of extra/multimedia/digikam (PKGBUILD)

Varun Acharya varun at archlinux.org
Tue Jun 19 13:28:22 EDT 2007


    Date: Tuesday, June 19, 2007 @ 13:28:22
  Author: varun
    Path: /home/cvs-extra/extra/multimedia/digikam

Modified: PKGBUILD (1.22 -> 1.23)

arch64 specific fixes


----------+
 PKGBUILD |   11 +++++++++--
 1 file changed, 9 insertions(+), 2 deletions(-)


Index: extra/multimedia/digikam/PKGBUILD
diff -u extra/multimedia/digikam/PKGBUILD:1.22 extra/multimedia/digikam/PKGBUILD:1.23
--- extra/multimedia/digikam/PKGBUILD:1.22	Sun Jun 17 08:18:14 2007
+++ extra/multimedia/digikam/PKGBUILD	Tue Jun 19 13:28:22 2007
@@ -1,4 +1,4 @@
-# $Id: PKGBUILD,v 1.22 2007/06/17 12:18:14 tpowa Exp $
+# $Id: PKGBUILD,v 1.23 2007/06/19 17:28:22 varun Exp $
 # Maintainer: Tobias Powalowski <tpowa at archlinux.org>
 
 pkgname=digikam
@@ -12,10 +12,17 @@
 makedepends=('pkgconfig')
 source=(http://belnet.dl.sourceforge.net/sourceforge/digikam/${pkgname}-${pkgver}-final.tar.bz2)
 replaces=('digikamimageplugins')
+md5sums=('0f67edf65c394c96cb60d48e4e2bfebd')
 
 build() {
   cd ${startdir}/src/${pkgname}-${pkgver}-final
-   ./configure --prefix=/opt/kde --disable-debug --enable-gcc-hidden-visibility
+   
+   #Optimisations which work for i686 only
+   if [ "$CARCH" = "i686" ]; 
+   then ./configure --prefix=/opt/kde --disable-debug --enable-gcc-hidden-visibility
+   else ./configure --prefix=/opt/kde --disable-debug
+   fi
+   
    make || return 1
    make DESTDIR=${startdir}/pkg/ install
  }




More information about the arch-commits mailing list