opt/apulse/Pkgfile

19 lines
492 B
Plaintext
Raw Normal View History

2019-03-17 03:23:44 +01:00
# Description: PulseAudio emulation for ALSA.
# URL: https://github.com/i-rinat/apulse
# Maintainer: Danny Rawlins, crux at romster dot me
2020-05-13 11:58:36 +02:00
# Depends on: alsa-lib cmake glib
2019-03-17 03:23:44 +01:00
name=apulse
2020-05-13 11:58:36 +02:00
version=0.1.13
2019-03-17 03:23:44 +01:00
release=1
2020-05-13 11:58:36 +02:00
source=(https://github.com/i-rinat/$name/archive/v$version/$name-v$version.tar.gz)
2019-03-17 03:23:44 +01:00
build() {
2020-05-13 11:58:36 +02:00
cmake -S$name-$version -Bbuild -GNinja \
2019-03-17 03:23:44 +01:00
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_BUILD_TYPE=Release
2020-05-13 11:58:36 +02:00
cmake --build build
DESTDIR=$PKG cmake --build build --target install
2019-03-17 03:23:44 +01:00
}