summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: d849d975843a0dcec70ed592044cf3dabab6db50 (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
42
43
44
45
46
47
# Maintainer: Gimmeapill <gimmeapill at gmail dot com>
# Contributor: sekret
# Contributor: Army
# Contributor: Funkmuscle

_pkgname=guitarix
pkgname=$_pkgname-git
pkgver=0.35.0.r6.g3ec2109
pkgrel=1
pkgdesc="a virtual guitar amplifier for Linux"
arch=('i686' 'x86_64')
url="http://guitarix.sourceforge.net"
license=('GPL')
depends=('gtkmm' 'liblrdf' 'boost-libs' 'zita-convolver' 'eigen' 'lilv' 'ffmpeg' 'webkitgtk2')
makedepends=('git' 'python2' 'boost' 'intltool' 'lv2' 'gperf')
optdepends=('meterbridge: sound meters')
provides=("$_pkgname" 'guitarix2' 'gx_head')
conflicts=("$_pkgname" 'guitarix2' 'gx_head')
install=$pkgname.install
source=("$_pkgname::git+git://git.code.sf.net/p/guitarix/git")
md5sums=('SKIP')

pkgver() {
  cd "$_pkgname"
  git describe --long --tags | sed -r 's/^V//;s/([^-]*-g)/r\1/;s/-/./g'
}

build() {
  cd "$_pkgname/trunk"
  python2 waf configure --prefix=/usr \
                        --includeresampler \
                        --convolver-ffmpeg \
                        --no-desktop-update \
                        --no-ldconfig \
                        --no-faust \
                        --optimization \
                        --lib-dev	\
                        --install-roboto-font
  python2 waf build
}

package() {
  cd "$_pkgname/trunk"
  python2 waf install --destdir="$pkgdir"
}

# vim:set ts=2 sw=2 et: