git » suil.git » commit 05c6254

upgpkg: 0.10.20-1

author David Runge
2023-10-26 07:14:17 UTC
committer David Runge
2023-10-26 07:14:17 UTC
parent 10341aa328c29db4de9259598f567949af00c952

upgpkg: 0.10.20-1

Update SPDX license identifiers of project.

.SRCINFO +39 -0
PKGBUILD +26 -10

diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 0000000..4d2b560
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,39 @@
+pkgbase = suil
+	pkgdesc = A lightweight C library for loading and wrapping LV2 plugin UIs
+	pkgver = 0.10.20
+	pkgrel = 1
+	url = https://drobilla.net/software/suil.html
+	arch = x86_64
+	license = 0BSD OR ISC
+	makedepends = doxygen
+	makedepends = gtk2
+	makedepends = gtk3
+	makedepends = lv2
+	makedepends = meson
+	makedepends = python-sphinx
+	makedepends = python-sphinx-lv2-theme
+	makedepends = python-sphinxygen
+	makedepends = qt5-base
+	makedepends = qt5-x11extras
+	source = https://download.drobilla.net/suil-0.10.20.tar.xz
+	source = https://download.drobilla.net/suil-0.10.20.tar.xz.sig
+	validpgpkeys = 907D226E7E13FA337F014A083672782A9BF368F3
+	sha512sums = fb3735d0856c826f46ad2334b6965f4116df2fa3132d10bdfcd2b2d39f8e40142801ce3f352425845adfac90bf4a60d76d09fdf0a99b2cec82faa0f5f127c3f8
+	sha512sums = SKIP
+	b2sums = 4ce6dcba544b4fb606d2b97dd347e5098cd1373643059fe80e2a7f9d7022432063e4391017e106a4092056999dcb7b99729339536c4c73cdaa5a3f091f1100ee
+	b2sums = SKIP
+
+pkgname = suil
+	depends = gcc-libs
+	depends = glibc
+	depends = lv2
+	optdepends = glib2: support for wrapping X11 and Qt5 in GTK3 and GTK2
+	optdepends = gtk2: support for wrapping X11 and Qt5 in GTK2 and GTK2 in Qt5
+	optdepends = gtk3: support for wrapping X11 and Qt5 in GTK3
+	optdepends = libx11: support for wrapping X11 directly and in GTK3 and GTK2
+	optdepends = qt5-base: support for wrapping X11 in Qt5 and Qt5 in GTK3 and GTK2
+	optdepends = qt5-x11extras: support for wrapping X11 in Qt5
+	provides = libsuil-0.so
+
+pkgname = suil-docs
+	pkgdesc = A lightweight C library for loading and wrapping LV2 plugin UIs - documentation
diff --git a/PKGBUILD b/PKGBUILD
index 8508379..e65d93f 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,18 +3,29 @@
 # Contributor: speps <speps at aur dot archlinux dot org>
 
 pkgbase=suil
-pkgname=(suil suil-docs)
-pkgver=0.10.18
+pkgname=(suil{,-docs})
+pkgver=0.10.20
 pkgrel=1
 pkgdesc="A lightweight C library for loading and wrapping LV2 plugin UIs"
 arch=(x86_64)
 url="https://drobilla.net/software/suil.html"
-license=(ISC)
-makedepends=(doxygen gtk2 gtk3 lv2 meson python-sphinx python-sphinx-lv2-theme qt5-base qt5-x11extras)
+license=('0BSD OR ISC')
+makedepends=(
+  doxygen
+  gtk2
+  gtk3
+  lv2
+  meson
+  python-sphinx
+  python-sphinx-lv2-theme
+  python-sphinxygen
+  qt5-base
+  qt5-x11extras
+)
 source=(https://download.drobilla.net/$pkgname-$pkgver.tar.xz{,.sig})
-sha512sums=('2c4630ef37f13c0e344eadfc8fdcfe70538abdabad1ad0865c43f9f5947fdbc3bdf56bb90e7a58f20d3e641ab9b7a7a670799920aca04374d7c992c52b93f8f3'
+sha512sums=('fb3735d0856c826f46ad2334b6965f4116df2fa3132d10bdfcd2b2d39f8e40142801ce3f352425845adfac90bf4a60d76d09fdf0a99b2cec82faa0f5f127c3f8'
             'SKIP')
-b2sums=('739a25fa46227f0316a25efe0741f303698869f41322d525670589ad01f951bc52155a638f15b20ce715e14cb42a01fb022f60426c44abe05d988c679d27f604'
+b2sums=('4ce6dcba544b4fb606d2b97dd347e5098cd1373643059fe80e2a7f9d7022432063e4391017e106a4092056999dcb7b99729339536c4c73cdaa5a3f091f1100ee'
         'SKIP')
 validpgpkeys=('907D226E7E13FA337F014A083672782A9BF368F3') # David Robillard <d@drobilla.net>
 
@@ -38,7 +49,11 @@ check() {
 }
 
 package_suil() {
-  depends=(gcc-libs glibc)
+  depends=(
+    gcc-libs
+    glibc
+    lv2
+  )
   optdepends=(
     'glib2: support for wrapping X11 and Qt5 in GTK3 and GTK2'
     'gtk2: support for wrapping X11 and Qt5 in GTK2 and GTK2 in Qt5'
@@ -52,10 +67,10 @@ package_suil() {
   meson install -C build --destdir "$pkgdir"
   (
     cd "$pkgdir"
-    _pick $pkgname-docs usr/share/doc
+    _pick $pkgbase-docs usr/share/doc
   )
-  install -vDm 644 $pkgname-$pkgver/COPYING -t "$pkgdir/usr/share/licenses/$pkgname/"
-  install -vDm 644 $pkgname-$pkgver/{AUTHORS,NEWS,README.md} -t "$pkgdir/usr/share/doc/$pkgname/"
+  install -vDm 644 $pkgbase-$pkgver/LICENSES/* -t "$pkgdir/usr/share/licenses/$pkgname/"
+  install -vDm 644 $pkgbase-$pkgver/{AUTHORS,NEWS,README.md} -t "$pkgdir/usr/share/doc/$pkgname/"
 }
 
 package_suil-docs() {
@@ -64,4 +79,5 @@ package_suil-docs() {
   mv -v $pkgname/* "$pkgdir"
   mv -v "$pkgdir/usr/share/doc/$pkgbase"{-0,}
   find "$pkgdir" -type f -iname "*.buildinfo" -delete
+  install -vDm 644 $pkgbase-$pkgver/LICENSES/* -t "$pkgdir/usr/share/licenses/$pkgname/"
 }