summaryrefslogtreecommitdiff
path: root/community/taglib-rcc
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-07-19 01:10:32 -0700
committerroot <root@rshg054.dnsready.net>2013-07-19 01:10:32 -0700
commit8fbc0076a4827ddc6af92e0b9daa4c4c31450808 (patch)
tree03fd0e2921ebd53228d9a93e32ed3976b636cbea /community/taglib-rcc
parente445a313723389ba9ee1fded025c567dae5b21ea (diff)
Fri Jul 19 01:09:18 PDT 2013
Diffstat (limited to 'community/taglib-rcc')
-rw-r--r--community/taglib-rcc/PKGBUILD38
1 files changed, 38 insertions, 0 deletions
diff --git a/community/taglib-rcc/PKGBUILD b/community/taglib-rcc/PKGBUILD
new file mode 100644
index 000000000..673927582
--- /dev/null
+++ b/community/taglib-rcc/PKGBUILD
@@ -0,0 +1,38 @@
+# $Id: PKGBUILD 59135 2011-11-21 12:15:14Z spupykin $
+# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
+# Contributor: Sergej Pupykin <pupykin.s+arch@gmail.com>
+
+pkgname=taglib-rcc
+pkgver=1.7
+pkgrel=1
+pkgdesc="taglib with librcc patch"
+arch=('i686' 'x86_64')
+url="http://developer.kde.org/~wheeler/taglib.html"
+depends=('gcc-libs' 'zlib' 'bash' 'libxml2' 'db' 'librcc')
+makedepends=('patch' 'cmake')
+license=('GPL')
+provides=("taglib=$pkgver")
+conflicts=("taglib")
+options=('!libtool')
+source=(http://developer.kde.org/~wheeler/files/src/taglib-$pkgver.tar.gz
+ http://downloads.sourceforge.net/rusxmms/taglib-csa6.tar.bz2)
+md5sums=('6a7e312668f153fa905a81714aebc257'
+ '0868d633843ecd87526c77d788b3d3b6')
+
+build() {
+ cd $srcdir/taglib-$pkgver
+ [ $NOEXTRACT -eq 1 ] || patch -Np1 <$srcdir/taglib/taglib-1.5-ds-rusxmms.patch || true
+ [ $NOEXTRACT -eq 1 ] || sed -i 's|#include <string>|#include <string.h>|' $srcdir/taglib-$pkgver/taglib/toolkit/rccpatch.cpp
+
+ cd ..
+ mkdir build
+ cd build
+
+ [ $NOEXTRACT -eq 1 ] || cmake ../taglib-$pkgver \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_BUILD_TYPE=Release \
+ -DWITH_MP4=ON \
+ -DWITH_ASF=ON
+ make VERBOSE=1
+ make DESTDIR=${pkgdir} install
+}