blob: 027daedd7887df3d2b2803f8b0ace5cda6d7169c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
|
# Maintainer: Albert Graef <aggraef at gmail.com>
pkgname=faustlive-git
pkgver=787.46f15b9
pkgrel=1
pkgdesc="A graphical frontend to the Faust compiler."
arch=('i686' 'x86_64')
url="http://faust.grame.fr/"
license=('GPL')
# NOTE: faust2-git used to be a make dependency, but this doesn't work in the
# latest revisions of FaustLive any more, since it will try to link against
# the static qrencode and microhttpd libraries which aren't normally installed
# on Arch. Thus faust2-git is now required at runtime.
depends=('qt4' 'faust2-git' 'jack2' 'qrencode' 'libmicrohttpd' 'openssl' 'liblo' 'curl')
makedepends=('git')
provides=('faustlive')
conflicts=('faustlive')
source=("$pkgname::git+https://github.com/grame-cncm/faustlive.git")
md5sums=('SKIP')
pkgver() {
cd $srcdir/$pkgname
# Make sure that we get the dev branch.
git checkout dev > /dev/null 2>&1
echo $(git rev-list --count HEAD).$(git rev-parse --short HEAD)
}
build() {
cd $srcdir/$pkgname
make arch=Linux PREFIX=/usr STATIC=0 NETJACK=1
}
package() {
cd $srcdir/$pkgname
make install arch=Linux PREFIX=/usr DESTDIR="$pkgdir"
# docs
install -d "$pkgdir/usr/share/doc/faustlive"
install -d "$pkgdir/usr/share/doc/faustlive/FilesToConfigure"
cp GPL.txt Build/Linux/README.txt Documentation/*.pdf Build/Linux/Distributions/*.pdf "$pkgdir/usr/share/doc/faustlive"
(cd Build/Linux/Distributions && cp DefaultDSP.dsp DefaultDSP.lib process.svg "$pkgdir/usr/share/doc/faustlive/FilesToConfigure")
}
|