1 # Contributor: Alessio 'alexwizard' Sergi <sergi.alessio {at} gmail.com>
2 # Contributor: Sergej Pupykin
3 # Maintainer: Stefan Husmann <stefan-husmannt-online.de>
8 pkgdesc="TagLib Audio Meta-Data Library"
10 url="http://ktown.kde.org/~wheeler/taglib.html"
11 license=('LGPL' 'MPL')
12 depends=('sh' 'gcc-libs' 'zlib')
13 makedepends=('cmake' 'subversion')
14 provides=('taglib=1.6.3')
19 _svntrunk=svn://anonsvn.kde.org/home/kde/trunk/kdesupport/${_realname}
25 if [ -d ${_svnmod}/.svn ]; then
26 (cd ${_svnmod} && svn up -r ${pkgver})
28 svn co ${_svntrunk} --config-dir ./ -r ${pkgver} ${_svnmod}
31 msg "SVN checkout done or server timeout"
32 msg "Starting make..."
34 [ -d ${_svnmod}-build ] && rm -rf ${_svnmod}-build
35 cp -r ${_svnmod} ${_svnmod}-build
38 cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release \
39 -DCMAKE_SKIP_RPATH=ON -DCMAKE_VERBOSE_MAKEFILE=ON \
40 -DWITH_MP4=ON -DWITH_ASF=ON -DCMAKE_USE_RELATIVE_PATHS=ON
42 make DESTDIR=${pkgdir} install