1 # Contributor: Asa Marco <marcoasa90 [at] gmail [dot] com>
5 pkgdesc="Audio and MIDI sequencer, score editor - development branch, doesn't conflict with the old version"
7 url="http://www.rosegardenmusic.com/"
9 depends=('qt' 'jack-audio-connection-kit' 'ladspa' 'dssi' 'liblo' 'liblrdf' 'fftw' 'perl-xml-twig')
10 makedepends=('subversion' 'autoconf' 'imake')
14 _svntrunk=https://rosegarden.svn.sourceforge.net/svnroot/rosegarden/trunk/
24 mkdir usr/share/applications
25 mkdir usr/share/pixmaps
26 mkdir usr/share/$_name
27 mkdir usr/share/$_name/fonts
28 mkdir usr/share/$_name/chords
29 mkdir usr/share/$_name/examples
30 mkdir usr/share/$_name/library
31 mkdir usr/share/$_name/presets
32 mkdir usr/share/$_name/styles
35 msg "Connecting to $_svnmod SVN server...."
37 if [ -d $_svnmod/.svn ]; then
38 (cd $_svnmod && svn up -r $pkgver)
40 svn co $_svntrunk $_svnmod -r $pkgver
43 msg "SVN checkout done or server timeout"
44 msg "Starting make..."
46 cd ${startdir}/src/rosegarden/$_svnmod
48 ./configure --with-qtdir=/usr || return 1
50 sed -i 's/Exec=rosegarden/Exec=rosegarden-qt4/g' data/desktop/rosegarden.desktop
51 sed -i 's/Name=Rosegarden/Name=Rosegarden-qt4/g' data/desktop/rosegarden.desktop
52 sed -i 's/Icon=rosegarden/Icon=rosegarden-qt4/g' data/desktop/rosegarden.desktop
54 install -Dm755 rosegarden $startdir/pkg/usr/bin/$_name
55 install -Dm755 data/desktop/rosegarden.desktop $startdir/pkg/usr/share/applications/$_name.desktop
56 install -Dm755 data/pixmaps/icons/rg-rwb-rose3-48x48.png /$startdir/pkg/usr/share/pixmaps/$_name.png
57 install -Dm755 data/presets/presets.xml $startdir/pkg/usr/share/$_name/presets/presets.xml
58 cp -r data/fonts/* /$startdir/pkg/usr/share/$_name/fonts
59 cp -r data/chords/* /$startdir/pkg/usr/share/$_name/chords
60 cp -r data/examples/* /$startdir/pkg/usr/share/$_name/examples
61 cp -r data/library/* /$startdir/pkg/usr/share/$_name/library
62 cp -r data/styles/* /$startdir/pkg/usr/share/$_name/styles