Skip to content
Permalink
packages/vst3s…
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Go to file
Add patch for gcc >= 13: steinbergmedia/vst3sdk#112
Apply VCS packaging guidelines (for submodules).
Move sources to /usr/src/vst3sdk (which appears to be more appropriate).

git-svn-id: file:///srv/repos/svn-community/svn@1459387 9fca08f4-af9d-4005-b8df-a31f2cc04f65
1 contributor

Users who have contributed to this file

# Maintainer: David Runge <dvzrv@archlinux.org>
pkgbase=vst3sdk
pkgname=(vst3sdk vst3sdk-docs)
pkgver=3.7.7_build_19
_commit=358b72ee61bc67fb4592b0d492e0c6a1211ebf11 # 3.7.7_build_19
pkgrel=1
pkgdesc="VST 3 Plug-In SDK"
arch=(any)
url="https://github.com/steinbergmedia/vst3sdk"
license=(GPL3)
makedepends=(git rsync)
# upstream does not provide proper tarballs:
# https://github.com/steinbergmedia/vst3sdk/issues/65
source=(
git+https://github.com/steinbergmedia/$pkgname#commit=$_commit
git+https://github.com/steinbergmedia/vst3_base
git+https://github.com/steinbergmedia/vst3_cmake
git+https://github.com/steinbergmedia/vst3_doc
git+https://github.com/steinbergmedia/vst3_pluginterfaces
git+https://github.com/steinbergmedia/vst3_public_sdk
git+https://github.com/steinbergmedia/vstgui
$pkgname.pc
$pkgname-3.7.7_build_19-public_sdk_gcc13.patch # https://github.com/steinbergmedia/vst3sdk/issues/112
)
sha512sums=('SKIP'
'SKIP'
'SKIP'
'SKIP'
'SKIP'
'SKIP'
'SKIP'
'501dff8299ccf9aeba61a64331c3ac74ece89eee956bffff0e303653b566acfca5cba4957c8bafb883efe6cc78c34da64ec9870daf9f2c37e2734110b9cad1dd'
'0a110eb59709770f91b95049bf6ee151e5dcc1b8b63eb8016472b93bd34f4973a81d5491b55f9081e0e8d82588ad951b09afd1d0d3cf6f6967ea606b8fed881b')
b2sums=('SKIP'
'SKIP'
'SKIP'
'SKIP'
'SKIP'
'SKIP'
'SKIP'
'e39e1353fdc22f7d93b6f89f8242fafddd56422a03df1cb26e81a3874456c49029a3726b43223fe21231eff6fe240e1216f3dca36a0e5297c9c0d43ab390bcd9'
'7671532b2cd7659266c99844faf8756bcc78b403fd85eae458f5a9084e50741d70b75effb71321c2ca5d244f36baf5dcf147613a7f7441c1319455da61a9cb88')
prepare() {
# upstream does not provide a pkg-config integration:
# https://github.com/steinbergmedia/vst3sdk/issues/68
sed -e "s/VERSION/$pkgver/" -i $pkgname.pc
cd $pkgname
git submodule init
git config submodule.base.url ../vst3_base
git config submodule.cmake.url ../vst3_cmake
git config submodule.doc.url ../vst3_doc
git config submodule.pluginterfaces.url ../vst3_pluginterfaces
git config submodule.public.sdk.url ../vst3_public_sdk
git config submodule.vstgui4.url ../vstgui
git -c protocol.file.allow=always submodule update
(
cd public.sdk
git apply -3 ../../$pkgname-3.7.7_build_19-public_sdk_gcc13.patch
)
}
package_vst3sdk() {
license+=(BSD)
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 cmake/modules/*.cmake -t "$pkgdir/usr/lib/cmake/$pkgname/"
}
package_vst3sdk-docs() {
pkgdesc+=" - documentation"
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/"
}