Advertisement
Guest User

Untitled

a guest
Oct 24th, 2021
109
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.55 KB | None | 0 0
  1. pkgname=bespokesynth-git
  2. pkgdesc="Software modular synth with controllers support, scripting and VST"
  3. pkgver=1.0.0.r102.gc7e46fc
  4. pkgrel=1
  5. arch=('x86_64')
  6. url="https://www.bespokesynth.com"
  7. license=('GPL3')
  8. depends=('alsa-lib' 'curl' 'freetype2' 'gtk3' 'jack' 'libgl' 'libusb' 'python' 'webkit2gtk')
  9. makedepends=('cmake' 'git')
  10. provides=("${pkgname%-git}")
  11. conflicts=("${pkgname%-git}")
  12. source=('git+https://github.com/BespokeSynth/BespokeSynth.git'
  13. 'git+https://github.com/juce-framework/JUCE.git'
  14. 'git+https://github.com/pybind/pybind11.git'
  15. 'git+https://github.com/surge-synthesizer/tuning-library.git'
  16. 'git+https://github.com/ODDSound/MTS-ESP.git')
  17. sha256sums=('SKIP'
  18. 'SKIP'
  19. 'SKIP'
  20. 'SKIP'
  21. 'SKIP')
  22.  
  23. pkgver() {
  24. cd "$srcdir/BespokeSynth"
  25. git describe --long --tags | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
  26. }
  27.  
  28. prepare() {
  29. cd "$srcdir/BespokeSynth"
  30.  
  31. for submodule in JUCE pybind11 tuning-library; do
  32. git submodule init "libs/${submodule}"
  33. git config submodule."${submodule}".url "$srcdir/${submodule}"
  34. done
  35.  
  36. git submodule init libs/oddsound-mts/MTS-ESP
  37. git config submodule.MTS-ESP.url "$srcdir/MTS-ESP"
  38.  
  39. git submodule init libs/json/jsoncpp
  40.  
  41. git submodule update
  42. }
  43.  
  44. build() {
  45. cmake -B ignore/build -S "BespokeSynth" \
  46. -DCMAKE_BUILD_TYPE='None' \
  47. -DCMAKE_INSTALL_PREFIX='/usr' \
  48. -Wno-dev
  49. cmake --build ignore/build --parallel 4
  50. make -C ignore/build
  51. }
  52.  
  53. package() {
  54. make -C ignore/build DESTDIR="$pkgdir" install
  55. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement