Date: Thursday, September 15, 2022 @ 20:59:56
Author: dvzrv
Revision: 1302903
archrelease: copy trunk to community-x86_64
Added:
bespokesynth/repos/community-x86_64/PKGBUILD
(from rev 1302902, bespokesynth/trunk/PKGBUILD)
bespokesynth/repos/community-x86_64/bespokesynth-1.1.0-devendor_ableton_link.patch
(from rev 1302902,
bespokesynth/trunk/bespokesynth-1.1.0-devendor_ableton_link.patch)
Deleted:
bespokesynth/repos/community-x86_64/PKGBUILD
------------------------------------------------+
PKGBUILD | 137 +++++++++++------------
bespokesynth-1.1.0-devendor_ableton_link.patch | 28 ++++
2 files changed, 99 insertions(+), 66 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2022-09-15 20:59:46 UTC (rev 1302902)
+++ PKGBUILD 2022-09-15 20:59:56 UTC (rev 1302903)
@@ -1,66 +0,0 @@
-# Maintainer: David Runge <[email protected]>
-
-pkgname=bespokesynth
-pkgver=1.1.0
-_commit=bd41884b9032b585c6271b6d91f8942d3fac4e2b # v1.1.0
-pkgrel=4
-pkgdesc="A software modular synth"
-arch=(x86_64)
-url="https://www.bespokesynth.com/"
-license=(GPL3)
-groups=(pro-audio)
-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=(
- 'jack: to use with JACK'
- 'python-jedi: for code completion'
-)
-provides=(vst3-host)
-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 build
-}
Copied: bespokesynth/repos/community-x86_64/PKGBUILD (from rev 1302902,
bespokesynth/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2022-09-15 20:59:56 UTC (rev 1302903)
@@ -0,0 +1,71 @@
+# Maintainer: David Runge <[email protected]>
+
+pkgname=bespokesynth
+pkgver=1.1.0.r154.g0acb8ebf
+_commit=0acb8ebff6e59f8b000da240e11f31ccee9cca72 # current HEAD
+pkgrel=1
+pkgdesc="A software modular synth"
+arch=(x86_64)
+url="https://www.bespokesynth.com/"
+license=(GPL3)
+groups=(pro-audio)
+depends=(gcc-libs glibc hicolor-icon-theme libglvnd libpng python zlib)
+makedepends=(abletonlink alsa-lib cmake freetype2 git jack libusb libx11
+libxcursor libxinerama pybind11 tuning-library xorg-xrandr)
+optdepends=(
+ 'jack: to use with JACK'
+ 'python-jedi: for code completion'
+)
+provides=(vst3-host)
+source=(
+ $pkgname::git+https://github.com/$pkgname/$pkgname#commit=$_commit
+ MTS-ESP::git+https://github.com/ODDSound/MTS-ESP
+ $pkgname-1.1.0-devendor_ableton_link.patch
+)
+sha512sums=('SKIP'
+ 'SKIP'
+
'29f6ea325ae9ab974443bfc87ace59a89b18c8ec355224a4d15ad5bda6601c1901381259761f561b96426ab4688680f0409297eb8750b2d6516e6ca49da16f73')
+b2sums=('SKIP'
+ 'SKIP'
+
'f1d45e9220ec4d33327fb96594b6b3b5db2b4d3fc8716946568fe695de8ad5a8558218f803a9906cb31f955fc3f44ce9fd5265db65a94ea4cd538cb7777c88f4')
+
+pkgver() {
+ cd $pkgname
+ git describe --exclude Nightly --long --tags | sed
's/v//;s/\([^-]*-g\)/r\1/;s/-/./g'
+}
+
+prepare() {
+ # devendor abletonlink
+ patch -Np1 -d $pkgname -i ../$pkgname-1.1.0-devendor_ableton_link.patch
+
+ cd $pkgname
+ git submodule init
+ git config submodule.libs/oddsound-mts/MTS-ESP.url "$srcdir/MTS-ESP"
+ # NOTE: use bundled juce as upstream is seemingly not interested in doing
releases: https://github.com/BespokeSynth/BespokeSynth/issues/918
+ # 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_ABLETONLINK=ON \
+ -DBESPOKE_SYSTEM_PYBIND11=ON \
+ -DBESPOKE_SYSTEM_JSONCPP=ON \
+ -DBESPOKE_SYSTEM_TUNING_LIBRARY=ON \
+ -DBESPOKE_SYSTEM_JUCE=OFF \
+ -DBESPOKE_DEVENDORED_SYSTEM_JUCE=OFF \
+ -Wno-dev \
+ -B build \
+ -S $pkgname
+ make VERBOSE=1 -C build
+}
+
+package() {
+ depends+=(libasound.so libfreetype.so libjsoncpp.so libusb-1.0.so)
+
+ make DESTDIR="$pkgdir/" install -C build
+}
Copied:
bespokesynth/repos/community-x86_64/bespokesynth-1.1.0-devendor_ableton_link.patch
(from rev 1302902,
bespokesynth/trunk/bespokesynth-1.1.0-devendor_ableton_link.patch)
===================================================================
--- bespokesynth-1.1.0-devendor_ableton_link.patch
(rev 0)
+++ bespokesynth-1.1.0-devendor_ableton_link.patch 2022-09-15 20:59:56 UTC
(rev 1302903)
@@ -0,0 +1,28 @@
+diff --git i/CMakeLists.txt w/CMakeLists.txt
+index 50038d06..7241a0de 100644
+--- i/CMakeLists.txt
++++ w/CMakeLists.txt
+@@ -15,6 +15,7 @@ option(BESPOKE_DEVENDORED_SYSTEM_JUCE "Use system libraries
when using system in
+ option(BESPOKE_SYSTEM_PYBIND11 "Use a system installation of pybind11" OFF)
+ option(BESPOKE_SYSTEM_JSONCPP "Use system-wide installation of jsoncpp" OFF)
+ option(BESPOKE_SYSTEM_TUNING_LIBRARY "Use system installation of
tuning-library" OFF)
++option(BESPOKE_SYSTEM_ABLETONLINK "Use system installation of ableton-link"
OFF)
+ option(BESPOKE_USE_ASAN "Build with ASAN" OFF)
+
+ # Global CMake options
+diff --git i/Source/CMakeLists.txt w/Source/CMakeLists.txt
+index 7714ae7f..67256f1d 100644
+--- i/Source/CMakeLists.txt
++++ w/Source/CMakeLists.txt
+@@ -1,6 +1,10 @@
+ include(cmake/lib.cmake)
+ include(cmake/versiontools.cmake)
+-include(../libs/link/AbletonLinkConfig.cmake)
++if(BESPOKE_SYSTEM_ABLETONLINK)
++ find_package(AbletonLink NAMES AbletonLink ableton-link link REQUIRED)
++else()
++ include(../libs/link/AbletonLinkConfig.cmake)
++endif()
+
+ juce_add_gui_app(BespokeSynth
+ PRODUCT_NAME BespokeSynth