[skip-ci] suil: update to 0.10.0, switch to Qt5

This commit is contained in:
Jeff Huang 2018-10-22 05:52:13 +02:00
parent 0c3a2335ae
commit 7032767045

View File

@ -1,31 +1,34 @@
pkgname=suil pkgname=suil
pkgver=0.8.2 pkgver=0.10.0
pkgrel=2 pkgrel=1
pkgdesc="A lightweight C library for loading and wrapping LV2 plugin UIs" pkgdesc="A lightweight C library for loading and wrapping LV2 plugin UIs"
arch=('x86_64') arch=('x86_64')
url="http://drobilla.net/software/suil/" url="https://drobilla.net/software/suil/"
license=('custom:ISC') license=('custom:ISC')
depends=('lv2' 'qt4') depends=('lv2' 'qt5-base')
makedepends=('python2') makedepends=('python2')
source=("http://download.drobilla.net/$pkgname-$pkgver.tar.bz2") source=("https://download.drobilla.net/$pkgname-$pkgver.tar.bz2")
md5sums=('1b06947b1fc028f9ffcbc16d30065aa5') sha256sums=('9895c531f80c7e89a2b4b47de589d73b70bf48db0b0cfe56e5d54237ea4b8848')
prepare() {
cd "${pkgname}-${pkgver}"
# remove local call to ldconfig
sed -i "/ldconfig/d" wscript
}
build() { build() {
cd "$srcdir/$pkgname-$pkgver" cd "${pkgname}-${pkgver}"
# remove ldconfig --speps
sed -i "/ldconfig/d" wscript
python2 waf configure --prefix=/usr python2 waf configure --prefix=/usr
python2 waf build $MAKEFLAGS python2 waf build
} }
package() { package() {
cd "$srcdir/$pkgname-$pkgver" cd "${pkgname}-${pkgver}"
python2 waf install --destdir="${pkgdir}"
python2 waf install --destdir="$pkgdir"
# license # license
install -Dm644 COPYING \ install -vDm 644 COPYING \
"$pkgdir/usr/share/licenses/$pkgname/LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
# docs
install -t "$pkgdir/usr/share/doc/${pkgname}" \
-vDm 644 {AUTHORS,NEWS,PACKAGING,README}
} }