# Template file for 'libopenshot-audio'
pkgname=libopenshot-audio
version=0.1.7
revision=1
build_style=cmake
hostmakedepends="doxygen"
makedepends="alsa-lib-devel libXcursor-devel libXinerama-devel libXrandr-devel
 xorg-server-devel"
short_desc="OpenShot audio library"
maintainer="Spencer Hill <spencernh77@gmail.com>"
license="GPL-3.0-or-later"
homepage="https://github.com/OpenShot/libopenshot-audio"
distfiles="https://github.com/OpenShot/libopenshot-audio/archive/v${version}.tar.gz"
checksum=3aa6dcfc5caaa409cfa63db206d3f6f7e25854642e796915e9ac8fdf9dbc9a3f

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"
	}
}
