# Template file for 'libopenshot'
pkgname=libopenshot
version=0.2.2
revision=2
build_style=cmake
only_for_archs="i686 x86_64"
pycompile_module="openshot.py"
configure_args="-DENABLE_RUBY=OFF -DUSE_SYSTEM_JSONCPP=ON" # Builds fail with Ruby-2.4.1
hostmakedepends="swig doxygen ruby python3"
makedepends="python3-devel ffmpeg-devel libmagick-devel qt5-devel libgomp-devel
 libopenshot-audio-devel qt5-multimedia-devel unittest-cpp zeromq-devel cppzmq
 jsoncpp-devel"
depends="python3"
short_desc="Library files for the OpenShot video editor"
maintainer="Spencer Hill <spencernh77@gmail.com>"
license="LGPL-3.0-or-later"
homepage="https://github.com/OpenShot/libopenshot"
distfiles="https://github.com/OpenShot/libopenshot/archive/v${version}.tar.gz"
checksum=3f92d42b9fdb66e62429a076678b1feae7de06751efc4217347a78282e86f0cc

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