summaryrefslogtreecommitdiff
path: root/apulse-32/Pkgfile
blob: 3ef7d48e6317667b1b65d2e970301660543b85a3 (plain)
    1 # Description: PulseAudio emulation for ALSA.
    2 # URL:         https://github.com/i-rinat/apulse
    3 # Maintainer:  CRUX compat-32 Team, compat-32-ports at crux dot nu
    4 # Packager:    Thomas Penteker, tek at serverop dot de
    5 # Depends on:  cmake glib-32 alsa-lib-32
    6 
    7 name=apulse-32
    8 version=0.1.2
    9 release=1
   10 source=(https://github.com/i-rinat/apulse/archive/v${version}.tar.gz)
   11 
   12 build() {
   13   cd apulse-$version
   14   sed -i -e "s:/lib/apulse:/lib32:" CMakeLists.txt
   15 
   16   mkdir build
   17   cd build
   18 
   19   cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release ..
   20 
   21   make
   22   make DESTDIR=$PKG install
   23 
   24   mv $PKG/usr/bin/apulse $PKG/usr/bin/apulse-32
   25 }

Generated by cgit