summaryrefslogtreecommitdiff
path: root/skip/guitarix/guitarix.xibuild
blob: ece8baa4f3e7069f91fdfd7ca3fdc3861ebed1a2 (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
#!/bin/sh

NAME="guitarix"
DESC="A simple mono guitar amplifier and FX for JACK using Faust"

MAKEDEPS="make atkmm cairo cairomm glibmm gtkmm3 libsigc++ libx11 pangomm lv2 fftw gperf gtk3 intltool liblo lilv waf "

PKG_VER=0.44.1
SOURCE="https://download.sourceforge.net/project/guitarix/guitarix/guitarix2-$PKG_VER.tar.xz"
ADDITIONAL="guitarix-0.43.1-glib2.patch "

build () {
    waf configure \
        --prefix=/usr \
        --enable-nls \
        --ladspa \
        --new-ladspa \
        --shared-lib \
        --lib-dev \
        --cxxflags='-flto' \
        --ldflags="$LDFLAGS"
    waf build -vv
}

package () {
    waf install --destdir="$PKG_DEST"
}