[arch-commits] Commit in element/trunk (PKGBUILD)
David Runge
dvzrv at archlinux.org
Mon Jun 28 17:14:11 UTC 2021
Date: Monday, June 28, 2021 @ 17:14:11
Author: dvzrv
Revision: 967722
upgpkg: element 0.46.0-3: Rebuild to fix build from source.
Apply upstreamed patch for GCC >= 11.0.0.
Add export of LINKFLAGS in build() to prevent overlinking:
https://bugs.archlinux.org/task/70975
Modified:
element/trunk/PKGBUILD
----------+
PKGBUILD | 22 +++++++++++++++-------
1 file changed, 15 insertions(+), 7 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2021-06-28 17:09:54 UTC (rev 967721)
+++ PKGBUILD 2021-06-28 17:14:11 UTC (rev 967722)
@@ -2,7 +2,7 @@
pkgname=element
pkgver=0.46.0
-pkgrel=2
+pkgrel=3
pkgdesc="A modular LV2/VST3 audio plugin host"
arch=('x86_64')
url="https://github.com/kushview/element"
@@ -16,13 +16,20 @@
optdepends=('lua: for LUA scripting')
provides=('ladspa-host' 'lv2-host' 'vst3-host')
source=("git+https://github.com/kushview/${pkgname}#tag=${pkgver}?signed"
+ "${pkgname}-0.46.0-gcc11.patch::https://github.com/kushview/Element/commit/6f06bd6f85f6920c2619853536934ade83ad9580.patch"
"git+https://github.com/kushview/kv-modules"
"git+https://github.com/WeAreRoli/JUCE.git"
"git+https://github.com/lvtk/jlv2")
-md5sums=('SKIP'
- 'SKIP'
- 'SKIP'
- 'SKIP')
+sha512sums=('SKIP'
+ 'ecf0c487f850dfd4e6b2d55075fab909ab5188da93337d9c6569b637b332cf552d09719f9ea5c0c886dd63bcbf178f239f1844b079027ed045ce2f018c12cd64'
+ 'SKIP'
+ 'SKIP'
+ 'SKIP')
+b2sums=('SKIP'
+ '72758391494ab6bbc0b3d856d939df90af6325c59f77de1c1945754328594daa7d53ae8c5546a26f6d88be16efabf3b2d6f6fe795fbc916fe0392c0545dfae34'
+ 'SKIP'
+ 'SKIP'
+ 'SKIP')
validpgpkeys=('52CB000FABB9DBE345CD478980A5F4BE60360CDE') # Michael Fisher <mfisher at kushview.net>
prepare() {
@@ -32,10 +39,12 @@
git config submodule.libs/JUCE.url "${srcdir}/JUCE"
git config submodule.libs/jlv2.url "${srcdir}/jlv2"
git submodule update
+ patch -Np1 -i ../"${pkgname}-0.46.0-gcc11.patch"
}
build() {
cd "$pkgname"
+ export LINKFLAGS="$LDFLAGS"
waf configure --prefix=/usr \
--enable-docking \
--test
@@ -49,8 +58,7 @@
package() {
depends+=('libasound.so' 'libcurl.so' 'libfreetype.so' 'libjack.so'
- 'liblilv-0.so' 'libreadline.so' 'libserd-0.so' 'libsord-0.so'
- 'libsratom-0.so' 'libsuil-0.so')
+ 'liblilv-0.so' 'libsuil-0.so')
cd "$pkgname"
waf install --destdir="${pkgdir}"
install -vDm 644 {AUTHORS,CODE_OF_CONDUCT,CONTRIBUTING,README}.md \
More information about the arch-commits
mailing list