From 8fbc0076a4827ddc6af92e0b9daa4c4c31450808 Mon Sep 17 00:00:00 2001 From: root Date: Fri, 19 Jul 2013 01:10:32 -0700 Subject: Fri Jul 19 01:09:18 PDT 2013 --- community/taglib-rcc/PKGBUILD | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 community/taglib-rcc/PKGBUILD (limited to 'community/taglib-rcc') 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 +# Contributor: Sergej Pupykin + +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 |#include |' $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 +} -- cgit v1.2.3-54-g00ecf