33 lines
915 B
Bash
33 lines
915 B
Bash
# Template file for 'libopenal'
|
|
pkgname=libopenal
|
|
version=1.17.1
|
|
revision=1
|
|
build_style=cmake
|
|
wrksrc="openal-soft-${version}"
|
|
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=087153baab375c23d7aa7e9f3237c0a1d02e336537b485aee56d9ac312baf6f8
|
|
|
|
hostmakedepends="pkg-config cmake"
|
|
makedepends="alsa-lib-devel pulseaudio-devel SDL-devel ffmpeg-devel"
|
|
# dlopen(3)d dependencies
|
|
depends="alsa-lib libpulseaudio SDL"
|
|
|
|
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"
|
|
}
|
|
}
|