author | Christian Heusel
<gromit@archlinux.org> 2023-11-20 21:53:20 UTC |
committer | Christian Heusel
<gromit@archlinux.org> 2023-11-20 21:53:20 UTC |
parent | 1cbad18e797a137e9f29addd60d90cc048b96df5 |
.SRCINFO | +4 | -1 |
PKGBUILD | +11 | -3 |
audacity_3_4_2_update_vst3_cmake_args.patch | +17 | -0 |
diff --git a/.SRCINFO b/.SRCINFO index 89cb1d9..f7a1f09 100644 --- a/.SRCINFO +++ b/.SRCINFO @@ -1,7 +1,7 @@ pkgbase = audacity pkgdesc = A program that lets you manipulate digital audio waveforms pkgver = 3.4.2 - pkgrel = 1 + pkgrel = 2 epoch = 1 url = https://audacityteam.org arch = x86_64 @@ -49,10 +49,13 @@ pkgbase = audacity makedepends = xcb-util-keysyms source = https://github.com/audacity/audacity/archive/refs/tags/Audacity-3.4.2.tar.gz source = https://github.com/audacity/audacity/releases/download/Audacity-3.4.2/audacity-manual-3.4.2.zip + source = audacity_3_4_2_update_vst3_cmake_args.patch sha512sums = a4a3bc68e46988e5538edbe6d8f42428b69e3f294b8d65337600e6806b516100d20a92135954f073c863d29767b904b781bd3a09cec40b8a85ee4463f52e1759 sha512sums = a840409a98ba570113e445264feac22555585c9a6e64191a3d90d693f55325d9bf0a028869828f0ad3074e451087563ef47064d2774348184fe62bbd88dfde5f + sha512sums = 075ab510b28ce96be049bc62d11d4f978090268376e76865fc41424d2f76ec79f9625ab5479aee488bf357c773346fefd2e0cc3884acb5ba14083c4e79276e35 b2sums = f5bcf6adb925c22b74d6bb1f9605e428f00d776715dd221ae2e2026ffe65a03410279f01690c9b671df9a4924940e5a93dc3535b6a41626663ccdda5ccf7554f b2sums = 3b49bd9ac0ceb8ee36ac8506fbec159ad6ed884ed1a1b5619a7f309c951400699fd92e1e79771bd5ca23055e2b6d24138007e613eddd8cc97ed4b443da4b5f6d + b2sums = c3da5f1c01f712053ada2101d489dfab0dcd2a6cafa65a29c17de12274a4373d2e63de65888b1ffaccac85b64508f260596beb301d36d7e305002cd3a76eb679 pkgname = audacity groups = pro-audio diff --git a/PKGBUILD b/PKGBUILD index 0741a85..8267853 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -9,7 +9,7 @@ pkgname=( audacity-docs ) pkgver=3.4.2 -pkgrel=1 +pkgrel=2 epoch=1 pkgdesc="A program that lets you manipulate digital audio waveforms" arch=(x86_64) @@ -61,11 +61,19 @@ makedepends=( source=( https://github.com/audacity/audacity/archive/refs/tags/$_name-$pkgver.tar.gz https://github.com/$pkgbase/$pkgbase/releases/download/$_name-$pkgver/$pkgbase-manual-$pkgver.zip + audacity_3_4_2_update_vst3_cmake_args.patch ) sha512sums=('a4a3bc68e46988e5538edbe6d8f42428b69e3f294b8d65337600e6806b516100d20a92135954f073c863d29767b904b781bd3a09cec40b8a85ee4463f52e1759' - 'a840409a98ba570113e445264feac22555585c9a6e64191a3d90d693f55325d9bf0a028869828f0ad3074e451087563ef47064d2774348184fe62bbd88dfde5f') + 'a840409a98ba570113e445264feac22555585c9a6e64191a3d90d693f55325d9bf0a028869828f0ad3074e451087563ef47064d2774348184fe62bbd88dfde5f' + '075ab510b28ce96be049bc62d11d4f978090268376e76865fc41424d2f76ec79f9625ab5479aee488bf357c773346fefd2e0cc3884acb5ba14083c4e79276e35') b2sums=('f5bcf6adb925c22b74d6bb1f9605e428f00d776715dd221ae2e2026ffe65a03410279f01690c9b671df9a4924940e5a93dc3535b6a41626663ccdda5ccf7554f' - '3b49bd9ac0ceb8ee36ac8506fbec159ad6ed884ed1a1b5619a7f309c951400699fd92e1e79771bd5ca23055e2b6d24138007e613eddd8cc97ed4b443da4b5f6d') + '3b49bd9ac0ceb8ee36ac8506fbec159ad6ed884ed1a1b5619a7f309c951400699fd92e1e79771bd5ca23055e2b6d24138007e613eddd8cc97ed4b443da4b5f6d' + 'c3da5f1c01f712053ada2101d489dfab0dcd2a6cafa65a29c17de12274a4373d2e63de65888b1ffaccac85b64508f260596beb301d36d7e305002cd3a76eb679') + +prepare() { + cd "$pkgname-$_name-$pkgver" + patch --forward --strip=1 --input="${srcdir}/audacity_3_4_2_update_vst3_cmake_args.patch" +} build() { local cmake_options=( diff --git a/audacity_3_4_2_update_vst3_cmake_args.patch b/audacity_3_4_2_update_vst3_cmake_args.patch new file mode 100644 index 0000000..6e478e5 --- /dev/null +++ b/audacity_3_4_2_update_vst3_cmake_args.patch @@ -0,0 +1,17 @@ +diff --git a/cmake-proxies/cmake-modules/Findvst3sdk.cmake b/cmake-proxies/cmake-modules/Findvst3sdk.cmake +index 420e3ffd1..dea6e1102 100644 +--- a/cmake-proxies/cmake-modules/Findvst3sdk.cmake ++++ b/cmake-proxies/cmake-modules/Findvst3sdk.cmake +@@ -29,9 +29,9 @@ if( NOT vst3sdk_FOUND ) + -S ${vst3sdk_DIR} + -B ${vst3sdk_BUILD} + -D CMAKE_BUILD_TYPE=${CMAKE_BUILD_TYPE} +- -D SMTG_ADD_VST3_HOSTING_SAMPLES=Off +- -D SMTG_ADD_VST3_PLUGIN_SAMPLES=Off +- -D SMTG_ADD_VSTGUI=Off ++ -D SMTG_ENABLE_VST3_HOSTING_EXAMPLES=OFF ++ -D SMTG_ENABLE_VST3_PLUGIN_EXAMPLES=OFF ++ -D SMTG_ENABLE_VSTGUI_SUPPORT=OFF + -D SMTG_CREATE_BUNDLE_FOR_WINDOWS=Off + -D SMTG_MYPLUGINS_SRC_PATH="" + -D SMTG_RUN_VST_VALIDATOR=Off