diff --git a/recipes-musicians/surge/surge.bb b/recipes-musicians/surge/surge.bb index 0cbeb24..af73fd7 100644 --- a/recipes-musicians/surge/surge.bb +++ b/recipes-musicians/surge/surge.bb @@ -23,9 +23,9 @@ SRC_URI = " \ file://0003-Do-not-generate-manifest-it-won-t-work-cross.patch \ file://0004-emit-vector-piggy-adjust-python-python3.patch \ " -SRCREV = "9de93366e343e45e0da427b00a944d24d5b38304" +SRCREV = "91069f8d0c0269e962fa3b5f932b4511aa07e451" S = "${WORKDIR}/git" -PV = "1.8.1" +PV = "1.9.0" EXTRA_OECMAKE_append_arm = " -DARM_NATIVE=native" EXTRA_OECMAKE_append_aarch64 = " -DARM_NATIVE=native" diff --git a/recipes-musicians/surge/surge/0002-package-vst3.sh-Do-not-try-to-strip-antive.patch b/recipes-musicians/surge/surge/0002-package-vst3.sh-Do-not-try-to-strip-antive.patch index 36dfaf6..6eeca54 100644 --- a/recipes-musicians/surge/surge/0002-package-vst3.sh-Do-not-try-to-strip-antive.patch +++ b/recipes-musicians/surge/surge/0002-package-vst3.sh-Do-not-try-to-strip-antive.patch @@ -1,6 +1,6 @@ From f8586a2671012c2392b78361b96d17cdd9cfbd44 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20M=C3=BCller?= -Date: Sat, 5 Dec 2020 22:43:17 +0100 +Date: Sun, 25 Apr 2021 23:05:40 +0200 Subject: [PATCH] package-vst3.sh: Do not try to strip (antive) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 @@ -10,19 +10,23 @@ Upstream-Status: Pending Signed-off-by: Andreas Müller --- - scripts/linux/package-vst3.sh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) + scripts/linux/package-vst3.sh | 3 +-- + 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/scripts/linux/package-vst3.sh b/scripts/linux/package-vst3.sh -index b91adc74..409ebf8e 100755 +index 2f112814..63d2f520 100755 --- a/scripts/linux/package-vst3.sh +++ b/scripts/linux/package-vst3.sh -@@ -17,4 +17,4 @@ fi - VST_SO_DIR="$BUNDLE_DIR/Contents/${ARCH}-linux" - mkdir -p "$VST_SO_DIR" +@@ -20,8 +20,7 @@ mkdir -p "$VST_SO_DIR" cp $1 "$VST_SO_DIR"/Surge.so --strip -s "$VST_SO_DIR"/Surge.so -+ + if [[ -z ${NOSTRIP} ]]; + then +- echo " Stripping ${VST_SO_DIR}/Surge.so" +- strip -s "$VST_SO_DIR"/Surge.so ++ echo " Not stripping in oe-builds" + else + echo " Skipping strip phase for debug build" + fi -- -2.26.2 +2.30.2 diff --git a/recipes-musicians/surge/surge/0003-Do-not-generate-manifest-it-won-t-work-cross.patch b/recipes-musicians/surge/surge/0003-Do-not-generate-manifest-it-won-t-work-cross.patch index b95f5a7..6fcbcc4 100644 --- a/recipes-musicians/surge/surge/0003-Do-not-generate-manifest-it-won-t-work-cross.patch +++ b/recipes-musicians/surge/surge/0003-Do-not-generate-manifest-it-won-t-work-cross.patch @@ -1,6 +1,6 @@ From 9cee76f8433b1dbc024d16212c9d566df04aaf58 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20M=C3=BCller?= -Date: Sun, 7 Feb 2021 20:33:37 +0100 +Date: Sun, 25 Apr 2021 23:20:06 +0200 Subject: [PATCH] Do not generate manifest - it won't work cross MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 @@ -17,18 +17,18 @@ Signed-off-by: Andreas Müller 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt -index 374991f1..466955e0 100644 +index 4ad951dd..545b6ead 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt -@@ -961,7 +961,7 @@ if( BUILD_LV2 ) - COMMAND echo "Packaging up LV2 component" - COMMAND ${CMAKE_COMMAND} -E make_directory ${SURGE_PRODUCT_DIR}/Surge.lv2 +@@ -1012,7 +1012,7 @@ if( BUILD_LV2 ) COMMAND ${CMAKE_COMMAND} -E copy $ ${SURGE_PRODUCT_DIR}/Surge.lv2/Surge.so -- COMMAND scripts/linux/generate-lv2-ttl ${SURGE_PRODUCT_DIR}/Surge.lv2/Surge.so + COMMAND ${CMAKE_COMMAND} -E make_directory ${CMAKE_BINARY_DIR}/lintemp + COMMAND ${CMAKE_COMMAND} -E create_symlink ${CMAKE_CURRENT_SOURCE_DIR}/resources/data ${CMAKE_BINARY_DIR}/lintemp/surge +- COMMAND XDG_DATA_HOME=${CMAKE_BINARY_DIR}/lintemp scripts/linux/generate-lv2-ttl ${SURGE_PRODUCT_DIR}/Surge.lv2/Surge.so + COMMAND echo ${SURGE_PRODUCT_DIR}/Surge.lv2/Surge.so >> LV2_PLUGIN_INFO_FILE ) endif() -- -2.26.2 +2.30.2