From aba5da82a8602c523e2dd2cfac177321361861e2 Mon Sep 17 00:00:00 2001
From: Michael Hanson <hansonorders@verizon.net>
Date: Tue, 30 Nov 2010 23:37:13 +0000
Subject: taglib: upgrade

---
 abs/core/taglib/PKGBUILD | 40 ++++++++++++++++++++++------------------
 1 file changed, 22 insertions(+), 18 deletions(-)

diff --git a/abs/core/taglib/PKGBUILD b/abs/core/taglib/PKGBUILD
index 4b38645..c1732f1 100644
--- a/abs/core/taglib/PKGBUILD
+++ b/abs/core/taglib/PKGBUILD
@@ -1,29 +1,33 @@
-# $Id: PKGBUILD 356 2008-04-18 22:56:27Z aaron $
-# Maintainer: Tobias Powalowski <tpowa@archlinux.org>
+# $Id: PKGBUILD 79406 2010-05-04 00:23:40Z andrea $
+# Maintainer: Andrea Scarpino <andrea@archlinux.org>
+# Contributor: Tobias Powalowski <tpowa@archlinux.org>
 
 pkgname=taglib
-pkgver=1.5
+pkgver=1.6.3
 pkgrel=1
-pkgdesc="library for reading and editing the meta-data of several popular audio formats."
+pkgdesc="A Library for reading and editing the meta-data of several popular audio formats"
 arch=('i686' 'x86_64')
-url="http://ktown.kde.org/~wheeler/taglib.html"
+url="http://developer.kde.org/~wheeler/taglib.html"
 license=('GPL2')
-depends=('zlib' 'gcc-libs')
+depends=('sh' 'zlib' 'gcc-libs')
 makedepends=('cmake' 'pkgconfig')
-# svn snapshot: svn co svn://anonsvn.kde.org/home/kde/trunk/kdesupport/taglib
-source=(http://ktown.kde.org/~wheeler/files/src/taglib-$pkgver.tar.gz
-	#ftp://ftp.archlinux.org/other/kde/$pkgname-$pkgver.tar.bz2
-	#http://belnet.dl.sourceforge.net/sourceforge/soprano/soprano-1.97.1-beta4.tar.bz2
-	)
-options=(!libtool)
+source=(http://developer.kde.org/~wheeler/files/src/$pkgname-$pkgver.tar.gz)
+options=('!libtool')
+md5sums=('ddf02f4e1d2dc30f76734df806e613eb')
 
 build() {
-  # start building
-  cd $startdir/src/$pkgname-$pkgver
-
-  cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release
+  cd ${srcdir}
+  mkdir build
+  cd build
+  cmake ../$pkgname-$pkgver \
+    -DCMAKE_INSTALL_PREFIX=/usr \
+    -DCMAKE_BUILD_TYPE=Release \
+    -DWITH_MP4=ON \
+    -DWITH_ASF=ON
   make VERBOSE=1 || return 1
-  make DESTDIR=$startdir/pkg install || return 1
 }
 
-md5sums=('7b557dde7425c6deb7bbedd65b4f2717')
+package() {
+  cd ${srcdir}/build
+  make DESTDIR=${pkgdir} install || return 1
+}
-- 
cgit v0.12