blob: e2ad729f142560889d98a1c4c3a2481670b0ef73 (
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
|
# Maintainer: Mark Jynx <markjynx@cock.li>
pkgname="libsoundio"
pkgver="2.0.0"
pkgrel=0
pkgdesc="lightweight abstraction over various sound drivers"
url="https://libsound.io"
arch="all"
options="!check" # No test suite.
license="MIT"
depends_dev="alsa-lib-dev"
makedepends="cmake $depends_dev"
subpackages="$pkgname-dev"
source="$pkgname-$pkgver.tar.gz::https://github.com/andrewrk/libsoundio/archive/$pkgver.tar.gz"
build() {
cmake \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_LIBDIR=lib \
-DBUILD_STATIC_LIBS=OFF \
-DBUILD_EXAMPLE_PROGRAMS=OFF \
-DBUILD_TESTS=OFF \
.
make
}
package() {
make DESTDIR="$pkgdir" install
}
sha512sums="347a9be1789a41e778ea8d0efa1d00e03e725a4ab65e3aaf6c71e49138643f08a50a81bd60087d86a3b4d63beaeec617e47ba6b81f829ece8a3ac17418eb5309 libsoundio-2.0.0.tar.gz"
|