31 lines
906 B
Bash
31 lines
906 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
|
|
|
|
CXXFLAGS="-I${XBPS_CROSS_BASE}/usr/include/freetype2"
|
|
|
|
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"
|
|
}
|
|
}
|