compat-32/apulse-32/Pkgfile

31 lines
633 B
Plaintext
Raw Normal View History

2014-10-06 23:38:14 +02:00
# Description: PulseAudio emulation for ALSA.
# URL: https://github.com/i-rinat/apulse
# Maintainer: CRUX compat-32 Team, compat-32-ports at crux dot nu
2019-08-27 13:48:19 +02:00
# Depends on: alsa-lib-32 cmake glib-32
2014-10-06 23:38:14 +02:00
name=apulse-32
2019-03-18 12:05:03 +01:00
version=0.1.12
2014-10-06 23:38:14 +02:00
release=1
source=(https://github.com/i-rinat/apulse/archive/v${version}.tar.gz)
build() {
2019-03-18 12:05:03 +01:00
cd apulse-$version
2014-10-06 23:38:14 +02:00
2019-03-18 12:05:03 +01:00
sed -i -e '/^set(APULSEPATH /s|lib|&32|' CMakeLists.txt
2014-10-06 23:38:14 +02:00
2019-03-18 12:05:03 +01:00
mkdir build
cd build
2014-10-06 23:38:14 +02:00
2019-03-18 12:05:03 +01:00
cmake .. \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_BUILD_TYPE=Release
2014-10-06 23:38:14 +02:00
2019-03-18 12:05:03 +01:00
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
2014-10-06 23:38:14 +02:00
}