Date: Friday, November 18, 2022 @ 18:55:41 Author: dvzrv Revision: 1349580
upgpkg: bchoppr 1.12.0-1: Upgrade to 1.12.0. Remove unnecessary quotes and curly braces. Add debug package. Move adding of lv2-host dependency to package() so fewer dependencies are pulled during build. File upstream ticket about failing lv2lint (likely due to changes in gcc): https://github.com/sjaehn/BChoppr/issues/15 Modified: bchoppr/trunk/PKGBUILD ----------+ PKGBUILD | 44 +++++++++++++++++++++----------------------- 1 file changed, 21 insertions(+), 23 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2022-11-18 18:17:15 UTC (rev 1349579) +++ PKGBUILD 2022-11-18 18:55:41 UTC (rev 1349580) @@ -2,38 +2,36 @@ _name=BChoppr pkgname=bchoppr -pkgver=1.10.10 +pkgver=1.12.0 pkgrel=1 pkgdesc="An audio stream chopping LV2 plugin" -arch=('x86_64') +arch=(x86_64) url="https://github.com/sjaehn/BChoppr" -license=('GPL3') -groups=('lv2-plugins' 'pro-audio') -depends=('cairo' 'gcc-libs' 'glibc' 'libx11' 'lv2-host') -makedepends=('lv2') -checkdepends=('lv2lint') -source=("$pkgname-$pkgver.tar.gz::https://github.com/sjaehn/${_name}/archive/${pkgver}.tar.gz") -sha512sums=('6c4f06579125a69e264ec4d4e6c50f7868e9fb66125e9e79c7b9e636a3026e62a9d02a430e35fde9323e07f354876699b93d883c2c9f0f8080635aa08d353a46') -b2sums=('b4f76598a3be321098daca3f103f914770f6636baf81d437fef8f84f5026b393e58521edca458f2af5e5f9a378ed0e9c84db94a799f1d6bb937662981a6d1eb9') +license=(GPL3) +groups=(lv2-plugins pro-audio) +depends=(cairo gcc-libs glibc libx11) +makedepends=(lv2) +checkdepends=(lv2lint) +options=(debug) +source=($pkgname-$pkgver.tar.gz::https://github.com/sjaehn/$_name/archive/$pkgver.tar.gz) +sha512sums=('a2169757e9dbbbff6445dadd8d697f698667ca1cdcd5f3d15a48b95f808bde46ef96b98acb42368e25846e78103d02b1c6c6d0d430ab8e66073239225503e707') +b2sums=('5287558cc68bbcece984976e638a61344d7d59f11209aba16c731ea87422d1edc0dcd3750a7150e050ad393eb15850898fafa81ce140224f3e798ae4222b984b') -prepare() { - mv -v "${_name}-${pkgver}" "$pkgname-$pkgver" -} - build() { - cd "$pkgname-$pkgver" - make PREFIX='/usr' + make PREFIX=/usr -C $_name-$pkgver } check() { - cd "$pkgname-$pkgver" - lv2lint -Mpack -I "${PWD}/${_name}.lv2/" "https://www.jahnichen.de/plugins/lv2/${_name}" + cd $_name-$pkgver + # ignore symbols that cause issues with higher versions of gcc: https://github.com/sjaehn/BChoppr/issues/15 + lv2lint -Mpack -s "*basic_string*" -s "*codecvt_utf8*" -I "$PWD/$_name.lv2/" "https://www.jahnichen.de/plugins/lv2/$_name" } package() { - cd "$pkgname-$pkgver" - make DESTDIR="${pkgdir}" PREFIX='/usr' install - install -vDm 644 README.md -t "${pkgdir}/usr/share/doc/${pkgname}" - # remove useless license file - find "${pkgdir}/usr/lib/" -type f -iname "*LICENSE*" -delete + depends+=(lv2-host) + + make DESTDIR="$pkgdir" PREFIX=/usr install -C $_name-$pkgver + install -vDm 644 $_name-$pkgver/README.md -t "$pkgdir/usr/share/doc/$pkgname/" + # remove license file + find "$pkgdir/usr/lib/" -type f -iname "*LICENSE*" -delete }
