diff options
author | Christopher Arndt | 2018-11-11 17:01:26 +0100 |
---|---|---|
committer | Christopher Arndt | 2018-11-11 17:01:26 +0100 |
commit | ab3d631320e4b4483290fb6170df83eec16c5e40 (patch) | |
tree | 029c1549c172ae62ec81b8883ca5944ad98fcdcc | |
parent | f72503e9f33616f64f0ecb4341430538aa0ec710 (diff) | |
download | aur-ab3d631320e4b4483290fb6170df83eec16c5e40.tar.gz |
Fix compilation error due to use of deprecated 'pow10f' function
Signed-off-by: Christopher Arndt <chris@chrisarndt.de>
-rw-r--r-- | .SRCINFO | 7 | ||||
-rw-r--r-- | PKGBUILD | 17 |
2 files changed, 16 insertions, 8 deletions
@@ -1,13 +1,14 @@ pkgbase = caps-lv2-git pkgdesc = The LADSPA C* Audio Plugin Suite (LV2 port) - pkgver = 0.9.24.r142.cc8241f - pkgrel = 2 + pkgver = 0.9.24.r153.072e2fe + pkgrel = 1 url = http://quitte.de/dsp/caps.html arch = i686 arch = x86_64 groups = lv2-plugins license = GPL3 - makedepends = lv2 + makedepends = python + depends = lv2 provides = caps-lv2 conflicts = caps-lv2 source = caps-lv2::git+https://github.com/moddevices/caps-lv2.git @@ -2,17 +2,17 @@ _pkgname=caps-lv2 pkgname="${_pkgname}-git" -pkgver=0.9.24.r142.cc8241f -pkgrel=2 +pkgver=0.9.24.r153.072e2fe +pkgrel=1 pkgdesc="The LADSPA C* Audio Plugin Suite (LV2 port)" arch=('i686' 'x86_64') url="http://quitte.de/dsp/caps.html" license=('GPL3') -depends=() +depends=('lv2') provides=("${_pkgname}") conflicts=("${_pkgname}") groups=('lv2-plugins') -makedepends=('lv2') +makedepends=('python') source=("${_pkgname}::git+https://github.com/moddevices/caps-lv2.git") md5sums=('SKIP') @@ -30,10 +30,17 @@ __EOF__ echo $(./version).r$(git rev-list --count HEAD).$(git rev-parse --short HEAD) } +prepare() { + cd "${srcdir}/${_pkgname}" + + # Replace deprecated 'pow10f' function + sed -i -e 's/pow10f/exp10f/g' dsp/v4f_IIR2.h +} build() { cd "${srcdir}/${_pkgname}" + python configure.py make PREFIX=/usr } @@ -42,7 +49,7 @@ package() { unset LV2_PATH make PREFIX=/usr DESTDIR="$pkgdir" install - rm -rf "$pkgdir"/usr/lib/lv2/mod-caps-*.lv2/modgui* + #rm -rf "$pkgdir"/usr/lib/lv2/mod-caps-*.lv2/modgui* } # vim:set ts=2 sw=2 et: |