30 lines
899 B
Bash
30 lines
899 B
Bash
# Template file for 'libopenshot-audio'
|
|
pkgname=libopenshot-audio
|
|
version=0.2.2
|
|
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=66bedfda0d8d430598b21bc2dde6c0016a758a6c83467d0273a9d692de10baaf
|
|
|
|
if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then
|
|
makedepends+=" libatomic-devel"
|
|
CXXFLAGS+=" -latomic "
|
|
fi
|
|
|
|
libopenshot-audio-devel_package() {
|
|
short_desc+=" - development files"
|
|
depends+=" ${sourcepkg}>=${version}_${revision} alsa-lib-devel zlib-devel"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove usr/lib/cmake
|
|
vmove "usr/lib/*.so"
|
|
}
|
|
}
|