[arch-commits] Commit in taglib/trunk (PKGBUILD ape-idev2.patch)
Andrea Scarpino
andrea at archlinux.org
Sat Aug 6 08:32:54 UTC 2011
Date: Saturday, August 6, 2011 @ 04:32:54
Author: andrea
Revision: 134588
upgpkg: taglib 1.7-2
Fix APE tags (FS#25417)
Added:
taglib/trunk/ape-idev2.patch
Modified:
taglib/trunk/PKGBUILD
-----------------+
PKGBUILD | 16 +++++++++-------
ape-idev2.patch | 12 ++++++++++++
2 files changed, 21 insertions(+), 7 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2011-08-06 08:23:19 UTC (rev 134587)
+++ PKGBUILD 2011-08-06 08:32:54 UTC (rev 134588)
@@ -4,22 +4,24 @@
pkgname=taglib
pkgver=1.7
-pkgrel=1
+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=('GPL2')
depends=('sh' 'zlib' 'gcc-libs')
makedepends=('cmake' 'pkgconfig')
-source=(http://developer.kde.org/~wheeler/files/src/$pkgname-$pkgver.tar.gz)
+source=("http://developer.kde.org/~wheeler/files/src/$pkgname-$pkgver.tar.gz"
+ 'ape-idev2.patch')
options=('!libtool')
-md5sums=('6a7e312668f153fa905a81714aebc257')
+md5sums=('6a7e312668f153fa905a81714aebc257'
+ 'c7c165d99acf01456351ba39ff7056cb')
build() {
- cd ${srcdir}
+ cd "${srcdir}"
mkdir build
cd build
- cmake ../$pkgname-$pkgver \
+ cmake ../${pkgname}-${pkgver} \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_BUILD_TYPE=Release \
-DWITH_MP4=ON \
@@ -28,6 +30,6 @@
}
package() {
- cd ${srcdir}/build
- make DESTDIR=${pkgdir} install
+ cd "${srcdir}"/build
+ make DESTDIR="${pkgdir}" install
}
Added: ape-idev2.patch
===================================================================
--- ape-idev2.patch (rev 0)
+++ ape-idev2.patch 2011-08-06 08:32:54 UTC (rev 134588)
@@ -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;
More information about the arch-commits
mailing list