author | David Runge
<dvzrv@archlinux.org> 2019-11-11 20:04:44 UTC |
committer | David Runge
<dvzrv@archlinux.org> 2019-11-11 20:04:44 UTC |
parent | f12de1d682f129a28e4bf70684b6f891c85c26f8 |
PKGBUILD | +35 | -14 |
diff --git a/PKGBUILD b/PKGBUILD index 2ce254b..1097a29 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -1,20 +1,31 @@ -# Maintainer: David Runge <dave@sleepmap.de> +# Maintainer: David Runge <dvzrv@archlinux.org> # Contributor: Ray Rashif <schiv@archlinux.org> # Contributor: speps <speps at aur dot archlinux dot org> pkgname=suil -pkgver=0.10.4 +pkgver=0.10.6 pkgrel=1 pkgdesc="A lightweight C library for loading and wrapping LV2 plugin UIs" arch=('x86_64') url="https://drobilla.net/software/suil/" license=('custom:ISC') -makedepends=('gtk2' 'gtk3' 'lv2' 'python' 'qt5-base') -optdepends=('qt5-base: Qt5 UI wrapping support' - 'gtk2: GTK+ 2.x UI wrapping support' - 'gtk3: GTK+ 3.x UI wrapping support') +depends=('glibc') +makedepends=('gtk2' 'gtk3' 'lv2' 'python' 'qt5-base' 'waf') +optdepends=('atk: support for wrapping X11 and Qt5 in GTK2/3 and GTK2 in Qt5' + 'cairo: support for wrapping X11 and Qt5 in GTK2/3' + 'fontconfig: support for wrapping X11 and Qt5 in GTK2 and GTK2 in Qt5' + 'gcc-libs: support for wrapping GTK2 and X11 in Qt5 and Qt5 in GTK2/3' + 'gdk-pixbuf2: support for wrapping X11 and Qt5 in GTK2/3 and GTK2 in Qt5' + 'glib2: support for wrapping X11 and Qt5 in GTK2/3 and GTK2 in Qt5' + 'gtk2: support for wrapping X11 and Qt5 in GTK2 and GTK2 in Qt5' + 'gtk3: support for wrapping X11 and Qt5 in GTK3' + 'libfreetype.so: support for wrapping X11 and Qt5 in GTK2 and GTK2 in Qt5' + 'libx11: support for wrapping X11 directly and in GTK2/3' + 'qt5-base: support for wrapping X11 in Qt5, Qt5 in GTK2/3 and GTK2 in Qt5' + 'pango: support for wrapping X11 in GTK2/3, Qt5 in GTK2/3 and GTK2 in Qt5' + 'zlib: support for wrapping X11 in GTK3 and Qt5 in GTK3') source=("https://download.drobilla.net/${pkgname}-${pkgver}.tar.bz2"{,.sig}) -sha512sums=('1f5627541b86cbd8417c0b35b04b73340a3b2dbdd7b04314fdfa82baa8a7b0813c9c9914f805fcf233bcc8011b37efe99a06b6c47a3dda9606d6493edcba434f' +sha512sums=('b23ffe0c0ae25467b2cd60117a2efa8c13132c8e5612619e4c9ad2cc228b835f1c7fd384db62b74d4a327e3708f189b6a91f972756fcafe501308adb732c3b36' 'SKIP') validpgpkeys=('907D226E7E13FA337F014A083672782A9BF368F3') # David Robillard @@ -22,23 +33,33 @@ prepare() { cd "${pkgname}-${pkgver}" # remove local call to ldconfig sed -i "/ldconfig/d" wscript + # let wscript(s) find the custom waf scripts + mkdir -pv tools + touch __init__.py + cp -v waflib/extras/{autoship,autowaf,lv2}.py tools/ + mkdir -pv plugins/tools/ + cp -v waflib/extras/{autoship,autowaf,lv2}.py plugins/tools/ + rm -rv waflib + sed -e 's/waflib.extras/tools/g' \ + -e "s/load('autowaf'/load('autowaf', tooldir='tools'/g" \ + -e "s/load('lv2'/load('lv2', tooldir='tools'/g" \ + -i wscript } build() { cd "${pkgname}-${pkgver}" - python waf configure --prefix=/usr - python waf build + waf configure --prefix=/usr + waf build } package() { cd "${pkgname}-${pkgver}" - python waf install --destdir="${pkgdir}" + waf install --destdir="${pkgdir}" # license install -vDm 644 COPYING \ - "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" + -t "${pkgdir}/usr/share/licenses/${pkgname}" # docs - install -t "$pkgdir/usr/share/doc/${pkgname}" \ - -vDm 644 {AUTHORS,NEWS,PACKAGING,README.md} + install -vDm 644 {AUTHORS,NEWS,PACKAGING,README.md} \ + -t "$pkgdir/usr/share/doc/${pkgname}" } - # vim:set ts=2 sw=2 et: