1 # Maintainer: vitamin.caig@gmail.com
5 pkgdesc="ZX Spectrum sound chiptunes playback support"
7 url="http://zxtune.googlecode.com"
9 depends=('boost-libs>=1.40' 'qt>=4.5.0' 'textator')
10 makedepends=('subversion')
12 options=(!strip !docs !libtool !emptydirs !zipman makeflags)
13 _svntrunk="http://zxtune.googlecode.com/svn/tags/ver3"
15 _options="release=1 platform=linux arch=${CARCH}"
19 if [ -d ${_svnmod}/.svn ]; then
20 (cd ${_svnmod} && svn up -r ${pkgver})
22 svn co ${_svntrunk} --config-dir ./ -r ${pkgver} ${_svnmod}
24 msg "SVN checkout done or server timeout"
27 rm -rf "${srcdir}/${_svnmod}-build"
28 svn export "${srcdir}/${_svnmod}" "${srcdir}/${_svnmod}-build"
29 cd "${srcdir}/${_svnmod}-build"
30 make ${MAKEFLAGS} all ${_options} cxx_flags="${CXXFLAGS}" ld_flags="${LDFLAGS}" defines="ZXTUNE_VERSION=rev${pkgver} BUILD_PLATFORM=linux BUILD_ARCH=${CARCH}" -C apps
34 cd "${srcdir}/${_svnmod}-build"
35 make DESTDIR="${pkgdir}" ${_options} install -C apps >/dev/null