summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorosch2020-08-03 10:30:40 +0200
committerosch2020-08-03 10:30:40 +0200
commit3c230f294732e00b1dd3db7e5be1205781032c1a (patch)
treef8dda9720ea18de3d37c84412ba4356ce4249a99
parenta133041a314eb1ea236b503fbe0efbf8b6e5480d (diff)
downloadaur-3c230f294732e00b1dd3db7e5be1205781032c1a.tar.gz
surge-complete 1.7.1
-rw-r--r--.SRCINFO30
-rw-r--r--PKGBUILD64
2 files changed, 56 insertions, 38 deletions
diff --git a/.SRCINFO b/.SRCINFO
index ae502c5c0a5..bd4157e33c5 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,16 +1,22 @@
-pkgbase = surge-synthesizer
- pkgdesc = Surge Synthesizer plugin
- pkgver = 1.6.6
+pkgbase = surge-complete
+ pkgdesc = Surge Synthesizer for all possible plugin types (LV2/VST2/VST3)
+ pkgver = 1.7.1
pkgrel = 1
- url = https://surge-synthesizer.github.io
+ url = https://surge-synthesizer.github.io/
arch = x86_64
groups = vst-plugins
groups = lv2-plugins
+ groups = vst3-plugins
+ groups = pro-audio
license = GPL3
makedepends = steinberg-vst36
makedepends = premake-git
- makedepends = git
makedepends = rsync
+ makedepends = cmake
+ makedepends = libsndfile
+ makedepends = lv2
+ makedepends = python
+ makedepends = steinberg-vst36
depends = cairo
depends = fontconfig
depends = freetype2
@@ -23,10 +29,16 @@ pkgbase = surge-synthesizer
depends = ttf-lato
depends = xdg-utils
depends = zenity
- provides = surge-synthesizer
+ depends = gcc-libs
+ depends = glibc
+ depends = libxkbcommon-x11
+ depends = xcb-util-keysyms
+ provides = surge
conflicts = surge-synthesizer
- source = git+https://github.com/surge-synthesizer/surge.git
- md5sums = SKIP
+ conflicts = surge
+ source = surge-1.7.1.tgz::https://github.com/surge-synthesizer/releases/releases/download/1.7.1/SurgeSrc_1.7.1.tgz
+ sha512sums = 9fd9261a43037e761fb9e5e4f9f6d931e2ce18a0dd86aff23a2e0cac39a82aa737fbe28f8ee06fa735d3ae39acbb467db88e8f81f3c7f1ae39bee3f6565804c6
+ b2sums = 2ec20a5be006a6e619a5e88747a2730524ca9f65b5af015843f5aeb1dd791f561739152eee5efd945e2d20ab940fc929e90dd0623db3044a9287a86621075420
-pkgname = surge-synthesizer
+pkgname = surge-complete
diff --git a/PKGBUILD b/PKGBUILD
index 8d8a585a60c..0866b2aa010 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,23 +1,26 @@
# Maintainer: osch <oliver@luced.de>
-pkgname=surge-synthesizer
-pkgver=1.6.6
-scmver=1.6.6
+
+pkgname=surge-complete
+pkgver=1.7.1
pkgrel=1
-pkgdesc="Surge Synthesizer plugin"
+pkgdesc="Surge Synthesizer for all possible plugin types (LV2/VST2/VST3)"
arch=('x86_64')
-url="https://surge-synthesizer.github.io"
+url="https://surge-synthesizer.github.io/"
license=('GPL3')
-groups=('vst-plugins' 'lv2-plugins')
-depends=('cairo' 'fontconfig' 'freetype2'
+groups=('vst-plugins' 'lv2-plugins' 'vst3-plugins' 'pro-audio' )
+depends=('cairo' 'fontconfig' 'freetype2'
'libx11' 'xcb-util-cursor' 'xcb-util'
'libxcb' 'xcb-util-renderutil' 'xcb-util-image'
- 'ttf-lato' 'xdg-utils' 'zenity')
-makedepends=('steinberg-vst36' 'premake-git' 'git' 'rsync')
-provides=("surge-synthesizer")
-conflicts=('surge-synthesizer')
-source=("git+https://github.com/surge-synthesizer/surge.git")
-options=()
-md5sums=('SKIP')
+ 'ttf-lato' 'xdg-utils' 'zenity'
+ 'gcc-libs' 'glibc' 'libxkbcommon-x11'
+ 'xcb-util-keysyms' )
+makedepends=('steinberg-vst36' 'premake-git' 'git' 'rsync'
+ 'cmake' 'libsndfile' 'lv2' 'python')
+provides=("surge")
+conflicts=('surge-synthesizer' 'surge')
+source=("surge-${pkgver}.tgz::https://github.com/surge-synthesizer/releases/releases/download/${pkgver}/SurgeSrc_${pkgver}.tgz")
+sha512sums=('9fd9261a43037e761fb9e5e4f9f6d931e2ce18a0dd86aff23a2e0cac39a82aa737fbe28f8ee06fa735d3ae39acbb467db88e8f81f3c7f1ae39bee3f6565804c6')
+b2sums=('2ec20a5be006a6e619a5e88747a2730524ca9f65b5af015843f5aeb1dd791f561739152eee5efd945e2d20ab940fc929e90dd0623db3044a9287a86621075420')
prepare() {
export VST2SDK_DIR="$srcdir/vst2sdk"
@@ -34,35 +37,38 @@ prepare() {
cd "$srcdir"
cd surge
- git checkout release/$scmver
- git submodule sync
- git submodule update --init --recursive
-
sed -i -e 's:dest_path="/:dest_path="$DEST_DIR/:' build-linux.sh
sed -i -e 's:data_path="/:data_path="$DEST_DIR/:' build-linux.sh
- echo "$scmver" > VERSION
+ echo "$pkgver" > VERSION
+ sed -e "s/@SURGE_BUILD_ARCH@/${CARCH}/g" \
+ -e "s/@SURGE_FULL_VERSION@/${pkgver}/g" \
+ -i src/common/version.cpp.in
}
build() {
- export VST2SDK_DIR="$srcdir/vst2sdk"
cd "$srcdir/surge"
+ export VST2SDK_DIR="$srcdir/vst2sdk"
export MAKEFLAGS="-j1" # workaround for broken build script
./build-linux.sh clean-all
- ./build-linux.sh -p vst2 build
- ./build-linux.sh -p vst3 build
- ./build-linux.sh -p lv2 build
+ ./build-linux.sh -p vst2 build
+ ./build-linux.sh -p vst3 build
+ ./build-linux.sh -p lv2 build
+ ./build-linux.sh -p headless build
}
package() {
- export VST2SDK_DIR="$srcdir/vst2sdk"
cd "$srcdir/surge"
+ export VST2SDK_DIR="$srcdir/vst2sdk"
export DEST_DIR="$pkgdir"
mkdir -p "$DEST_DIR/usr/share"
mkdir -p "$DEST_DIR/usr/lib/vst"
export MAKEFLAGS="-j1" # just to be sure (s.a.)
- ./build-linux.sh -p vst2 install
- ./build-linux.sh -p vst3 install
- ./build-linux.sh -p lv2 install
- mkdir -p "$DEST_DIR/usr/share/Surge/doc"
- cp LICENSE "$DEST_DIR/usr/share/Surge/doc"
+ ./build-linux.sh -p vst2 install
+ ./build-linux.sh -p vst3 install
+ ./build-linux.sh -p lv2 install
+ ./build-linux.sh -p headless install
+ mkdir -p "$DEST_DIR/usr/share/surge/doc"
+ cp LICENSE "$DEST_DIR/usr/share/surge/doc"
+ cp AUTHORS "$DEST_DIR/usr/share/surge/doc"
+ cp README.md "$DEST_DIR/usr/share/surge/doc"
}