summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'media-sound/terminatorx')
-rw-r--r--media-sound/terminatorx/Manifest1
-rw-r--r--media-sound/terminatorx/files/terminatorx-3.84-new-zlib.patch19
-rw-r--r--media-sound/terminatorx/metadata.xml5
-rw-r--r--media-sound/terminatorx/terminatorx-3.84-r1.ebuild65
4 files changed, 90 insertions, 0 deletions
diff --git a/media-sound/terminatorx/Manifest b/media-sound/terminatorx/Manifest
new file mode 100644
index 00000000000..8e9191d2c7e
--- /dev/null
+++ b/media-sound/terminatorx/Manifest
@@ -0,0 +1 @@
+DIST terminatorX-3.84.tar.gz 572143 SHA256 0680b94aa3cbe77d1f1193be2b84a7d7b250c213cfa2da68241a2294ac5dfc37 SHA512 9b538007acc98b1dd7bb2e310be53bcf1971a94e5c03ea8ca48c59b05f1a0bddd75bf30ab4cfb03d49165098ba63643eaa3bda117cdf833df2438c29a774db6c WHIRLPOOL 1cf156623ff6ea410a701ac3b5613740b6d55ce9cd40ad22bd75e44fc404241fd6737705beeb75ff7631be0615ab84938f88d6fcb62cc5561be978be66d73290
diff --git a/media-sound/terminatorx/files/terminatorx-3.84-new-zlib.patch b/media-sound/terminatorx/files/terminatorx-3.84-new-zlib.patch
new file mode 100644
index 00000000000..87b9ca85378
--- /dev/null
+++ b/media-sound/terminatorx/files/terminatorx-3.84-new-zlib.patch
@@ -0,0 +1,19 @@
+Description: Fix FTBFS errors with newer zlib.
+Author: Moritz Muehlenhoff <muehlenhoff@univention.de>
+Bug-Debian: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=663053
+Forwarded: no
+---
+ src/tX_midiin.cc | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+--- a/src/tX_midiin.cc
++++ b/src/tX_midiin.cc
+@@ -447,7 +447,7 @@ gboolean tX_midiin::midi_learn_destroy(G
+
+ void tX_midiin::store_connections(FILE *rc, char *indent)
+ {
+- gzFile *rz=NULL;
++ gzFile rz=NULL;
+
+ tX_store("%s<midi_connections>\n", indent);
+
diff --git a/media-sound/terminatorx/metadata.xml b/media-sound/terminatorx/metadata.xml
new file mode 100644
index 00000000000..0dc3775f83d
--- /dev/null
+++ b/media-sound/terminatorx/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>proaudio</herd>
+</pkgmetadata>
diff --git a/media-sound/terminatorx/terminatorx-3.84-r1.ebuild b/media-sound/terminatorx/terminatorx-3.84-r1.ebuild
new file mode 100644
index 00000000000..f7c4499f699
--- /dev/null
+++ b/media-sound/terminatorx/terminatorx-3.84-r1.ebuild
@@ -0,0 +1,65 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+GCONF_DEBUG="no"
+
+inherit gnome2 eutils
+
+MY_P=${P/terminatorx/terminatorX}
+DESCRIPTION='realtime audio synthesizer that allows you to "scratch" on digitally sampled audio data'
+HOMEPAGE="http://www.terminatorx.org/"
+SRC_URI="http://www.terminatorx.org/dist/${MY_P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 x86"
+IUSE="alsa debug mad vorbis sox"
+
+RDEPEND="
+ alsa? ( media-libs/alsa-lib )
+ mad? ( media-sound/madplay )
+ vorbis? ( media-libs/libvorbis )
+ sox? ( media-sound/sox
+ media-sound/mpg123 )
+ >=x11-libs/gtk+-2.2:2
+ >=dev-libs/glib-2.2:2
+ x11-libs/libXi
+ x11-libs/libXxf86dga
+ dev-libs/libxml2
+ media-libs/audiofile
+ media-libs/ladspa-sdk
+ media-libs/ladspa-cmt
+ app-text/scrollkeeper
+ media-libs/liblrdf
+"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig
+ x11-proto/xproto
+ x11-proto/inputproto
+ x11-proto/xf86dgaproto
+"
+
+S=${WORKDIR}/${MY_P}
+
+src_prepare() {
+ # Patch from debian to compile with recent zlib
+ epatch "${FILESDIR}"/${PN}-3.84-new-zlib.patch
+ gnome2_src_prepare
+}
+
+src_configure() {
+ gnome2_src_configure \
+ $(use_enable alsa) \
+ $(use_enable debug) \
+ $(use_enable mad) \
+ $(use_enable vorbis) \
+ $(use_enable sox)
+}
+
+src_install() {
+ gnome2_src_install
+ newicon gnome-support/terminatorX-app.png terminatorX.png
+ make_desktop_entry terminatorX terminatorX terminatorX AudioVideo
+}