git » vst3sdk.git » commit beb781e

upgpkg: 3.7.10_build_14-1

author David Runge
2024-02-21 12:40:43 UTC
committer David Runge
2024-02-21 12:40:43 UTC
parent 7e9562a5e188520d160a6a6d339c23ada73bcfd1

upgpkg: 3.7.10_build_14-1

Extract licenses from subprojects to be more specific what applies to what.
Remove unnecessary quotes and curly braces.

.SRCINFO +5 -5
PKGBUILD +13 -8

diff --git a/.SRCINFO b/.SRCINFO
index 20141bf..94edb4e 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,13 +1,13 @@
 pkgbase = vst3sdk
 	pkgdesc = VST 3 Plug-In SDK
-	pkgver = 3.7.9_build_61
+	pkgver = 3.7.10_build_14
 	pkgrel = 1
 	url = https://github.com/steinbergmedia/vst3sdk
 	arch = any
-	license = GPL3
+	license = LicenseRef-Proprietary-Steinberg-VST3-License OR GPL-3.0-only
 	makedepends = git
 	makedepends = rsync
-	source = git+https://github.com/steinbergmedia/vst3sdk#commit=dfff2e399c1a638bd7f5e334440a61e7262eed3f
+	source = git+https://github.com/steinbergmedia/vst3sdk#commit=e9895dc9ef20bedd93a0fde5ad664bc8b56d4338
 	source = git+https://github.com/steinbergmedia/vst3_base
 	source = git+https://github.com/steinbergmedia/vst3_cmake
 	source = git+https://github.com/steinbergmedia/vst3_doc
@@ -39,8 +39,8 @@ pkgbase = vst3sdk
 	b2sums = e39e1353fdc22f7d93b6f89f8242fafddd56422a03df1cb26e81a3874456c49029a3726b43223fe21231eff6fe240e1216f3dca36a0e5297c9c0d43ab390bcd9
 
 pkgname = vst3sdk
-	license = GPL3
-	license = BSD
+	license = LicenseRef-Proprietary-Steinberg-VST3-License OR GPL-3.0-only
+	license = BSD-3-Clause
 
 pkgname = vst3sdk-docs
 	pkgdesc = VST 3 Plug-In SDK - documentation
diff --git a/PKGBUILD b/PKGBUILD
index 5633872..9cee6e7 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,13 +3,13 @@
 
 pkgbase=vst3sdk
 pkgname=(vst3sdk vst3sdk-docs)
-pkgver=3.7.9_build_61
-_commit=dfff2e399c1a638bd7f5e334440a61e7262eed3f  # v3.7.9_build_61
+pkgver=3.7.10_build_14
+_commit=e9895dc9ef20bedd93a0fde5ad664bc8b56d4338  # refs/tags/v3.7.10_build_14
 pkgrel=1
 pkgdesc="VST 3 Plug-In SDK"
 arch=(any)
 url="https://github.com/steinbergmedia/vst3sdk"
-license=(GPL3)
+license=('LicenseRef-Proprietary-Steinberg-VST3-License OR GPL-3.0-only')
 makedepends=(git rsync)
 # upstream does not provide proper tarballs:
 # https://github.com/steinbergmedia/vst3sdk/issues/65
@@ -22,7 +22,7 @@ source=(
   git+https://github.com/steinbergmedia/vst3_public_sdk
   git+https://github.com/steinbergmedia/vstgui
   git+https://github.com/steinbergmedia/vst3_tutorials
-  "vst3sdk-3.7.9_build_61-cmake-build-type-none.patch"
+  vst3sdk-3.7.9_build_61-cmake-build-type-none.patch
   $pkgname.pc
 )
 sha512sums=('SKIP'
@@ -70,25 +70,30 @@ prepare() {
   # the build currently fails for packages that set -DCMAKE_BUILD_TYPE other
   # than Debug, Release or ReleaseLTO as the release modes are hardcoded in
   # vst3sdk. This patch also adds support for build type "None"
-  patch --forward --strip=1 --dir=public.sdk --input="${srcdir}/vst3sdk-3.7.9_build_61-cmake-build-type-none.patch"
+  patch --forward --strip=1 --dir=public.sdk --input="$srcdir/vst3sdk-3.7.9_build_61-cmake-build-type-none.patch"
 }
 
 package_vst3sdk() {
-  license+=(BSD)
+  license+=(BSD-3-Clause)
 
   cd $pkgbase
   install -vDm 644 ../$pkgname.pc -t "$pkgdir/usr/lib/pkgconfig/"
   install -vdm 755 "$pkgdir/usr/src/$pkgname/"
   rsync -r --exclude doc --exclude .git --exclude .github --exclude .gitignore --exclude .gitattributes . "$pkgdir/usr/src/$pkgname/"
   install -vDm 644 LICENSE.txt -t "$pkgdir/usr/share/licenses/$pkgname/"
-  install -vDm 644 base/LICENSE.txt "$pkgdir/usr/share/licenses/$pkgname/LICENSE.base.txt"
-  install -vDm 644 public.sdk/LICENSE.txt "$pkgdir/usr/share/licenses/$pkgname/LICENSE.public.sdk.txt"
+  install -vDm 644 base/LICENSE.txt "$pkgdir/usr/share/licenses/$pkgname/vst3_base.BSD-3-Clause.txt"
+  install -vDm 644 cmake/LICENSE.txt "$pkgdir/usr/share/licenses/$pkgname/vst3_cmake.BSD-3-Clause.txt"
+  install -vDm 644 public.sdk/LICENSE.txt "$pkgdir/usr/share/licenses/$pkgname/vst3_public_sdk.BSD-3-Clause.txt"
+  install -vDm 644 vstgui4/LICENSE "$pkgdir/usr/share/licenses/$pkgname/vstgui.BSD-3-Clause.txt"
+
   install -vDm 644 cmake/modules/*.cmake -t "$pkgdir/usr/lib/cmake/$pkgname/"
 }
 
 package_vst3sdk-docs() {
   pkgdesc+=" - documentation"
 
+  install -vDm 644 $pkgbase/doc/LICENSE.txt "$pkgdir/usr/share/licenses/$pkgname/vst3_doc.LicenseRef-Proprietary-Steinberg-VST3-License.txt"
+
   install -vdm 755 "$pkgdir/usr/share/doc/$pkgname/"
   cd $pkgbase/doc
   rsync -r --exclude .git --exclude .github --exclude .gitignore --exclude .gitattributes . "$pkgdir/usr/share/doc/$pkgname/"