# Template file for 'libopenshot'
pkgname=libopenshot
version=0.1.2
revision=6
build_style=cmake
only_for_archs="i686 x86_64"
pycompile_module="openshot.py"
hostmakedepends="swig doxygen ruby python3"
makedepends="python3-devel ffmpeg-devel libmagick-devel qt5-devel libgomp-devel
 libopenshot-audio-devel qt5-multimedia-devel ruby-devel x264-devel x265-devel unittest-cpp
 zeromq-devel"
depends="python3"
short_desc="Library files for the OpenShot video editor"
maintainer="Spencer Hill <spencernh77@gmail.com>"
license="GPL-3"
homepage="http://www.openshot.org"
distfiles="https://launchpad.net/${pkgname}/${version%.*}/${version}/+download/${pkgname}-${version}.tar.gz"
checksum=b1fec6404ca703fdd137ed58f58b05ceecf68d9f93649b32bee7d85f868ef220
create_wrksrc=yes

libopenshot-devel_package() {
	short_desc+=" - development files"
	pkg_install() {
		vmove usr/include
		vmove usr/lib/*.so
	}
}
