summaryrefslogtreecommitdiff
path: root/repo/audacity/audacity.xibuild
blob: 7fca5f4f92fc81a01cd24e2da23f7273755c5036 (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
#!/bin/sh

NAME="audacity"
DESC="Multitrack audio editor"

MAKEDEPS="make bash	alsa-lib bash expat	flac jack lame libid3tag libmad	libogg	libsndfile libvorbis soundtouch soxr taglib wxgtk3 ffmpeg automake autoconf libtool"
DEPS=""

PKG_VER=3.1.3
SOURCE="https://github.com/audacity/audacity/archive/Audacity-$PKG_VER.tar.gz"

prepare () {
    autoreconf -fi
}

build () {
	WX_CONFIG=wx-config-gtk3 \
	bash configure \
		--prefix="/usr" \
		--with-libsndfile="system" \
		--with-ffmpeg="system" \
		--with-expat="system" \
		--with-lame="system" \
		--with-libsoxr="system" \
		--with-portaudio \
		--with-portmidi \
		--with-libflac \
		--with-libid3tag \
		--with-libsamplerate \
		--with-sbsms \
		--with-soundtouch \
		--with-libtwolame \
		--with-libvorbis \
		--without-lv2 \
        --enable-sse
	make

}

package () {
    make DESTDIR=$PKG_DEST install
}