# Template file for 'libopenshot-audio'
pkgname=libopenshot-audio
version=0.4.0
revision=1
build_style=cmake
hostmakedepends="doxygen"
makedepends="alsa-lib-devel libXcursor-devel libXinerama-devel libXrandr-devel
 xorg-server-devel zlib-devel"
short_desc="OpenShot audio library"
maintainer="Orphaned <orphan@voidlinux.org>"
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=1abdedf9c8686c972c42225a283f518ed2ade445c2e454996b6709d8cc8d1704

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

libopenshot-audio-doc_package() {
	short_desc+=" - documentation"
	pkg_install() {
		vmove usr/share/doc
	}
}
