From 5176ec8af36f8e9314cd5d93f2c66aed46514803 Mon Sep 17 00:00:00 2001 From: Olga U Date: Wed, 14 Feb 2018 07:56:53 +0700 Subject: [PATCH] New package: helm-0.9.0 Closes: #11625 [via git-merge-pr] --- srcpkgs/helm/patches/fix_sigemptyset.patch | 16 ++++++++++++++++ srcpkgs/helm/template | 18 ++++++++++++++++++ 2 files changed, 34 insertions(+) create mode 100644 srcpkgs/helm/patches/fix_sigemptyset.patch create mode 100644 srcpkgs/helm/template diff --git a/srcpkgs/helm/patches/fix_sigemptyset.patch b/srcpkgs/helm/patches/fix_sigemptyset.patch new file mode 100644 index 00000000000..7889ac16c00 --- /dev/null +++ b/srcpkgs/helm/patches/fix_sigemptyset.patch @@ -0,0 +1,16 @@ +diff --git JUCE/modules/juce_audio_formats/codecs/flac/libFLAC/cpu.c JUCE/modules/juce_audio_formats/codecs/flac/libFLAC/cpu.c +index 4eac42e..b477709 100644 +--- JUCE/modules/juce_audio_formats/codecs/flac/libFLAC/cpu.c ++++ JUCE/modules/juce_audio_formats/codecs/flac/libFLAC/cpu.c +@@ -244,11 +244,7 @@ void FLAC__cpu_info(FLAC__CPUInfo *info) + struct sigaction sigill_save; + struct sigaction sigill_sse; + sigill_sse.sa_sigaction = sigill_handler_sse_os; +- #ifdef __ANDROID__ + sigemptyset (&sigill_sse.sa_mask); +- #else +- __sigemptyset(&sigill_sse.sa_mask); +- #endif + sigill_sse.sa_flags = SA_SIGINFO | SA_RESETHAND; /* SA_RESETHAND just in case our SIGILL return jump breaks, so we don't get stuck in a loop */ + if(0 == sigaction(SIGILL, &sigill_sse, &sigill_save)) + { diff --git a/srcpkgs/helm/template b/srcpkgs/helm/template new file mode 100644 index 00000000000..24c00a2662e --- /dev/null +++ b/srcpkgs/helm/template @@ -0,0 +1,18 @@ +# Template file for 'helm'. +pkgname=helm +version=0.9.0 +revision=1 +build_style=gnu-makefile +hostmakedepends="pkg-config" +makedepends="alsa-lib-devel libcurl-devel libX11-devel libXext-devel libXinerama-devel freetype-devel MesaLib-devel jack-devel libXcursor-devel" +maintainer="Olga Ustuzhanina " +short_desc="Polyphonic synth with lots of modulation" +homepage="http://tytel.org/helm" +license="GPL-3" +distfiles="https://github.com/mtytel/helm/archive/v${version}.tar.gz" +checksum=4004c11fd1d773cc2a12adb5336873bc86c5ecbd370b8da2820fed6ef5ec58ad +nocross="Uses uname -m to set SIMDFLAGS. Should be based on the target, not the host, architecture" + +case "$XBPS_TARGET_MACHINE" in + *-musl) broken="Doesn't compile on musl because JUCE depends on execinfo.h" +esac