diff options
Diffstat (limited to 'community/taglib-rcc')
-rw-r--r-- | community/taglib-rcc/PKGBUILD | 38 |
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 +} |