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
|
2020-07-08 15:14:57 +02:00
|
|
|
DESTDIR=$PKG cmake --install build
|
2020-05-13 14:48:46 +02:00
|
|
|
|
|
|
|
install -d $PKG/etc/revdep.d
|
2020-05-13 14:58:56 +02:00
|
|
|
echo '/usr/lib/apulse' > $PKG/etc/revdep.d/apulse
|
2019-03-17 03:23:44 +01:00
|
|
|
}
|