summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 37155930b5cd39524e10156eb931505de0b23739 (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
# Maintainer: sekret
# Contributor: Army
_pkgname=guitarix
pkgname=$_pkgname-git
pkgver=0.33.0.r40.ge0a4ce1
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' 'bluez-libs' '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
  python2 waf build
}

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

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