void-packages/srcpkgs/libopenshot-audio/template

30 lines
867 B
Bash

# Template file for 'libopenshot-audio'
pkgname=libopenshot-audio
version=0.2.0
revision=1
build_style=cmake
hostmakedepends="doxygen"
makedepends="alsa-lib-devel libXcursor-devel libXinerama-devel libXrandr-devel
xorg-server-devel"
short_desc="OpenShot audio library"
maintainer="Spencer Hill <spencernh77@gmail.com>"
license="GPL-3.0-or-later"
homepage="https://github.com/OpenShot/libopenshot-audio"
distfiles="https://github.com/OpenShot/libopenshot-audio/archive/v${version}.tar.gz"
checksum=937ff4f1c2dfb8ab5d56ad85beacaa29dfd5a79af0d9cf647386034fe9882309
patch_args=-Np0
if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then
makedepends+=" libatomic-devel"
CXXFLAGS+=" -latomic "
fi
libopenshot-audio-devel_package() {
short_desc+=" - development files"
depends+=" ${sourcepkg}>=${version}_${revision}"
pkg_install() {
vmove usr/include
vmove "usr/lib/*.so"
}
}