diff options
author | Ben de Groot <yngwin@gentoo.org> | 2015-08-17 21:12:35 +0800 |
---|---|---|
committer | Ben de Groot <yngwin@gentoo.org> | 2015-08-17 21:12:35 +0800 |
commit | d95305cd00a515880700166df1299b6d173dd262 (patch) | |
tree | 04cd59a7005b7f9f012b58bdd29b5406832716ee | |
parent | metadata: add gitignore for md5cache (diff) | |
download | yngwin-d95305cd00a515880700166df1299b6d173dd262.tar.gz yngwin-d95305cd00a515880700166df1299b6d173dd262.tar.bz2 yngwin-d95305cd00a515880700166df1299b6d173dd262.zip |
media-sound/helm: initial commit
-rw-r--r-- | media-sound/helm/Manifest | 1 | ||||
-rw-r--r-- | media-sound/helm/files/helm-0.4.1-vst-location.patch | 20 | ||||
-rw-r--r-- | media-sound/helm/helm-0.4.1.ebuild | 43 | ||||
-rw-r--r-- | media-sound/helm/metadata.xml | 8 |
4 files changed, 72 insertions, 0 deletions
diff --git a/media-sound/helm/Manifest b/media-sound/helm/Manifest new file mode 100644 index 0000000..7090407 --- /dev/null +++ b/media-sound/helm/Manifest @@ -0,0 +1 @@ +DIST helm-0.4.1.tar.gz 10170154 SHA256 00fa6b973b3e13d574a19dc009e07cbbcb7823476ffc59cc89e6816b7a70bd72 SHA512 093abfd47a7f3e25d168df675b8a9c067a361ae1891af208c75ec4bc02d8a30cc5de4ab2433179bcbb6074c142c8ef9b4ef11b1854fdde0551fcd340dd6b8fe0 WHIRLPOOL 6d7297b2e064d24252d11b415225e081cb2033230aba013e774198b66e6ca89196691ed8db61d9baa02e7cc09497af61462f36244668a8b3469828388f3c5d49 diff --git a/media-sound/helm/files/helm-0.4.1-vst-location.patch b/media-sound/helm/files/helm-0.4.1-vst-location.patch new file mode 100644 index 0000000..faa1a17 --- /dev/null +++ b/media-sound/helm/files/helm-0.4.1-vst-location.patch @@ -0,0 +1,20 @@ +--- helm-0.4.1.orig/builds/linux/VST/Makefile 2015-08-04 06:06:31.000000000 +0800 ++++ helm-0.4.1/builds/linux/VST/Makefile 2015-08-17 20:09:55.781014640 +0800 +@@ -18,7 +18,7 @@ + TARGET_ARCH :=
+ endif
+
+- CPPFLAGS := $(DEPFLAGS) -D "LINUX=1" -D "DEBUG=1" -D "_DEBUG=1" -D "JUCER_LINUX_MAKE_1D79FBD2=1" -D "JUCE_APP_VERSION=0.4.1" -D "JUCE_APP_VERSION_HEX=0x401" -I /usr/include -I /usr/include/freetype2 -I ~/srcs/VST3\ SDK -I ~/srcs/vstsdk2.4 -I ../../../JuceLibraryCode -I ../../../JUCE/modules -I ../../../mopo/src -I ../../../src -I ../../../src/common -I ../../../src/editor_components -I ../../../src/editor_sections -I ../../../src/look_and_feel -I ../../../src/standalone -I ../../../src/synthesis
++ CPPFLAGS := $(DEPFLAGS) -D "LINUX=1" -D "DEBUG=1" -D "_DEBUG=1" -D "JUCER_LINUX_MAKE_1D79FBD2=1" -D "JUCE_APP_VERSION=0.4.1" -D "JUCE_APP_VERSION_HEX=0x401" -I /usr/include -I /usr/include/freetype2 -I /usr/share/vst-sdk/VST3-SDK -I ../../../JuceLibraryCode -I ../../../JUCE/modules -I ../../../mopo/src -I ../../../src -I ../../../src/common -I ../../../src/editor_components -I ../../../src/editor_sections -I ../../../src/look_and_feel -I ../../../src/standalone -I ../../../src/synthesis
+ CFLAGS += $(CPPFLAGS) $(TARGET_ARCH) -g -ggdb -fPIC -O0 -ffast-math -mtune=generic -msse -msse2 -mfpmath=sse
+ CXXFLAGS += $(CFLAGS) -std=c++11
+ LDFLAGS += $(TARGET_ARCH) -L$(BINDIR) -L$(LIBDIR) -Wl,--no-undefined -shared -L/usr/X11R6/lib/ -lGL -lX11 -lXext -lXinerama -lasound -ldl -lfreetype -lpthread -lrt -ffast-math -mtune=generic -msse -msse2 -mfpmath=sse
+@@ -38,7 +38,7 @@ + TARGET_ARCH :=
+ endif
+
+- CPPFLAGS := $(DEPFLAGS) -D "LINUX=1" -D "NDEBUG=1" -D "JUCER_LINUX_MAKE_1D79FBD2=1" -D "JUCE_APP_VERSION=0.4.1" -D "JUCE_APP_VERSION_HEX=0x401" -I /usr/include -I /usr/include/freetype2 -I ~/srcs/VST3\ SDK -I ~/srcs/vstsdk2.4 -I ../../../JuceLibraryCode -I ../../../JUCE/modules -I ../../../mopo/src -I ../../../src -I ../../../src/common -I ../../../src/editor_components -I ../../../src/editor_sections -I ../../../src/look_and_feel -I ../../../src/standalone -I ../../../src/synthesis
++ CPPFLAGS := $(DEPFLAGS) -D "LINUX=1" -D "NDEBUG=1" -D "JUCER_LINUX_MAKE_1D79FBD2=1" -D "JUCE_APP_VERSION=0.4.1" -D "JUCE_APP_VERSION_HEX=0x401" -I /usr/include -I /usr/include/freetype2 -I /usr/share/vst-sdk/VST3-SDK -I ../../../JuceLibraryCode -I ../../../JUCE/modules -I ../../../mopo/src -I ../../../src -I ../../../src/common -I ../../../src/editor_components -I ../../../src/editor_sections -I ../../../src/look_and_feel -I ../../../src/standalone -I ../../../src/synthesis
+ CFLAGS += $(CPPFLAGS) $(TARGET_ARCH) -fPIC -Os -ffast-math -mtune=generic -msse -msse2 -mfpmath=sse
+ CXXFLAGS += $(CFLAGS) -std=c++11
+ LDFLAGS += $(TARGET_ARCH) -L$(BINDIR) -L$(LIBDIR) -Wl,--no-undefined -shared -fvisibility=hidden -L/usr/X11R6/lib/ -lGL -lX11 -lXext -lXinerama -lasound -ldl -lfreetype -lpthread -lrt -ffast-math -mtune=generic -msse -msse2 -mfpmath=sse
diff --git a/media-sound/helm/helm-0.4.1.ebuild b/media-sound/helm/helm-0.4.1.ebuild new file mode 100644 index 0000000..ccaf268 --- /dev/null +++ b/media-sound/helm/helm-0.4.1.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 +inherit eutils + +DESCRIPTION="Open source polyphonic software synthesizer with lots of modulation" +HOMEPAGE="http://tytel.org/helm/" +SRC_URI="https://github.com/mtytel/helm/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-3+" +SLOT="0" +KEYWORDS="~amd64" +IUSE="vst" + +RDEPEND="media-libs/alsa-lib + media-libs/lv2 + virtual/opengl + x11-libs/libX11 + x11-libs/libXext" +DEPEND="${RDEPEND} + vst? ( >=media-libs/vst-sdk-2.4 )" + +DOCS="README.md" + +src_prepare() { + epatch "${FILESDIR}/${P}-vst-location.patch" + sed -e 's|/usr/lib/|/usr/'$(get_libdir)'/|' -i Makefile || die + epatch_user +} + +src_compile() { + emake PREFIX=/usr all $(usex vst vst '') +} + +src_install() { + default + if use vst; then + exeinto /usr/$(get_libdir)/vst + doexe builds/linux/VST/build/helm.so + fi +} diff --git a/media-sound/helm/metadata.xml b/media-sound/helm/metadata.xml new file mode 100644 index 0000000..eab4f9b --- /dev/null +++ b/media-sound/helm/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>proaudio</herd> + <use> + <flag name='vst'>Enable VST plugin</flag> + </use> +</pkgmetadata> |