aboutsummaryrefslogtreecommitdiff
path: root/srcpkgs/libopenshot/template
blob: 8e57c5f592169c8544d0ad475799f1953dd0c6aa (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# Template file for 'libopenshot'
pkgname=libopenshot
version=0.3.0
revision=3
build_style=cmake
# Builds fail with Ruby-2.4.1
configure_args="-DENABLE_RUBY=OFF -DUSE_SYSTEM_JSONCPP=ON"
hostmakedepends="swig doxygen ruby python3 python3-setuptools 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
	}
}