blob: 9f36f3113105c47c146e90a19e0db597598b0a37 (
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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
|
# Contributor: Natanael Copa <ncopa@alpinelinux.org>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=audacity
pkgver=2.3.2
pkgrel=0
pkgdesc="Multitrack audio editor"
url="https://www.audacityteam.org/"
arch="all"
license="GPL-2.0-or-later"
makedepends="
alsa-lib-dev
bash
expat-dev
flac-dev
jack-dev
lame-dev
libid3tag-dev
libmad-dev
libogg-dev
libsndfile-dev
libvorbis-dev
soundtouch-dev
soxr-dev
taglib-dev
wxgtk3-dev
ffmpeg-dev
automake
autoconf
libtool
"
subpackages="$pkgname-doc $pkgname-lang"
source="https://github.com/audacity/audacity/archive/Audacity-$pkgver.tar.gz
"
builddir="$srcdir"/audacity-Audacity-$pkgver
prepare() {
default_prepare
autoreconf -fi
}
build() {
local _arch
case "$CTARGET" in
x86|x86_64) _arch="--enable-sse";;
*) _arch="--disable-sse";;
esac
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 \
$_arch
make
}
package() {
make DESTDIR="$pkgdir" install
}
sha512sums="a59d6e9e974d5f78f5ca561e3bea31fc1b3e88f9ea60b2df7ce8bcec264d886f3fdc8f20030e11a86daff8ffeb735850b5e5f73c45fbef0bfcc58692423e7cd0 Audacity-2.3.2.tar.gz"
|