1 # Contributer "daelstorm <daelstorm@gmail.com>"
2 # Sat Aug 25 21:41:47 IDT 2007
7 pkgdesc="Museek+ is a C++ daemon/client Soulseek P2P client, that includes QT, PyGTK, and Curses UIs and a PyGTK config tool."
8 url="http://www.museek-plus.org/"
10 depends=('libxml++2' 'libogg' 'libvorbis' 'python' 'qt' 'qsa3' 'pygtk')
11 source=(http://downloads.sourceforge.net/museek-plus/museek+-$pkgver.tar.bz2 post_release_fixes.patch)
13 makedepends=('cmake' 'pkgconfig' 'swig')
14 conflicts=('mucous' 'museek-plus-svn')
15 replaces=('mucous' 'museek-plus' 'museek-plus-svn')
16 md5sums=(7aada627839578ebe525c54a1cef7dc4 17a4afb7df527269be34016ab88f9464)
19 . /etc/profile.d/qt.sh
20 cd $startdir/src/museek+-$pkgver/
21 patch -p0 < $startdir/src/post_release_fixes.patch || return 1
23 # build .qm translations from .ts
26 mkdir -p $startdir/pkg/etc/rc.d/
27 cp museekd.rc $startdir/pkg/etc/rc.d/museekd
30 # Museekd with debugging, Museeq with trayicon & binary relocation
31 # all python tools, clients, bindings
32 cmake -DSWIG_DIR=/usr/share/swig/1.3.31 -DMULOG=1 -DEVERYTHING=1 -DPREFIX=/usr -DTRAYICON=1 -DBINRELOC=1 .. || return 1
33 make || return 1 # VERBOSE=1
34 make install DESTDIR=$startdir/pkg || return 1