diff options
-rw-r--r-- | .SRCINFO | 37 | ||||
-rw-r--r-- | .gitignore | 13 | ||||
-rw-r--r-- | ChangeLog | 18 | ||||
-rw-r--r-- | PKGBUILD | 87 |
4 files changed, 119 insertions, 36 deletions
@@ -1,24 +1,41 @@ pkgbase = dexed pkgdesc = A software synth closely modelled on the Yamaha DX7 - pkgver = 0.9.4 - pkgrel = 3 + pkgver = 0.9.6 + pkgrel = 2 url = http://asb2m10.github.io/dexed/ changelog = ChangeLog arch = i686 arch = x86_64 + groups = pro-audio groups = vst-plugins license = GPL3 - makedepends = juce - makedepends = steinberg-vst36 - depends = alsa-lib - depends = curl + makedepends = alsa-lib + makedepends = curl + makedepends = freetype2 + makedepends = jack + makedepends = libx11 + makedepends = libxrandr + makedepends = libxinerama + makedepends = libxcursor depends = hicolor-icon-theme - depends = freetype2 - depends = libxinerama - source = dexed-0.9.4.tar.gz::https://github.com/asb2m10/dexed/archive/v0.9.4.tar.gz + depends = libpng + source = dexed-0.9.6.tar.gz::https://github.com/asb2m10/dexed/archive/v0.9.6.tar.gz + source = https://github.com/juce-framework/JUCE/releases/download/6.0.7/juce-6.0.7-linux.zip source = dexed.desktop - md5sums = 0e69fdcc3c18a8ac083657213a7921a2 + source = vst3sdk-0908f475f52af56682321192d800ef25d1823dd2.tar.gz::https://github.com/steinbergmedia/vst3sdk/archive/0908f475f52af56682321192d800ef25d1823dd2.tar.gz + source = tuning-library-ea580e666e4b0825d7d9e2906407e186e38dd394.tar.gz::https://github.com/surge-synthesizer/tuning-library/archive/ea580e666e4b0825d7d9e2906407e186e38dd394.tar.gz + source = surgesynthteam_tuningui-0cfaa86484733187af78bc3a48bb89e59e64393f.tar.gz::https://github.com/surge-synthesizer/surgesynthteam_tuningui/archive/0cfaa86484733187af78bc3a48bb89e59e64393f.tar.gz + md5sums = 7dae0fe19ceefed603bef5ccf96140f1 + md5sums = 8beda8acb99a1ae7505eed909bd3e7ea md5sums = d888f8f2c1a44ed75c77d43faee73361 + md5sums = 448948468aeb5a798cd4a12f68b07c03 + md5sums = c8ad413951b5c2adb98ff7fe15bc2db7 + md5sums = 059366b39f4f4588aff66fd6b921a2d8 pkgname = dexed + depends = hicolor-icon-theme + depends = libpng + depends = libasound.so + depends = libcurl.so + depends = libfreetype.so diff --git a/.gitignore b/.gitignore index 0898c866e3de..dbacb3d37349 100644 --- a/.gitignore +++ b/.gitignore @@ -1,6 +1,11 @@ -src/ -pkg/ -dexed-*.tar.gz +.AURINFO dexed-*.pkg.tar.xz +dexed-*.pkg.tar.zst dexed-*.src.tar.gz -.AURINFO +dexed-*.tar.gz +juce-*-linux.zip +pkg/ +src/ +surgesynthteam_tuningui-*.tar.gz +tuning-library-*.tar.gz +vst3sdk-*.tar.gz diff --git a/ChangeLog b/ChangeLog index a82e348ba9e7..007ed08b402f 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,21 @@ +2021-03-05 Christopher Arndt <aur -at- chrisarndt -dot- de> + + * 0.9.6-1 + Upstream does not provide a proper source distribution anymore + So we include git sub-modules of the dependencies as they were tagged + at the time of release + Vendored JUCE 6.0.7 since the official repos lag behind in + packaging JUCE 6. + VST2 plugin was replaced by VST3 version by upstream + +2019-09-01 Christopher Arndt <aur -at- chrisarndt -dot- de> + + * 0.9.4-5 + added patch for compiling JUCE with GCC >= 9.1 + removed 'steinberg-vst36' from makedepends + added 'pro-audio' group + compile VST plugin and stand-alone version in one pass again + 2018-04-24 Christopher Arndt <aur -at- chrisarndt -dot- de> * 0.9.4-2 @@ -1,46 +1,89 @@ # Maintainer: Christopher Arndt <aur -at- chrisarndt -dot- de> +# Global assoc. array of it git hashes of +# thirdparty libs sub-modules at tag for release version +declare -g -A _thirdparty_libs=( + ['surge-synthesizer;surgesynthteam_tuningui']='0cfaa86484733187af78bc3a48bb89e59e64393f' + ['surge-synthesizer;tuning-library']='ea580e666e4b0825d7d9e2906407e186e38dd394' + ['steinbergmedia;vst3sdk']='0908f475f52af56682321192d800ef25d1823dd2' +) + pkgname="dexed" -pkgver=0.9.4 -pkgrel=3 +pkgver=0.9.6 +_juce_version=6.0.7 +pkgrel=2 pkgdesc="A software synth closely modelled on the Yamaha DX7" arch=('i686' 'x86_64') url="http://asb2m10.github.io/dexed/" license=("GPL3") -groups=('vst-plugins') -depends=('alsa-lib' 'curl' 'hicolor-icon-theme' 'freetype2' 'libxinerama') -makedepends=('juce' 'steinberg-vst36') +groups=('pro-audio' 'vst-plugins') +depends=('hicolor-icon-theme' 'libpng') +makedepends=('alsa-lib' 'curl' 'freetype2' 'jack' 'libx11' 'libxrandr' + 'libxinerama' 'libxcursor') +changelog=ChangeLog source=("${pkgname}-${pkgver}.tar.gz::https://github.com/asb2m10/dexed/archive/v${pkgver}.tar.gz" + "https://github.com/juce-framework/JUCE/releases/download/${_juce_version}/juce-${_juce_version}-linux.zip" 'dexed.desktop') -md5sums=('0e69fdcc3c18a8ac083657213a7921a2' - 'd888f8f2c1a44ed75c77d43faee73361') -changelog=ChangeLog +# Add thirdparty libs to source array +for _proj in "${!_thirdparty_libs[@]}"; do + _arr=(${_proj//;/ }) + _vendor=${_arr[0]} + _lib=${_arr[1]} + _hash=${_thirdparty_libs[$_proj]} + source+=("${_lib}-${_hash}.tar.gz::https://github.com/${_vendor}/${_lib}/archive/${_hash}.tar.gz") +done -build() { - msg2 "Building Dexed stand-alone..." - cd "${srcdir}/${pkgname}-${pkgver}/Builds/Linux" - make CONFIG=Release CXXFLAGS="-D JUCE_JACK=1 -D JUCE_ALSA=1 -D buildVST=0 -D buildStandalone=1" - cp -f build/Dexed "${srcdir}/${pkgname}-${pkgver}" +md5sums=('7dae0fe19ceefed603bef5ccf96140f1' + '8beda8acb99a1ae7505eed909bd3e7ea' + 'd888f8f2c1a44ed75c77d43faee73361' + '448948468aeb5a798cd4a12f68b07c03' + 'c8ad413951b5c2adb98ff7fe15bc2db7' + '059366b39f4f4588aff66fd6b921a2d8') + +prepare() { + cd "${srcdir}/${pkgname}-${pkgver}" + + # Link thirdparty sources to lib/ dir + for _proj in "${!_thirdparty_libs[@]}"; do + _arr=(${_proj//;/ }) + _vendor=${_arr[0]} + _lib=${_arr[1]} + _hash=${_thirdparty_libs[$_proj]} - msg2 "Building Dexed VST plug-in..." + if [[ -d libs/${_lib} ]]; then + rmdir libs/${_lib} + fi + + ln -s "${srcdir}/${_lib}-${_hash}" libs/${_lib} + done + + mkdir -p assets + ln -sf "${srcdir}/JUCE" assets + ./assets/JUCE/Projucer --resave Dexed.jucer +} + +build() { cd "${srcdir}/${pkgname}-${pkgver}/Builds/Linux" - make clean - make CONFIG=Release CXXFLAGS="-D JUCE_JACK=0 -D JUCE_ALSA=0 -D buildVST=1 -D buildStandalone=0" - cp -f build/Dexed.so "${srcdir}/${pkgname}-${pkgver}" + make CONFIG=Release } package() { + depends+=('libasound.so' 'libcurl.so' 'libfreetype.so') cd "${srcdir}/${pkgname}-${pkgver}" - # install standalone program - install -Dm755 Dexed "${pkgdir}/usr/bin/dexed" # install VST plugin - install -Dm755 Dexed.so "${pkgdir}/usr/lib/vst/Dexed.so" + install -Dm755 Builds/Linux/build/Dexed.vst3/Contents/$(uname -m)-linux/Dexed.so \ + -t "${pkgdir}/usr/lib/vst3/Dexed.vst3/Contents/$(uname -m)-linux/" + # install standalone program + install -Dm755 Builds/Linux/build/Dexed \ + "${pkgdir}/usr/bin/dexed" # install icon and desktop file - install -Dm755 Resources/ui/dexedIcon.png "${pkgdir}/usr/share/icons/hicolor/512x512/apps/dexed.png" - install -Dm755 "${srcdir}/dexed.desktop" "${pkgdir}/usr/share/applications/dexed.desktop" + install -Dm755 Resources/ui/dexedIcon.png \ + "${pkgdir}/usr/share/icons/hicolor/512x512/apps/dexed.png" + install -Dm755 "${srcdir}/dexed.desktop" \ + -t "${pkgdir}/usr/share/applications" } # vim:set ts=2 sw=2 et: |