From 71bf899632ef6feb13282043a4af7dfd52c255f3 Mon Sep 17 00:00:00 2001
From: Britney Fransen <brfransen@gmail.com>
Date: Tue, 10 Sep 2013 15:21:41 -0500
Subject: taglib: update to 1.8. refs #901

---
 abs/core/taglib/PKGBUILD        | 12 +++++-------
 abs/core/taglib/ape-idev2.patch | 12 ------------
 2 files changed, 5 insertions(+), 19 deletions(-)
 delete mode 100644 abs/core/taglib/ape-idev2.patch

diff --git a/abs/core/taglib/PKGBUILD b/abs/core/taglib/PKGBUILD
index 38de561..6909877 100644
--- a/abs/core/taglib/PKGBUILD
+++ b/abs/core/taglib/PKGBUILD
@@ -1,10 +1,11 @@
-# $Id: PKGBUILD 158844 2012-05-12 11:47:35Z tomegun $
+# $Id$
 # Maintainer: Tom Gundersen <teg@jklm.no>
+# Contributor: Ike Devolder <ike.devolder@gmail.com>
 # Contributor: Andrea Scarpino <andrea@archlinux.org>
 # Contributor: Tobias Powalowski <tpowa@archlinux.org>
 
 pkgname=taglib
-pkgver=1.7.2
+pkgver=1.8
 pkgrel=1
 pkgdesc="A Library for reading and editing the meta-data of several popular audio formats"
 arch=('i686' 'x86_64')
@@ -13,12 +14,11 @@ license=('LGPL' 'MPL')
 depends=('sh' 'zlib' 'gcc-libs')
 makedepends=('cmake' 'pkg-config')
 options=('!libtool')
-source=("http://developer.kde.org/~wheeler/files/src/$pkgname-$pkgver.tar.gz"
-        'ape-idev2.patch')
+source=("https://github.com/downloads/$pkgname/$pkgname/$pkgname-$pkgver.tar.gz")
+md5sums=('dcb8bd1b756f2843e18b1fdf3aaeee15')
 
 build() {
   cd "${srcdir}"/${pkgname}-${pkgver}
-  patch -p1 -i "${srcdir}"/ape-idev2.patch
 
   cd "${srcdir}"
   mkdir build
@@ -35,5 +35,3 @@ package() {
   cd "${srcdir}"/build
   make DESTDIR="${pkgdir}" install
 }
-md5sums=('b0a9e797d3833fb933c7c3176de3d720'
-         'c7c165d99acf01456351ba39ff7056cb')
diff --git a/abs/core/taglib/ape-idev2.patch b/abs/core/taglib/ape-idev2.patch
deleted file mode 100644
index 9c58da4..0000000
--- a/abs/core/taglib/ape-idev2.patch
+++ /dev/null
@@ -1,12 +0,0 @@
-diff -Nur taglib-1.7.orig/taglib/ape/apeproperties.cpp taglib-1.7/taglib/ape/apeproperties.cpp
---- taglib-1.7.orig/taglib/ape/apeproperties.cpp	2011-03-12 00:15:38.000000000 +1100
-+++ taglib-1.7/taglib/ape/apeproperties.cpp	2011-07-29 21:19:45.984345060 +1000
-@@ -137,7 +137,7 @@
-   long ID3v2OriginalSize = 0;
-   bool hasID3v2 = false;
-   if(ID3v2Location >= 0) {
--    ID3v2::Tag tag(d->file, ID3v2Location, 0);
-+    ID3v2::Tag tag(d->file, ID3v2Location);
-     ID3v2OriginalSize = tag.header()->completeTagSize();
-     if(tag.header()->tagSize() > 0)
-       hasID3v2 = true;
-- 
cgit v0.12