[arch-commits] Commit in (4 files)

David Runge dvzrv at gemini.archlinux.org
Thu Dec 9 23:15:53 UTC 2021


    Date: Thursday, December 9, 2021 @ 23:15:53
  Author: dvzrv
Revision: 1065917

Add bespokesynth.

Added:
  bespokesynth/
  bespokesynth/repos/
  bespokesynth/trunk/
  bespokesynth/trunk/PKGBUILD

----------+
 PKGBUILD |   61 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 61 insertions(+)

Added: bespokesynth/trunk/PKGBUILD
===================================================================
--- bespokesynth/trunk/PKGBUILD	                        (rev 0)
+++ bespokesynth/trunk/PKGBUILD	2021-12-09 23:15:53 UTC (rev 1065917)
@@ -0,0 +1,61 @@
+# Maintainer: David Runge <dvzrv at archlinux.org>
+
+pkgname=bespokesynth
+pkgver=1.1.0
+_commit=bd41884b9032b585c6271b6d91f8942d3fac4e2b  # v1.1.0
+pkgrel=1
+pkgdesc="A software modular synth"
+arch=(x86_64)
+url="https://www.bespokesynth.com/"
+license=(GPL3)
+depends=(gcc-libs glibc hicolor-icon-theme libglvnd libpng python zlib)
+makedepends=(alsa-lib cmake flac git jack juce libusb libvorbis libx11
+libxcursor libxinerama pybind11 tuning-library xorg-xrandr)
+optdepends=('python-jedi: for code completion')
+source=(
+  "$pkgname::git+https://github.com/${pkgname}/${pkgname}#commit=${_commit}"
+  "MTS-ESP::git+https://github.com/ODDSound/MTS-ESP"
+)
+sha512sums=('SKIP'
+            'SKIP')
+b2sums=('SKIP'
+        'SKIP')
+
+prepare() {
+  cd "$pkgname"
+  git cherry-pick -n d134b0aa015c9876f9bba9a68ecd910cd71b0ba1  # remove 3dxware
+  git cherry-pick -n 5b44c1ba7228e8b3cb5076099b087dfa14fa56a9  # devendor jsoncpp
+  git cherry-pick -n f4490398600e33054be6e4e05298d9d60d4724f7  # devendor pybind11
+  git cherry-pick -n f900e132f30fc6a266467f815183f20c417925b6  # devendor juce
+  git cherry-pick -n 7e98b949c1be23d0cae3bf80b479ae3a933fe8d5  # devendor tuning-library
+
+  git submodule init
+  git config submodule.libs/oddsound-mts/MTS-ESP.url "${srcdir}/MTS-ESP"
+  git submodule deinit libs/JUCE
+  git submodule deinit libs/pybind11
+  git submodule deinit libs/tuning-library
+  git submodule deinit libs/json/jsoncpp
+  git submodule update
+
+}
+
+build() {
+  cmake -DCMAKE_INSTALL_PREFIX=/usr \
+        -DCMAKE_BUILD_TYPE=None \
+        -DBESPOKE_SYSTEM_PYBIND11=ON \
+        -DBESPOKE_SYSTEM_JSONCPP=ON \
+        -DBESPOKE_SYSTEM_TUNING_LIBRARY=ON \
+        -DBESPOKE_SYSTEM_JUCE=ON \
+        -DBESPOKE_DEVENDORED_SYSTEM_JUCE=ON \
+        -Wno-dev \
+        -B build \
+        -S "$pkgname"
+  make VERBOSE=1 -C build
+}
+
+package() {
+  depends+=(libasound.so libFLAC.so libfreetype.so libjpeg.so libjsoncpp.so
+  libogg.so libusb-1.0.so libvorbis.so libvorbisenc.so libvorbisfile.so)
+
+  make DESTDIR="$pkgdir/" install -C "${pkgname}/build"
+}



More information about the arch-commits mailing list