32 lines
1005 B
Bash
32 lines
1005 B
Bash
# Template file for 'libopenshot-audio'
|
|
pkgname=libopenshot-audio
|
|
version=0.1.8
|
|
revision=2
|
|
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
|
|
https://patch-diff.githubusercontent.com/raw/OpenShot/libopenshot-audio/pull/39.patch"
|
|
checksum="384d0ef39c78f16d77048de3c96152321724084f978dc622675dd6bb16e15e19
|
|
ae784a96730f7cf09ba7bf29d06704ba6a0eca662d242d786b0a86a4343e9dc9"
|
|
|
|
CXXFLAGS="-I${XBPS_CROSS_BASE}/usr/include/freetype2"
|
|
|
|
post_extract() {
|
|
patch -p1 <../39.patch
|
|
}
|
|
|
|
libopenshot-audio-devel_package() {
|
|
short_desc+=" - development files"
|
|
depends+=" ${sourcepkg}>=${version}_${revision}"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove "usr/lib/*.so"
|
|
}
|
|
}
|