1 # Maintainer: SpepS <dreamspepser at yahoo dot it>
6 pkgdesc="Common Music is a real-time music composition system implemented in C++ and Scheme"
8 url="http://commonmusic.sourceforge.net/"
10 depends=('sndlib' 'mesa' 'freetype2' 'liblo' 'libxinerama')
11 makedepends=('premake')
13 conflicts=('cm-grace-bin')
14 install="$pkgname.install"
15 source=("http://downloads.sourceforge.net/project/commonmusic/$pkgname/$pkgver/$pkgname-$pkgver.zip"
16 "http://commonmusic.sourceforge.net/index_files/cmlogobb.png"
18 md5sums=('71d8af0dd3f4a62144692252403f79b4'
19 '94071a8ecb77bc895cd0abe642d1bed7'
20 '98b16cd7c87fb524e882fa1679b7dfb5')
28 # linking errors with -Wl,--as-needed
29 export LDFLAGS="${LDFLAGS//-Wl,--as-needed}"
31 # fix native jack callback
32 sed "s|t\* status|&, ...|" -i src/juce_amalgamated.cpp
49 install -Dm755 bin/cm "$pkgdir/usr/bin/cm"
52 install -Dm755 bin/Grace "$pkgdir/usr/bin/cm-grace"
54 # pixmaps and desktop file
55 install -Dm644 ../cmlogobb.png "$pkgdir/usr/share/pixmaps/cm-grace.png"
56 install -Dm644 ../cm-grace.desktop "$pkgdir/usr/share/applications/cm-grace.desktop"
59 # vim:set ts=2 sw=2 et: