1 # Maintainer kfgz <kfgz at interia pl>
6 pkgdesc="An iTunes-like music jukebox, supporting cross-fadding, 16-band dual-channel equalizer, auto-tagging and fuzzy search."
7 url="http://musik.berlios.de/"
10 depends=('faad2' 'flac' 'fmodex' 'libmpcdec' 'libsm' 'libtiff' 'libxxf86vm' 'mac' 'wxgtk')
11 optdepends=('lastfmsubmitd: last.fm scrobbling support')
12 makedepends=('cmake' 'subversion')
15 _svntrunk=svn://svn.berlios.de/musik
18 # wxMusik compiling doc ==> http://musik.berlios.de/?id=compileonlin
24 if [ -d ${_svnmod}/.svn ]; then
25 (cd ${_svnmod} && svn up -r ${pkgver})
27 svn co ${_svntrunk} --config-dir ./ -r ${pkgver} ${_svnmod}
30 msg "SVN checkout done or server timeout"
31 msg "Starting make..."
33 cd ${_svnmod}/trunk/wxMusik
37 #ccmake .. -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE:STRING=RelWithDebInfo -DFMOD_LIBRARY=/usr/lib/libfmodex.so
39 -DCMAKE_INSTALL_PREFIX=/usr \
40 -DCMAKE_BUILD_TYPE:STRING=RelWithDebInfo \
41 -DFMOD_LIBRARY=/usr/lib/libfmodex.so \
42 -OPTION_SUPPORT_APE:BOOL=ON \
43 -OPTION_SUPPORT_FLAC:BOOL=ON \
44 -OPTION_SUPPORT_MPC:BOOL=ON \
45 -OPTION_SUPPORT_FAAD2:BOOL=ON \
46 -DWXWINDOWS_USE_SHARED_LIBS:BOOL=ON
50 make DESTDIR=${pkgdir} install
51 rm -r ${pkgdir}/usr/lib
52 rm ${pkgdir}/usr/share/locale/cs/LC_MESSAGES/wxstd.mo
53 rm ${pkgdir}/usr/share/locale/de/LC_MESSAGES/wxstd.mo
54 rm ${pkgdir}/usr/share/locale/es/LC_MESSAGES/wxstd.mo
55 rm ${pkgdir}/usr/share/locale/fr/LC_MESSAGES/wxstd.mo
56 rm ${pkgdir}/usr/share/locale/it/LC_MESSAGES/wxstd.mo
57 rm ${pkgdir}/usr/share/locale/nl/LC_MESSAGES/wxstd.mo
58 rm ${pkgdir}/usr/share/locale/pl/LC_MESSAGES/wxstd.mo
59 rm ${pkgdir}/usr/share/locale/ru/LC_MESSAGES/wxstd.mo