void-packages/srcpkgs/libopenshot/template

32 lines
1.0 KiB
Bash

# Template file for 'libopenshot'
pkgname=libopenshot
version=0.2.7
revision=2
build_style=cmake
# Builds fail with Ruby-2.4.1
configure_args="-DENABLE_RUBY=OFF -DUSE_SYSTEM_JSONCPP=ON"
hostmakedepends="swig doxygen ruby python3 pkg-config qt5-qmake qt5-host-tools"
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=568eab6d69d469c5f745f0e25387ca5e000f7c28be48417b0d7770577ac74a28
if [ "$XBPS_TARGET_LIBC" = musl ]; then
makedepends+=" libexecinfo-devel"
LIBS="-lexecinfo"
fi
libopenshot-devel_package() {
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/*.so
}
}