blob: 93b4fc3f40db40aa3ea78fb3d71b835598eb4b11 (
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
|
# Maintainer: Liang Wei <weiliang1503@163.com>
pkgname=sonobus-git
pkgver=1.4.5.r0.g52cb09f
pkgrel=1
pkgdesc="An easy to use application for streaming high-quality, low-latency peer-to-peer audio, Git version"
arch=('i686' 'x86_64')
url="https://sonobus.net"
license=('GPL3')
depends=('opus' 'freetype2' 'libxrandr' 'libxinerama' 'libxcursor' 'libasound.so=2-64' 'libjack.so=0-64')
makedepends=('cmake')
source=("git+https://github.com/sonosaurus/sonobus.git")
sha512sums=('SKIP')
pkgver() {
cd sonobus
git describe --long | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
}
build() {
cd sonobus
cmake -B build \
-DCMAKE_BUILD_TYPE='Release' \
-DCMAKE_INSTALL_PREFIX='/usr' \
-Wno-dev
make -C build -j$(nproc)
}
package() {
cd "sonobus/linux"
install -d "$pkgdir/usr"
./install.sh "$pkgdir/usr"
}
|