forked from ports/compat-32
31 lines
634 B
Plaintext
31 lines
634 B
Plaintext
# Description: PulseAudio emulation for ALSA.
|
|
# URL: https://github.com/i-rinat/apulse
|
|
# Maintainer: CRUX compat-32 Team, compat-32-ports at crux dot nu
|
|
# Depends on: cmake glib-32 alsa-lib-32
|
|
|
|
name=apulse-32
|
|
version=0.1.12
|
|
release=1
|
|
source=(https://github.com/i-rinat/apulse/archive/v${version}.tar.gz)
|
|
|
|
build() {
|
|
cd apulse-$version
|
|
|
|
sed -i -e '/^set(APULSEPATH /s|lib|&32|' CMakeLists.txt
|
|
|
|
mkdir build
|
|
cd build
|
|
|
|
cmake .. \
|
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
|
-DCMAKE_BUILD_TYPE=Release
|
|
|
|
make
|
|
make DESTDIR=$PKG install
|
|
|
|
mv $PKG/usr/bin/apulse $PKG/usr/bin/apulse-32
|
|
|
|
rm -r $PKG/usr/share/man
|
|
rmdir $PKG/usr/share
|
|
}
|