2011-10-27 00:26:07 +02:00
|
|
|
# Template file for 'libopenal'
|
|
|
|
pkgname=libopenal
|
2014-09-29 09:23:39 +02:00
|
|
|
version=1.16.0
|
|
|
|
revision=1
|
2011-10-27 00:26:07 +02:00
|
|
|
build_style=cmake
|
2012-12-08 17:22:32 +01:00
|
|
|
wrksrc="openal-soft-${version}"
|
2011-10-27 00:26:07 +02:00
|
|
|
short_desc="A cross-platform 3D audio library"
|
2014-06-08 11:52:36 +02:00
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
2011-10-27 00:26:07 +02:00
|
|
|
license="LGPL-2.1"
|
2014-09-29 09:23:39 +02:00
|
|
|
homepage="http://kcat.strangesoft.net/openal.html"
|
2014-12-01 21:23:06 +01:00
|
|
|
update_pkgname=openal-soft
|
2012-12-08 17:22:32 +01:00
|
|
|
distfiles="http://kcat.strangesoft.net/openal-releases/openal-soft-${version}.tar.bz2"
|
2014-09-29 09:23:39 +02:00
|
|
|
checksum=2f3dcd313fe26391284fbf8596863723f99c65d6c6846dccb48e79cadaf40d5f
|
2011-10-27 00:26:07 +02:00
|
|
|
|
2013-04-13 10:15:49 +02:00
|
|
|
hostmakedepends="pkg-config cmake"
|
2013-10-30 08:07:17 +01:00
|
|
|
makedepends="alsa-lib-devel pulseaudio-devel SDL-devel ffmpeg-devel>=2.1"
|
2014-01-01 16:10:11 +01:00
|
|
|
# dlopen(3)d dependencies
|
|
|
|
depends="alsa-lib libpulseaudio SDL"
|
2011-10-27 00:26:07 +02:00
|
|
|
|
2014-09-29 09:23:39 +02:00
|
|
|
post_install() {
|
|
|
|
rm -f ${DESTDIR}/usr/share/openal/alsoftrc.sample
|
|
|
|
vsconf alsoftrc.sample
|
|
|
|
}
|
|
|
|
|
2013-04-13 10:15:49 +02:00
|
|
|
libopenal-devel_package() {
|
2014-02-20 18:26:44 +01:00
|
|
|
depends="${sourcepkg}>=${version}_${revision}"
|
2013-10-30 08:07:17 +01:00
|
|
|
short_desc+=" - development files"
|
2013-04-13 10:15:49 +02:00
|
|
|
pkg_install() {
|
|
|
|
vmove usr/include
|
|
|
|
vmove usr/lib/pkgconfig
|
2013-10-30 08:07:17 +01:00
|
|
|
vmove "usr/lib/*.so"
|
2013-04-13 10:15:49 +02:00
|
|
|
}
|
|
|
|
}
|