30 lines
855 B
Bash
30 lines
855 B
Bash
# Template file for 'libopenal'
|
|
pkgname=libopenal
|
|
version=1.17.2
|
|
revision=3
|
|
build_style=cmake
|
|
wrksrc="openal-soft-${version}"
|
|
hostmakedepends="pkg-config"
|
|
makedepends="alsa-lib-devel pulseaudio-devel SDL2-devel ffmpeg-devel jack-devel"
|
|
short_desc="A cross-platform 3D audio library"
|
|
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
|
license="LGPL-2.1"
|
|
homepage="http://kcat.strangesoft.net/openal.html"
|
|
distfiles="http://kcat.strangesoft.net/openal-releases/openal-soft-${version}.tar.bz2"
|
|
checksum=a341f8542f1f0b8c65241a17da13d073f18ec06658e1a1606a8ecc8bbc2b3314
|
|
|
|
post_install() {
|
|
rm -f ${DESTDIR}/usr/share/openal/alsoftrc.sample
|
|
vsconf alsoftrc.sample
|
|
}
|
|
|
|
libopenal-devel_package() {
|
|
depends="${sourcepkg}>=${version}_${revision}"
|
|
short_desc+=" - development files"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove usr/lib/pkgconfig
|
|
vmove usr/lib/*.so
|
|
}
|
|
}
|