summaryrefslogtreecommitdiff
path: root/openal/Pkgfile
blob: 18a5eb483c65affb8db73543a68fe07a791cec87 (plain)
    1 # Description: Cross-platform 3D audio.
    2 # URL: https://github.com/kcat/openal-soft
    3 # Maintainer: Danny Rawlins, crux at romster dot me
    4 # Depends on: alsa-lib cmake
    5 # Optional: qt5 ninja
    6 
    7 name=openal
    8 version=1.22.2
    9 release=1
   10 source=(https://github.com/kcat/openal-soft/archive/$version/openal-soft-$version.tar.gz)
   11 
   12 build() {
   13 	[ -e '/usr/bin/ninja' ] && PKGMK_OPENAL+=' -G Ninja'
   14 
   15 	cmake -S openal-soft-$version -B build ${PKGMK_OPENAL} \
   16 		-D CMAKE_INSTALL_PREFIX=/usr \
   17 		-D CMAKE_INSTALL_LIBDIR=lib \
   18 		-D ALSOFT_EXAMPLES=OFF \
   19 		-D CMAKE_BUILD_TYPE=Release
   20 
   21 	cmake --build build
   22 	DESTDIR=$PKG cmake --install build
   23 }

Generated by cgit