blob: d643495139caaa8fced9e04f5db6efcd9cd6f2d7 (
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
|
# Maintainer: 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=audacity-git
pkgver=3.4.2.r93.g86a6b6df8
pkgrel=1
pkgdesc="A program that lets you manipulate digital audio waveforms"
arch=('i686' 'x86_64')
url="https://www.audacityteam.org/"
license=('GPL2' 'CCPL')
groups=('pro-audio')
depends=(
'alsa-lib'
'expat'
'flac'
'gtk3'
'gtkmm3'
'gst-plugins-bad-libs'
'jack'
'lame'
'libid3tag'
'libmad'
'libogg'
'libsbsms'
'libsndfile'
'libsoxr'
'libvorbis'
'libx11'
'lilv'
'lv2'
'mpg123'
'opusfile'
'portaudio'
'portmidi'
'portsmf'
'rapidjson'
'soundtouch'
'sqlite'
'suil'
'twolame'
'vamp-plugin-sdk'
'vst3sdk'
'wavpack'
'wxwidgets-gtk3'
'xcb-util-cursor'
'zlib'
)
makedepends=('cmake' 'gcc' 'git' 'nasm')
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")
sha256sums=('SKIP')
pkgver() {
cd audacity
git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g' | cut -d'.' -f2-
}
build() {
export CC=gcc
export VST3_SDK_DIR=/usr/src/vst3sdk
cmake_args=(
-D CMAKE_BUILD_TYPE=Release
-D CMAKE_INSTALL_PREFIX=/usr
-D audacity_lib_preference=system
-D audacity_obey_system_dependencies=On
-D audacity_conan_enabled=Off
-D audacity_use_wxwidgets=system
)
cmake -S audacity -B build "${cmake_args[@]}"
cmake --build build
}
package() {
cd build
make DESTDIR="${pkgdir}" install
}
|