# Template file for 'libopenshot-audio'
pkgname=libopenshot-audio
version=0.1.2
revision=3
build_style=cmake
hostmakedepends="doxygen"
makedepends="xorg-server-devel libXrandr-devel libXinerama-devel libXcursor-devel alsa-lib-devel"
short_desc="OpenShot audio library"
maintainer="Spencer Hill <spencernh77@gmail.com>"
license="GPL-3"
homepage="http://www.openshot.org"
distfiles="https://launchpad.net/libopenshot/0.1/${version}/+download/${pkgname}-${version}.tar.gz"
checksum=ec587ceed6b8d0d8de455b222fdb75832e67779e1a7b80925e86709353099e8a
create_wrksrc=yes

CXXFLAGS="-I${XBPS_CROSS_BASE}/usr/include/freetype2"

libopenshot-audio-devel_package() {
	short_desc+=" - development files"
	depends+=" ${sourcepkg}>=${version}_${revision}"
	pkg_install() {
		vmove usr/include
		vmove "usr/lib/*.so"
	}
}
