Date: Monday, November 21, 2022 @ 08:58:45
Author: grawlinson
Revision: 1351331
archrelease: copy trunk to community-x86_64
Added:
ob-xd/repos/community-x86_64/PKGBUILD
(from rev 1351330, ob-xd/trunk/PKGBUILD)
ob-xd/repos/community-x86_64/skip-legacy-vst2-plugin.patch
(from rev 1351330, ob-xd/trunk/skip-legacy-vst2-plugin.patch)
ob-xd/repos/community-x86_64/use-global-path.patch
(from rev 1351330, ob-xd/trunk/use-global-path.patch)
ob-xd/repos/community-x86_64/use-system-juce.patch
(from rev 1351330, ob-xd/trunk/use-system-juce.patch)
Deleted:
ob-xd/repos/community-x86_64/PKGBUILD
ob-xd/repos/community-x86_64/skip-legacy-vst2-plugin.patch
ob-xd/repos/community-x86_64/use-global-path.patch
-------------------------------+
PKGBUILD | 233 ++++++++++++++++++++--------------------
skip-legacy-vst2-plugin.patch | 35 +++---
use-global-path.patch | 22 +--
use-system-juce.patch | 36 ++++++
4 files changed, 186 insertions(+), 140 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2022-11-21 08:57:53 UTC (rev 1351330)
+++ PKGBUILD 2022-11-21 08:58:45 UTC (rev 1351331)
@@ -1,116 +0,0 @@
-# Maintainer: George Rawlinson <[email protected]>
-
-pkgname=ob-xd
-pkgver=2.9
-pkgrel=1
-pkgdesc='Virtual analog synthesizer based on the Oberheim OB-X, OB-Xa and OB-8
synths'
-arch=('x86_64')
-url='https://github.com/reales/OB-Xd'
-license=('GPL3')
-groups=('pro-audio' 'vst3-plugins' 'lv2-plugins')
-depends=(
- 'alsa-lib'
- 'hicolor-icon-theme'
- 'libjpeg-turbo'
- 'libvorbis'
- 'flac'
- 'freetype2'
- 'libglvnd'
- 'curl'
-)
-makedepends=(
- 'git'
- 'juce'
- 'zlib'
- 'libpng'
- 'libogg'
- 'jack'
- 'libx11'
- 'libxext'
- 'libxrandr'
- 'libxinerama'
- 'libxcursor'
- 'gendesk'
-)
-optdepends=(
- 'jack: backend for standalone'
- 'vst3-host: for VST3 plugins'
- 'lv2-host: for LV2 plugins'
-)
-options=('debug')
-_commit='15a7e10297f7349cab3b3e7893b5fe7af7536661'
-source=(
- "$pkgname::git+$url#commit=$_commit"
- 'use-global-path.patch'
- 'skip-legacy-vst2-plugin.patch'
-)
-b2sums=('SKIP'
-
'72a750e36d3b204472e78ed50e09ff2de5531f286b43fe4ab86ff7854868405caaa765d419cf35b2865c5edb2d5e105d15bfa91a38ce6491504f2cd7bbe2bed6'
-
'37f805531f8986b2a409912c0f0d60589e4bfa27932a4b583b57d889f99501870f7b60647c02e73d14b0945476377d9d926edb9ceb2001a395e8c292f6867926')
-
-pkgver() {
- cd "$pkgname"
-
- git describe --tags | sed 's/^v//'
-}
-
-prepare() {
- cd "$pkgname"
-
- # use global path
- patch -p1 -i "$srcdir/use-global-path.patch"
-
- # skip legacy VST2 plugin
- patch -p1 -i "$srcdir/skip-legacy-vst2-plugin.patch"
- sed -e 's/JUCEOPTIONS /JUCEOPTIONS JUCE_VST3_CAN_REPLACE_VST2="0" /' -i
OB-Xd.jucer
-
- # use system juce
- sed -e 's/useGlobalPath="0"/useGlobalPath="1"/g' -i OB-Xd.jucer
-
- # generate desktop file
- gendesk -n \
- --exec OB-Xd \
- --name OB-Xd \
- --pkgname com.discoDSP.Obxd \
- --pkgdesc "$pkgdesc" \
- --icon "$pkgname" \
- --genericname "Virtual analog synthesizer"
-}
-
-build() {
- cd "$pkgname"
-
- Projucer --resave OB-Xd.jucer
-
- make -C Builds/LinuxMakefile
-}
-
-package() {
- cd "$pkgname"
-
- # create directories
- install -vd \
- "$pkgdir/usr/share/"{ob-xd,doc/ob-xd} \
- "$pkgdir/usr/lib/"{vst3,lv2}
-
- # application data
- cp -vr Documents/discoDSP/OB-Xd/{Banks,MIDI,Themes}
"$pkgdir/usr/share/$pkgname"
-
- # application icon
- install -vDm644 Source/Images/appicon.png
"$pkgdir/usr/share/icons/hicolor/512x512/apps/$pkgname.png"
-
- # desktop file
- install -vDm644 -t "$pkgdir/usr/share/applications" com.discoDSP.Obxd.desktop
-
- # documentation
- install -vDm644 -t "$pkgdir/usr/share/doc/$pkgname"
Documents/discoDSP/OB-Xd/*.pdf README.md
-
- # vst3
- cp -vr "$HOME"/.vst3/* "$pkgdir/usr/lib/vst3"
-
- # lv2
- cp -vr "$HOME"/.lv2/* "$pkgdir/usr/lib/lv2"
-
- # standalone
- install -vDm755 -t "$pkgdir/usr/bin" Builds/LinuxMakefile/build/OB-Xd
-}
Copied: ob-xd/repos/community-x86_64/PKGBUILD (from rev 1351330,
ob-xd/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2022-11-21 08:58:45 UTC (rev 1351331)
@@ -0,0 +1,117 @@
+# Maintainer: George Rawlinson <[email protected]>
+
+pkgname=ob-xd
+pkgver=2.10
+pkgrel=1
+pkgdesc='Virtual analog synthesizer based on the Oberheim OB-X, OB-Xa and OB-8
synths'
+arch=('x86_64')
+url='https://github.com/reales/OB-Xd'
+license=('GPL3')
+groups=('pro-audio' 'vst3-plugins' 'lv2-plugins')
+depends=(
+ 'alsa-lib'
+ 'hicolor-icon-theme'
+ 'libjpeg-turbo'
+ 'libvorbis'
+ 'flac'
+ 'freetype2'
+ 'libglvnd'
+ 'curl'
+)
+makedepends=(
+ 'git'
+ 'juce'
+ 'zlib'
+ 'libpng'
+ 'libogg'
+ 'jack'
+ 'libx11'
+ 'libxext'
+ 'libxrandr'
+ 'libxinerama'
+ 'libxcursor'
+ 'gendesk'
+)
+optdepends=(
+ 'jack: backend for standalone'
+ 'vst3-host: for VST3 plugins'
+ 'lv2-host: for LV2 plugins'
+)
+options=('debug')
+_commit='2afc035ac3e70171a71840bbc2f859715b6ce765'
+source=(
+ "$pkgname::git+$url#commit=$_commit"
+ 'use-global-path.patch'
+ 'skip-legacy-vst2-plugin.patch'
+ 'use-system-juce.patch'
+)
+b2sums=('SKIP'
+
'9e9954ff7aeedc176e4f12ed9fcc97bac7b2a1c45450adf27af7b7ab1f3869121b98eb4d5c93926416d09073b6bfb937d89115f31730abfdc4399b3c2526bac2'
+
'b71a23ba0d7f48df9039fa7e8951e96818dfd0c57a49491d9984860cf0dccd120b3c54c3833a01d94cb723432493f282e9073a6ce6ab190d1abc616401600202'
+
'9bfaf21ab88a016bff1adfa916252335757a387ba95fed5ab3584c4a03bd10795fb23108e8e0d645f84d94e789c1498717d472106b176b4336dbed34e3e149f7')
+
+pkgver() {
+ cd "$pkgname"
+
+ git describe --tags | sed 's/^v//'
+}
+
+prepare() {
+ cd "$pkgname"
+
+ # use global path
+ patch -p1 -i "$srcdir/use-global-path.patch"
+
+ # skip legacy VST2 plugin
+ patch -p1 -i "$srcdir/skip-legacy-vst2-plugin.patch"
+
+ # use system juce
+ patch -p1 -i "$srcdir/use-system-juce.patch"
+
+ # generate desktop file
+ gendesk -n \
+ --exec OB-Xd \
+ --name OB-Xd \
+ --pkgname com.discoDSP.Obxd \
+ --pkgdesc "$pkgdesc" \
+ --icon "$pkgname" \
+ --genericname "Virtual analog synthesizer"
+}
+
+build() {
+ cd "$pkgname"
+
+ Projucer --resave OB-Xd.jucer
+
+ make -C Builds/LinuxMakefile
+}
+
+package() {
+ cd "$pkgname"
+
+ # create directories
+ install -vd \
+ "$pkgdir/usr/share/"{ob-xd,doc/ob-xd} \
+ "$pkgdir/usr/lib/"{vst3,lv2}
+
+ # application data
+ cp -vr Documents/discoDSP/OB-Xd/{Banks,MIDI,Themes}
"$pkgdir/usr/share/$pkgname"
+
+ # application icon
+ install -vDm644 Source/Images/appicon.png
"$pkgdir/usr/share/icons/hicolor/512x512/apps/$pkgname.png"
+
+ # desktop file
+ install -vDm644 -t "$pkgdir/usr/share/applications" com.discoDSP.Obxd.desktop
+
+ # documentation
+ install -vDm644 -t "$pkgdir/usr/share/doc/$pkgname"
Documents/discoDSP/OB-Xd/*.pdf README.md
+
+ # vst3
+ cp -vr "$HOME"/.vst3/* "$pkgdir/usr/lib/vst3"
+
+ # lv2
+ cp -vr "$HOME"/.lv2/* "$pkgdir/usr/lib/lv2"
+
+ # standalone
+ install -vDm755 -t "$pkgdir/usr/bin" Builds/LinuxMakefile/build/OB-Xd
+}
Deleted: skip-legacy-vst2-plugin.patch
===================================================================
--- skip-legacy-vst2-plugin.patch 2022-11-21 08:57:53 UTC (rev 1351330)
+++ skip-legacy-vst2-plugin.patch 2022-11-21 08:58:45 UTC (rev 1351331)
@@ -1,13 +0,0 @@
---- a/OB-Xd.jucer
-+++ b/OB-Xd.jucer
-@@ -9,8 +9,8 @@
- pluginAUExportPrefix="" pluginRTASCategory="2048"
aaxIdentifier="com.discodsp.obxd"
- companyName="discoDSP"
companyWebsite="https://www.discodsp.com/"
- pluginIsMidiEffectPlugin="0"
pluginCharacteristicsValue="pluginIsSynth,pluginWantsMidiIn"
--
pluginFormats="buildAU,buildLV2,buildStandalone,buildVST,buildVST3"
-- buildVST="1" buildVST3="1" buildAU="1" buildAUv3="0"
buildRTAS="0"
-+ pluginFormats="buildAU,buildLV2,buildStandalone,buildVST3"
-+ buildVST="0" buildVST3="1" buildAU="1" buildAUv3="0"
buildRTAS="0"
- buildAAX="0" buildStandalone="1" enableIAA="0"
jucerFormatVersion="1"
- pluginChannelConfigs="{0,2}" companyCopyright="discoDSP"
companyEmail="[email protected]"
- pluginAAXCategory="2048" pluginVSTCategory="kPlugCategSynth"
Copied: ob-xd/repos/community-x86_64/skip-legacy-vst2-plugin.patch (from rev
1351330, ob-xd/trunk/skip-legacy-vst2-plugin.patch)
===================================================================
--- skip-legacy-vst2-plugin.patch (rev 0)
+++ skip-legacy-vst2-plugin.patch 2022-11-21 08:58:45 UTC (rev 1351331)
@@ -0,0 +1,22 @@
+--- a/OB-Xd.jucer
++++ b/OB-Xd.jucer
+@@ -9,8 +9,8 @@
+ pluginAUExportPrefix="" pluginRTASCategory="2048"
aaxIdentifier="com.discodsp.obxd"
+ companyName="discoDSP"
companyWebsite="https://www.discodsp.com/"
+ pluginIsMidiEffectPlugin="0"
pluginCharacteristicsValue="pluginIsSynth,pluginWantsMidiIn"
+-
pluginFormats="buildAU,buildLV2,buildStandalone,buildVST,buildVST3"
+- buildVST="1" buildVST3="1" buildAU="1" buildAUv3="0"
buildRTAS="0"
++ pluginFormats="buildAU,buildLV2,buildStandalone,buildVST3"
++ buildVST="0" buildVST3="1" buildAU="1" buildAUv3="0"
buildRTAS="0"
+ buildAAX="0" buildStandalone="1" enableIAA="0"
jucerFormatVersion="1"
+ pluginChannelConfigs="{0,2}" companyCopyright="discoDSP"
companyEmail="[email protected]"
+ pluginAAXCategory="2048" pluginVSTCategory="kPlugCategSynth"
+@@ -182,7 +182,7 @@
+ <MODULES id="juce_gui_extra" showAllCode="1" useLocalCopy="0"
useGlobalPath="0"/>
+ <MODULES id="juce_opengl" showAllCode="1" useLocalCopy="0"
useGlobalPath="0"/>
+ </MODULES>
+- <JUCEOPTIONS JUCE_QUICKTIME="disabled" JUCE_WEB_BROWSER="0" JUCE_ASIO="1"
++ <JUCEOPTIONS JUCE_VST3_CAN_REPLACE_VST2="0" JUCE_QUICKTIME="disabled"
JUCE_WEB_BROWSER="0" JUCE_ASIO="1"
+ JUCE_JACK="1" JUCE_USE_CURL="0"/>
+ <LIVE_SETTINGS>
+ <OSX/>
Deleted: use-global-path.patch
===================================================================
--- use-global-path.patch 2022-11-21 08:57:53 UTC (rev 1351330)
+++ use-global-path.patch 2022-11-21 08:58:45 UTC (rev 1351331)
@@ -1,11 +0,0 @@
---- a/Source/PluginProcessor.cpp
-+++ b/Source/PluginProcessor.cpp
-@@ -773,7 +773,7 @@ File ObxdAudioProcessor::getCurrentBankFile() const
-
//==============================================================================
- File ObxdAudioProcessor::getDocumentFolder() const
- {
-- File folder =
File::getSpecialLocation(File::userDocumentsDirectory).getChildFile("discoDSP").getChildFile("OB-Xd");
-+ File folder =
File::getSpecialLocation(File::globalApplicationsDirectory).getChildFile("share").getChildFile("ob-xd");
- /*
- if (! folder.exists())
- {
Copied: ob-xd/repos/community-x86_64/use-global-path.patch (from rev 1351330,
ob-xd/trunk/use-global-path.patch)
===================================================================
--- use-global-path.patch (rev 0)
+++ use-global-path.patch 2022-11-21 08:58:45 UTC (rev 1351331)
@@ -0,0 +1,11 @@
+--- a/Source/PluginProcessor.cpp
++++ b/Source/PluginProcessor.cpp
+@@ -838,7 +838,7 @@ File ObxdAudioProcessor::getCurrentBankFile() const
+
//==============================================================================
+ File ObxdAudioProcessor::getDocumentFolder() const
+ {
+- File folder =
File::getSpecialLocation(File::userDocumentsDirectory).getChildFile("discoDSP").getChildFile("OB-Xd");
++ File folder =
File::getSpecialLocation(File::globalApplicationsDirectory).getChildFile("share").getChildFile("ob-xd");
+ /*
+ if (! folder.exists())
+ {
Copied: ob-xd/repos/community-x86_64/use-system-juce.patch (from rev 1351330,
ob-xd/trunk/use-system-juce.patch)
===================================================================
--- use-system-juce.patch (rev 0)
+++ use-system-juce.patch 2022-11-21 08:58:45 UTC (rev 1351331)
@@ -0,0 +1,36 @@
+--- a/OB-Xd.jucer
++++ b/OB-Xd.jucer
+@@ -167,20 +167,20 @@
+ </VS2019>
+ </EXPORTFORMATS>
+ <MODULES>
+- <MODULES id="juce_audio_basics" showAllCode="1" useLocalCopy="0"
useGlobalPath="0"/>
+- <MODULES id="juce_audio_devices" showAllCode="1" useLocalCopy="0"
useGlobalPath="0"/>
+- <MODULES id="juce_audio_formats" showAllCode="1" useLocalCopy="0"
useGlobalPath="0"/>
++ <MODULES id="juce_audio_basics" showAllCode="1" useLocalCopy="0"
useGlobalPath="1"/>
++ <MODULES id="juce_audio_devices" showAllCode="1" useLocalCopy="0"
useGlobalPath="1"/>
++ <MODULES id="juce_audio_formats" showAllCode="1" useLocalCopy="0"
useGlobalPath="1"/>
+ <MODULES id="juce_audio_plugin_client" showAllCode="1" useLocalCopy="0"
+- useGlobalPath="0"/>
+- <MODULES id="juce_audio_processors" showAllCode="1" useLocalCopy="0"
useGlobalPath="0"/>
+- <MODULE id="juce_audio_utils" showAllCode="1" useLocalCopy="0"
useGlobalPath="0"/>
+- <MODULES id="juce_core" showAllCode="1" useLocalCopy="0"
useGlobalPath="0"/>
+- <MODULES id="juce_data_structures" showAllCode="1" useLocalCopy="0"
useGlobalPath="0"/>
+- <MODULES id="juce_events" showAllCode="1" useLocalCopy="0"
useGlobalPath="0"/>
+- <MODULES id="juce_graphics" showAllCode="1" useLocalCopy="0"
useGlobalPath="0"/>
+- <MODULES id="juce_gui_basics" showAllCode="1" useLocalCopy="0"
useGlobalPath="0"/>
+- <MODULES id="juce_gui_extra" showAllCode="1" useLocalCopy="0"
useGlobalPath="0"/>
+- <MODULES id="juce_opengl" showAllCode="1" useLocalCopy="0"
useGlobalPath="0"/>
++ useGlobalPath="1"/>
++ <MODULES id="juce_audio_processors" showAllCode="1" useLocalCopy="0"
useGlobalPath="1"/>
++ <MODULE id="juce_audio_utils" showAllCode="1" useLocalCopy="0"
useGlobalPath="1"/>
++ <MODULES id="juce_core" showAllCode="1" useLocalCopy="0"
useGlobalPath="1"/>
++ <MODULES id="juce_data_structures" showAllCode="1" useLocalCopy="0"
useGlobalPath="1"/>
++ <MODULES id="juce_events" showAllCode="1" useLocalCopy="0"
useGlobalPath="1"/>
++ <MODULES id="juce_graphics" showAllCode="1" useLocalCopy="0"
useGlobalPath="1"/>
++ <MODULES id="juce_gui_basics" showAllCode="1" useLocalCopy="0"
useGlobalPath="1"/>
++ <MODULES id="juce_gui_extra" showAllCode="1" useLocalCopy="0"
useGlobalPath="1"/>
++ <MODULES id="juce_opengl" showAllCode="1" useLocalCopy="0"
useGlobalPath="1"/>
+ </MODULES>
+ <JUCEOPTIONS JUCE_VST3_CAN_REPLACE_VST2="0" JUCE_QUICKTIME="disabled"
JUCE_WEB_BROWSER="0" JUCE_ASIO="1"
+ JUCE_JACK="1" JUCE_USE_CURL="0"/>