summaryrefslogtreecommitdiff
path: root/pcr/helm/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'pcr/helm/PKGBUILD')
-rw-r--r--pcr/helm/PKGBUILD51
1 files changed, 33 insertions, 18 deletions
diff --git a/pcr/helm/PKGBUILD b/pcr/helm/PKGBUILD
index 3d56347ae..5849b36d8 100644
--- a/pcr/helm/PKGBUILD
+++ b/pcr/helm/PKGBUILD
@@ -1,33 +1,48 @@
-# Maintainer: André Silva <emulatorman@hyperbola.info>
-
-pkgname=helm
-pkgver=0.4.1
-pkgrel=1
-pkgdesc="A cross-platform, polyphonic synthesizer LV2 and VST plugin"
-arch=('i686' 'x86_64')
-url="http://tytel.org/helm/"
+# Maintainer (AUR): gato_lento <vukk.euob at gmail>
+# Based on helm-git PKGBUILD by: Christopher Arndt <aur -at- chrisarndt -dot- de>
+# Contributor: André Silva <emulatorman@hyperbola.info>
+
+# parabola changes and rationale:
+# - changed tarball name to reduce chance of collisions
+# - added missing depends: libxinerama jack libxcursor
+# - added patch to fix compile error against recent glibc
+
+pkgname='helm'
+pkgver=0.9.0
+pkgrel=3
+pkgdesc='a cross-platform, polyphonic synthesizer, available standalone and as an LV2 plugin'
+arch=('x86_64' 'i686' 'armv7h')
+url='http://tytel.org/helm/'
license=('GPL')
-groups=('lv2-plugins' 'vst-plugins')
-depends=('alsa-lib' 'mesa' 'mesa-libgl' 'lv2' 'freetype2' 'jack' 'libxrandr' 'libxinerama' 'libxcursor')
+groups=('lv2-plugins')
+depends=('alsa-lib' 'freetype2' 'mesa' 'lv2' 'libxinerama' 'jack' 'libxcursor')
+conflicts=('helm-git')
source=("${pkgname}-${pkgver}.tar.gz::https://github.com/mtytel/helm/archive/v${pkgver}.tar.gz"
- 'http://www.steinberg.net/sdk_downloads/vstsdk360_22_11_2013_build_100.zip')
-md5sums=('ffc3657235f1d97f9634a309281d9ec9'
- '1ac422ebb4aa2e86061278412c347b55')
+ "sigemptyset.patch")
+sha256sums=('4004c11fd1d773cc2a12adb5336873bc86c5ecbd370b8da2820fed6ef5ec58ad'
+ '66c442780c36b5a17c73be7f76b46ba9261e69591d15be4607c90214852b1454')
prepare() {
- cd "$srcdir/${pkgname}-${pkgver}/builds/linux/VST"
- sed -i -e "s|-I ~/srcs/VST3\\\\ SDK|-I $srcdir/VST3\\\\ SDK|" Makefile
+ cd "${srcdir}/${pkgname}-${pkgver}"
+
+ patch -Np1 -i "$srcdir"/sigemptyset.patch
+
+ for build in standalone/builds/linux builds/linux/VST builds/linux/LV2; do
+ sed -i -e 's|JUCE_INCLUDE_PNGLIB_CODE=0|JUCE_INCLUDE_PNGLIB_CODE=1|g' \
+ "${build}/Makefile"
+ done
}
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
- make PREFIX="/usr" all vst
+ CXXFLAGS="${CXXFLAGS} -DHAVE_LROUND -Wno-error"
+ make PREFIX="/usr" standalone lv2
}
package() {
cd "${srcdir}/${pkgname}-${pkgver}"
- make DESTDIR="$pkgdir" install
- install -D builds/linux/VST/build/helm.so "$pkgdir/usr/lib/vst/helm.so"
+ CXXFLAGS="${CXXFLAGS} -DHAVE_LROUND -Wno-error"
+ make DESTDIR="$pkgdir" install_standalone install_lv2
}