Date: Sunday, July 22, 2012 @ 09:08:31 Author: tomegun Revision: 163941
archrelease: copy trunk to testing-i686, testing-x86_64 Added: taglib/repos/testing-i686/ taglib/repos/testing-i686/PKGBUILD (from rev 163940, taglib/trunk/PKGBUILD) taglib/repos/testing-i686/ape-idev2.patch (from rev 163940, taglib/trunk/ape-idev2.patch) taglib/repos/testing-x86_64/ taglib/repos/testing-x86_64/PKGBUILD (from rev 163940, taglib/trunk/PKGBUILD) taglib/repos/testing-x86_64/ape-idev2.patch (from rev 163940, taglib/trunk/ape-idev2.patch) --------------------------------+ testing-i686/PKGBUILD | 39 +++++++++++++++++++++++++++++++++++++++ testing-i686/ape-idev2.patch | 12 ++++++++++++ testing-x86_64/PKGBUILD | 39 +++++++++++++++++++++++++++++++++++++++ testing-x86_64/ape-idev2.patch | 12 ++++++++++++ 4 files changed, 102 insertions(+) Copied: taglib/repos/testing-i686/PKGBUILD (from rev 163940, taglib/trunk/PKGBUILD) =================================================================== --- testing-i686/PKGBUILD (rev 0) +++ testing-i686/PKGBUILD 2012-07-22 13:08:31 UTC (rev 163941) @@ -0,0 +1,39 @@ +# $Id$ +# Maintainer: Tom Gundersen <t...@jklm.no> +# Contributor: Andrea Scarpino <and...@archlinux.org> +# Contributor: Tobias Powalowski <tp...@archlinux.org> + +pkgname=taglib +pkgver=1.7.2 +pkgrel=2 +pkgdesc="A Library for reading and editing the meta-data of several popular audio formats" +arch=('i686' 'x86_64') +url="http://developer.kde.org/~wheeler/taglib.html" +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') + +build() { + cd "${srcdir}"/${pkgname}-${pkgver} + patch -p1 -i "${srcdir}"/ape-idev2.patch + + cd "${srcdir}" + mkdir build + cd build + cmake ../${pkgname}-${pkgver} \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_BUILD_TYPE=Release \ + -DWITH_MP4=ON \ + -DWITH_ASF=ON + make +} + +package() { + cd "${srcdir}"/build + make DESTDIR="${pkgdir}" install +} +md5sums=('b0a9e797d3833fb933c7c3176de3d720' + 'c7c165d99acf01456351ba39ff7056cb') Copied: taglib/repos/testing-i686/ape-idev2.patch (from rev 163940, taglib/trunk/ape-idev2.patch) =================================================================== --- testing-i686/ape-idev2.patch (rev 0) +++ testing-i686/ape-idev2.patch 2012-07-22 13:08:31 UTC (rev 163941) @@ -0,0 +1,12 @@ +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; Copied: taglib/repos/testing-x86_64/PKGBUILD (from rev 163940, taglib/trunk/PKGBUILD) =================================================================== --- testing-x86_64/PKGBUILD (rev 0) +++ testing-x86_64/PKGBUILD 2012-07-22 13:08:31 UTC (rev 163941) @@ -0,0 +1,39 @@ +# $Id$ +# Maintainer: Tom Gundersen <t...@jklm.no> +# Contributor: Andrea Scarpino <and...@archlinux.org> +# Contributor: Tobias Powalowski <tp...@archlinux.org> + +pkgname=taglib +pkgver=1.7.2 +pkgrel=2 +pkgdesc="A Library for reading and editing the meta-data of several popular audio formats" +arch=('i686' 'x86_64') +url="http://developer.kde.org/~wheeler/taglib.html" +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') + +build() { + cd "${srcdir}"/${pkgname}-${pkgver} + patch -p1 -i "${srcdir}"/ape-idev2.patch + + cd "${srcdir}" + mkdir build + cd build + cmake ../${pkgname}-${pkgver} \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_BUILD_TYPE=Release \ + -DWITH_MP4=ON \ + -DWITH_ASF=ON + make +} + +package() { + cd "${srcdir}"/build + make DESTDIR="${pkgdir}" install +} +md5sums=('b0a9e797d3833fb933c7c3176de3d720' + 'c7c165d99acf01456351ba39ff7056cb') Copied: taglib/repos/testing-x86_64/ape-idev2.patch (from rev 163940, taglib/trunk/ape-idev2.patch) =================================================================== --- testing-x86_64/ape-idev2.patch (rev 0) +++ testing-x86_64/ape-idev2.patch 2012-07-22 13:08:31 UTC (rev 163941) @@ -0,0 +1,12 @@ +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;