blob: 68444ad3ef768d7d4133ff42d815e82633aacd69 (
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
|
# RTAudio git version
# Maintainer: cropinghigh <joinmark60@gmail.com>
pkgname=rtaudio-git
pkgver=r660.b4db7db
pkgrel=1
arch=('i686' 'x86_64')
pkgdesc="RTAudio git version without JACK support(fix for pipewire)"
license=('GPL')
depends=('alsa-lib' 'gcc-libs' 'glibc' 'libpulse')
makedepends=('make' 'git' 'cmake' 'doxygen' 'patch')
provides=('rtaudio' 'librtaudio.so')
conflicts=('rtaudio')
source=("git+https://github.com/thestk/rtaudio")
md5sums=('SKIP')
pkgver() {
cd "$srcdir/rtaudio"
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
build() {
cd "$srcdir/rtaudio"
# patch < "$srcdir/alsa_pcm.patch"
#required for correct SDR++ work
git checkout -b master_old 46b01b5b13
mkdir build
cd build
cmake -DCMAKE_INSTALL_PREFIX:PATH="/usr" -DRTAUDIO_API_JACK=OFF ..
make
}
package() {
cd "$srcdir/rtaudio/build"
make DESTDIR="$pkgdir" install
}
|