void-packages/srcpkgs/libopenshot/template

32 lines
1.0 KiB
Bash

# Template file for 'libopenshot'
pkgname=libopenshot
version=0.3.0
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 qt5-svg-devel"
depends="python3"
short_desc="Library files for the OpenShot video editor"
maintainer="Orphaned <orphan@voidlinux.org>"
license="LGPL-3.0-or-later"
homepage="https://github.com/OpenShot/libopenshot"
distfiles="https://github.com/OpenShot/libopenshot/archive/v${version}.tar.gz"
checksum=5b289432b1209f11fe60c17c07e9365ab62e3074dcc7d50996fc816dfe54a282
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
}
}