30 lines
899 B
Bash
30 lines
899 B
Bash
# Template file for 'libopenshot-audio'
|
|
pkgname=libopenshot-audio
|
|
version=0.3.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=007ba6ee812a58506341dd66055dba575b3907e5274a0e7416f99c2fbb80021c
|
|
|
|
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"
|
|
}
|
|
}
|