community/element to 0.46.6-1

This commit is contained in:
Kevin Mihelich 2022-07-20 12:41:35 +00:00
parent 622bc29f03
commit 4577334d21

View file

@ -6,7 +6,8 @@
highmem=1
pkgname=element
pkgver=0.46.5
_commit=70135d89febc8bd3a46ad874b8338350ec5e9c49 # refs/tags/0.46.6
pkgver=0.46.6
pkgrel=1
pkgdesc="A modular LV2/VST3 audio plugin host"
arch=(x86_64)
@ -22,16 +23,19 @@ optdepends=('lua: for LUA scripting')
provides=(ladspa-host lv2-host vst3-host)
options=(!distcc debug)
source=(
git+https://github.com/kushview/$pkgname#tag=$pkgver?signed
git+https://github.com/kushview/$pkgname#tag=$_commit?signed
git+https://github.com/kushview/kv-modules
git+https://github.com/kushview/JUCE.git
git+https://github.com/kushview/JUCE
git+https://github.com/lvtk/jlv2
git+https://github.com/kushview/lua-kv
)
sha512sums=('SKIP'
'SKIP'
'SKIP'
'SKIP'
'SKIP')
b2sums=('SKIP'
'SKIP'
'SKIP'
'SKIP'
'SKIP')
@ -40,20 +44,26 @@ validpgpkeys=('52CB000FABB9DBE345CD478980A5F4BE60360CDE') # Michael Fisher <mfis
prepare() {
cd $pkgname
git submodule init
git submodule deinit "libs/JUCE"
git config submodule.libs/kv.url "$srcdir/kv-modules"
git config submodule.libs/JUCE.url "$srcdir/JUCE"
git config submodule.libs/jlv2.url "$srcdir/jlv2"
git config submodule.libs/lua-kv.url "$srcdir/lua-kv"
git submodule update
rm -frv waflib
}
build() {
cd $pkgname
export LINKFLAGS="$LDFLAGS"
waf configure --prefix=/usr \
--enable-docking \
--test
CFLAGS+=" -I/usr/share/juce/modules/"
cd $pkgname
waf configure \
--prefix=/usr \
--enable-docking \
--juce-path "/usr/share/juce/modules/" \
--test
waf build -vv
}