2011-10-26 22:26:07 +00:00
|
|
|
# Template file for 'libopenal'
|
|
|
|
pkgname=libopenal
|
2012-12-08 16:22:32 +00:00
|
|
|
version=1.15
|
2014-04-04 23:00:11 +00:00
|
|
|
revision=5
|
2011-10-26 22:26:07 +00:00
|
|
|
build_style=cmake
|
2012-12-08 16:22:32 +00:00
|
|
|
wrksrc="openal-soft-${version}"
|
2011-10-26 22:26:07 +00:00
|
|
|
short_desc="A cross-platform 3D audio library"
|
|
|
|
maintainer="davehome <davehome@redthumb.info.tm>"
|
|
|
|
license="LGPL-2.1"
|
2012-12-08 16:22:32 +00:00
|
|
|
homepage="http://connect.creativelabs.com/openal/default.aspx"
|
|
|
|
distfiles="http://kcat.strangesoft.net/openal-releases/openal-soft-${version}.tar.bz2"
|
|
|
|
checksum=bf58ecaf178339e86db00403b6d5c6408c9a3dfd3a077b43ac5432c52b63702d
|
2011-10-26 22:26:07 +00:00
|
|
|
|
2013-04-13 08:15:49 +00:00
|
|
|
hostmakedepends="pkg-config cmake"
|
2013-10-30 07:07:17 +00:00
|
|
|
makedepends="alsa-lib-devel pulseaudio-devel SDL-devel ffmpeg-devel>=2.1"
|
2014-01-01 15:10:11 +00:00
|
|
|
# dlopen(3)d dependencies
|
|
|
|
depends="alsa-lib libpulseaudio SDL"
|
2011-10-26 22:26:07 +00:00
|
|
|
|
2013-04-13 08:15:49 +00:00
|
|
|
libopenal-devel_package() {
|
2014-02-20 17:26:44 +00:00
|
|
|
depends="${sourcepkg}>=${version}_${revision}"
|
2013-10-30 07:07:17 +00:00
|
|
|
short_desc+=" - development files"
|
2013-04-13 08:15:49 +00:00
|
|
|
pkg_install() {
|
|
|
|
vmove usr/include
|
|
|
|
vmove usr/lib/pkgconfig
|
2013-10-30 07:07:17 +00:00
|
|
|
vmove "usr/lib/*.so"
|
2013-04-13 08:15:49 +00:00
|
|
|
}
|
|
|
|
}
|