* [gentoo-commits] dev/yngwin:master commit in: media-sound/helm/files/, media-sound/helm/
@ 2015-08-17 13:12 Ben de Groot
0 siblings, 0 replies; 2+ messages in thread
From: Ben de Groot @ 2015-08-17 13:12 UTC (permalink / raw
To: gentoo-commits
commit: d95305cd00a515880700166df1299b6d173dd262
Author: Ben de Groot <yngwin <AT> gentoo <DOT> org>
AuthorDate: Mon Aug 17 13:12:35 2015 +0000
Commit: Ben de Groot <yngwin <AT> gentoo <DOT> org>
CommitDate: Mon Aug 17 13:12:35 2015 +0000
URL: https://gitweb.gentoo.org/dev/yngwin.git/commit/?id=d95305cd
media-sound/helm: initial commit
media-sound/helm/Manifest | 1 +
.../helm/files/helm-0.4.1-vst-location.patch | 20 ++++++++++
media-sound/helm/helm-0.4.1.ebuild | 43 ++++++++++++++++++++++
media-sound/helm/metadata.xml | 8 ++++
4 files changed, 72 insertions(+)
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>
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [gentoo-commits] dev/yngwin:master commit in: media-sound/helm/files/, media-sound/helm/
@ 2015-08-22 17:12 Ben de Groot
0 siblings, 0 replies; 2+ messages in thread
From: Ben de Groot @ 2015-08-22 17:12 UTC (permalink / raw
To: gentoo-commits
commit: 7d8c7d1e78d748c37c052c92856b7ee6fafecbe2
Author: Ben de Groot <yngwin <AT> gentoo <DOT> org>
AuthorDate: Sat Aug 22 17:06:35 2015 +0000
Commit: Ben de Groot <yngwin <AT> gentoo <DOT> org>
CommitDate: Sat Aug 22 17:06:35 2015 +0000
URL: https://gitweb.gentoo.org/dev/yngwin.git/commit/?id=7d8c7d1e
media-sound/helm: add live ebuild
Package-Manager: portage-2.2.20.1
media-sound/helm/Manifest | 1 -
.../helm/files/helm-0.4.1-vst-location.patch | 20 --------------------
media-sound/helm/files/helm-vst-location.patch | 21 +++++++++++++++++++++
.../helm/{helm-0.4.1.ebuild => helm-9999.ebuild} | 18 ++++++++++++++----
4 files changed, 35 insertions(+), 25 deletions(-)
diff --git a/media-sound/helm/Manifest b/media-sound/helm/Manifest
deleted file mode 100644
index 7090407..0000000
--- a/media-sound/helm/Manifest
+++ /dev/null
@@ -1 +0,0 @@
-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
deleted file mode 100644
index faa1a17..0000000
--- a/media-sound/helm/files/helm-0.4.1-vst-location.patch
+++ /dev/null
@@ -1,20 +0,0 @@
---- 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/files/helm-vst-location.patch b/media-sound/helm/files/helm-vst-location.patch
new file mode 100644
index 0000000..a82bc50
--- /dev/null
+++ b/media-sound/helm/files/helm-vst-location.patch
@@ -0,0 +1,21 @@
+diff -burN helm-9999.orig/builds/linux/VST/Makefile helm-9999/builds/linux/VST/Makefile
+--- helm-9999.orig/builds/linux/VST/Makefile 2015-08-23 00:52:12.611831553 +0800
++++ helm-9999/builds/linux/VST/Makefile 2015-08-23 00:54:20.018838145 +0800
+@@ -18,7 +18,7 @@
+ TARGET_ARCH :=
+ endif
+
+- CPPFLAGS := $(DEPFLAGS) -std=c++11 -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) -std=c++11 -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/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
+ CXXFLAGS += $(CFLAGS)
+ 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
+@@ -38,7 +38,7 @@
+ TARGET_ARCH :=
+ endif
+
+- CPPFLAGS := $(DEPFLAGS) -std=c++11 -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) -std=c++11 -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/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
+ CXXFLAGS += $(CFLAGS)
+ 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
diff --git a/media-sound/helm/helm-0.4.1.ebuild b/media-sound/helm/helm-9999.ebuild
similarity index 60%
rename from media-sound/helm/helm-0.4.1.ebuild
rename to media-sound/helm/helm-9999.ebuild
index ccaf268..128e90d 100644
--- a/media-sound/helm/helm-0.4.1.ebuild
+++ b/media-sound/helm/helm-9999.ebuild
@@ -7,15 +7,22 @@ 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+"
+LICENSE="GPL-3+ CC-BY-3.0"
SLOT="0"
-KEYWORDS="~amd64"
IUSE="vst"
+if [[ ${PV} == *9999* ]]; then
+ EGIT_REPO_URI="https://github.com/mtytel/helm.git"
+ inherit git-r3
+else
+ SRC_URI="https://github.com/mtytel/helm/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+ KEYWORDS="~amd64"
+fi
+
RDEPEND="media-libs/alsa-lib
media-libs/lv2
+ media-sound/jack-audio-connection-kit
virtual/opengl
x11-libs/libX11
x11-libs/libXext"
@@ -25,7 +32,9 @@ DEPEND="${RDEPEND}
DOCS="README.md"
src_prepare() {
- epatch "${FILESDIR}/${P}-vst-location.patch"
+ rm patches/Synth/.DS_Store || die
+ rm {images,patches}/LICENSE || die
+ epatch "${FILESDIR}"/helm-vst-location.patch
sed -e 's|/usr/lib/|/usr/'$(get_libdir)'/|' -i Makefile || die
epatch_user
}
@@ -40,4 +49,5 @@ src_install() {
exeinto /usr/$(get_libdir)/vst
doexe builds/linux/VST/build/helm.so
fi
+ make_desktop_entry /usr/bin/helm Helm /usr/share/helm/icons/helm_icon_32_1x.png
}
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2015-08-22 17:12 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-08-22 17:12 [gentoo-commits] dev/yngwin:master commit in: media-sound/helm/files/, media-sound/helm/ Ben de Groot
-- strict thread matches above, loose matches on Subject: below --
2015-08-17 13:12 Ben de Groot
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox