blob: 20d38694a24952fa230b7f7776905a3b1229aa17 (
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
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
|
# Maintainer: kryksyh <kryksyh@gmail.com>
# Contributor: Evert Vorster <superchief@evertvorster.com>
# Contributor: Ong Yong Xin <ongyongxin2020+github@gmail.com>
# Contributor: Fabio 'Lolix' Loli <fabio.loli@disroot.org> -> https://github.com/FabioLolix
# Contributor: Bernhard Landauer <oberon@manjaro.org>
# Contributor: Eric Bélanger <eric@archlinux.org>
pkgname=audacity3-nocloud-git
_pkgname=audacity
pkgver=r0
pkgrel=1
pkgdesc="A program that lets you manipulate digital audio waveforms (Audacity 3 maintenance branch, no networking)"
arch=('x86_64')
url="https://www.audacityteam.org/"
license=('GPL-3.0-or-later')
groups=('pro-audio')
depends=(
alsa-lib
expat
flac
gcc-libs
gdk-pixbuf2
glib2
glibc
gtk3
hicolor-icon-theme
jack
lame
libid3tag
libogg
libsbsms
libsndfile
libsoxr
libvorbis
libx11
lilv
mpg123
opus
opusfile
portaudio
portmidi
portsmf
soundtouch
sqlite
suil
twolame
util-linux-libs
vamp-plugin-sdk
wavpack
wxwidgets-common
wxwidgets-gtk3
)
makedepends=(
cmake
ffmpeg
git
gtkmm3
libxkbcommon-x11
lv2
python
rapidjson
vst3sdk
xcb-util
xcb-util-cursor
xcb-util-keysyms
)
optdepends=('ffmpeg: additional import/export capabilities')
provides=(
'audacity'
'ladspa-host'
'lv2-host'
'vamp-host'
'vst-host'
'vst3-host'
)
conflicts=('audacity')
source=("git+https://github.com/audacity/audacity.git#branch=audacity3")
sha256sums=('SKIP')
pkgver() {
cd "$srcdir/$_pkgname"
git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g' | cut -d'.' -f2-
}
build() {
export VST3SDK=/usr/src/vst3sdk
export CFLAGS+=" -DNDEBUG -std=gnu17"
export CXXFLAGS+=" -DNDEBUG"
cmake \
-S "$srcdir/$_pkgname" \
-B build \
-D CMAKE_BUILD_TYPE=Release \
-D CMAKE_INSTALL_PREFIX=/usr \
-D AUDACITY_BUILD_LEVEL=2 \
-D audacity_conan_enabled=OFF \
-D audacity_has_networking=OFF \
-D audacity_has_crashreports=OFF \
-D audacity_has_sentry_reporting=OFF \
-D audacity_has_tests=OFF \
-D audacity_lib_preference=system \
-D audacity_obey_system_dependencies=ON \
-D audacity_use_vst3sdk=system \
-W no-dev
cmake --build build
}
package() {
DESTDIR="$pkgdir" cmake --install build
install -vDm 644 "$srcdir/$_pkgname/lib-src/libnyquist/nyquist/license.txt" \
"$pkgdir/usr/share/licenses/$pkgname/LICENSE.nyquist"
}
|