summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 9f6a4802ba8727dd6c1c54ae6109079c282a8c3c (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
# Maintainer: Caleb Maclennan <caleb@alerque.com>
# Contributor: silverhikari

pkgname=audacium
pkgver=1.0.0
pkgrel=3
pkgdesc='telemetry free version of audacity'
arch=(x86_64)
url="https://github.com/SartoxOnlyGNU/$pkgname"
license=(GPL2)
depends=(alsa-lib
         expat
         ffmpeg4.4
         gtk2
         libid3tag
         libmad
         libogg
         libsndfile
         libsoxr
         libvorbis
         libx11
         lilv
         lv2
         portsmf
         soundtouch
         suil
         twolame
         vamp-plugin-sdk)
makedepends=(cmake
             sdl2
             libsoup
             libnotify
             gstreamer
             gst-plugins-bad-libs
             jack
             nasm
             conan)
provides=(audacity)
conflicts=(audacity)
_archive="$pkgname-$pkgver-rel"
source=("$_archive.tar.gz::$url/archive/refs/tags/v$pkgver-rel.tar.gz")
sha256sums=('7b8a98c349601b9a1248d906839f78396eefba051dddd8d63e1a7d6f416d02c8')

build() {
	cd "$_archive"
	cmake \
		-G 'Unix Makefiles' \
		-Daudacity_use_ffmpeg=loaded \
		-DCMAKE_INSTALL_PREFIX=/usr \
		-DCMAKE_BUILD_TYPE=Release \
		-B build \
		-S . \
		..
	make -C build
}

package() {
	cd "$_archive/build"
	make DESTDIR="$pkgdir/" install
}