unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
blob 1f160fd3495900f0a4ed7c846e407e30b8e57f7e 1186 bytes (raw)
name: gnu/packages/patches/bespokesynth-1.1.0-devendor_ableton_link.patch 	 # note: path name is non-authoritative(*)

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
 
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,11 @@
 include(cmake/lib.cmake)
 include(cmake/versiontools.cmake)
-include(../libs/link/AbletonLinkConfig.cmake)
+if(BESPOKE_SYSTEM_ABLETONLINK)
+    message(STATUS "Using system provided Ableton Link")
+    find_package(AbletonLink NAMES AbletonLink ableton-link link REQUIRED)
+else()
+    include(../libs/link/AbletonLinkConfig.cmake)
+endif()
 
 juce_add_gui_app(BespokeSynth
     PRODUCT_NAME BespokeSynth

debug log:

solving 1f160fd349 ...
found 1f160fd349 in https://yhetil.org/guix-patches/Bh0wvvBawEpV2XiH4BD16AhfCFbRQpjNe9WxBZA-pz2-0JvSDeBagCRYpSeeYouXF1PhNddT4nnlXSX4Invg0467cAiJt_vF1zOyOsf98EM=@proton.me/

applying [1/1] https://yhetil.org/guix-patches/Bh0wvvBawEpV2XiH4BD16AhfCFbRQpjNe9WxBZA-pz2-0JvSDeBagCRYpSeeYouXF1PhNddT4nnlXSX4Invg0467cAiJt_vF1zOyOsf98EM=@proton.me/
diff --git a/gnu/packages/patches/bespokesynth-1.1.0-devendor_ableton_link.patch b/gnu/packages/patches/bespokesynth-1.1.0-devendor_ableton_link.patch
new file mode 100644
index 0000000000..1f160fd349

1:17: trailing whitespace.
 
1:33: trailing whitespace.
 
Checking patch gnu/packages/patches/bespokesynth-1.1.0-devendor_ableton_link.patch...
Applied patch gnu/packages/patches/bespokesynth-1.1.0-devendor_ableton_link.patch cleanly.
warning: 2 lines add whitespace errors.

index at:
100644 1f160fd3495900f0a4ed7c846e407e30b8e57f7e	gnu/packages/patches/bespokesynth-1.1.0-devendor_ableton_link.patch

(*) Git path names are given by the tree(s) the blob belongs to.
    Blobs themselves have no identifier aside from the hash of its contents.^

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).