blob: 955b4bc7607f9aec2308fa63ca23d4be88f84365 (
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
|
# Maintainer: Lukas Werling <lukas@lwrl.de>
# Maintainer: Sefa Eyeoglu <contact@scrumplex.net>
pkgname=sonobus
pkgver=1.5.1
pkgrel=2
pkgdesc="An easy to use application for streaming high-quality, low-latency peer-to-peer audio"
arch=('i686' 'x86_64' 'aarch64')
url="https://sonobus.net"
license=('GPL3')
depends=('opus' 'freetype2' 'libxrandr' 'libxinerama' 'libxcursor' 'libasound.so=2-64' 'libjack.so=0-64')
makedepends=('cmake')
source=("sonobus-$pkgver.tar.gz::https://github.com/sonosaurus/sonobus/archive/refs/tags/${pkgver}.tar.gz"
"0001-fix-add-missing-include.patch")
sha512sums=('329ef7c4b3bfe391673c5af871a2fdf688514f443550303ee7d83c3e25864fd4782ce1fe36f9fdf67d82a9964f566cb095b94d1165b66a7b705c558d2661a47a'
'735821f1be3e602a222f8c45d6561f02dd127be526875e6783e243d1a2ad8269103ec7199810fd1d1d08eefd8c5c769f035ef339e8aca4b2ac9b4feff6c6f416')
prepare() {
cd "sonobus-${pkgver}"
patch -Np1 -i ../0001-fix-add-missing-include.patch
}
build() {
cd "sonobus-${pkgver}"
cmake -B build \
-DCMAKE_BUILD_TYPE='Release' \
-DCMAKE_INSTALL_PREFIX='/usr' \
-Wno-dev
make -C build
}
package() {
cd "sonobus-${pkgver}/linux"
install -d "$pkgdir/usr"
./install.sh "$pkgdir/usr"
}
|