summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatsuu Takuto <matsuu@gentoo.org>2005-10-09 01:15:09 +0000
committerMatsuu Takuto <matsuu@gentoo.org>2005-10-09 01:15:09 +0000
commit4666855ff7a233ed793991140506adefc8260f1a (patch)
treecf026e8c2fb0d6b9497defede679ac50f492d152
parentFix typo in ChangeLog (diff)
downloadgentoo-2-4666855ff7a233ed793991140506adefc8260f1a.tar.gz
gentoo-2-4666855ff7a233ed793991140506adefc8260f1a.tar.bz2
gentoo-2-4666855ff7a233ed793991140506adefc8260f1a.zip
Initial import. Bug 83082.
(Portage version: 2.0.51.22-r3)
-rw-r--r--media-libs/dssi/ChangeLog10
-rw-r--r--media-libs/dssi/Manifest3
-rw-r--r--media-libs/dssi/dssi-0.9.ebuild55
-rw-r--r--media-libs/dssi/files/digest-dssi-0.91
-rw-r--r--media-libs/dssi/files/dssi-0.9-gentoo.patch77
-rw-r--r--media-libs/dssi/metadata.xml6
-rw-r--r--media-libs/fluidsynth-dssi/ChangeLog10
-rw-r--r--media-libs/fluidsynth-dssi/Manifest2
-rw-r--r--media-libs/fluidsynth-dssi/files/digest-fluidsynth-dssi-0.9.11
-rw-r--r--media-libs/fluidsynth-dssi/fluidsynth-dssi-0.9.1.ebuild25
-rw-r--r--media-libs/fluidsynth-dssi/metadata.xml6
11 files changed, 196 insertions, 0 deletions
diff --git a/media-libs/dssi/ChangeLog b/media-libs/dssi/ChangeLog
new file mode 100644
index 000000000000..475931b12520
--- /dev/null
+++ b/media-libs/dssi/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for media-libs/dssi
+# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/media-libs/dssi/ChangeLog,v 1.1 2005/10/09 01:12:02 matsuu Exp $
+
+*dssi-0.9 (09 Oct 2005)
+
+ 09 Oct 2005; MATSUU Takuto <matsuu@gentoo.org>
+ +files/dssi-0.9-gentoo.patch, +dssi-0.9.ebuild:
+ Initial import. Bug 83082.
+
diff --git a/media-libs/dssi/Manifest b/media-libs/dssi/Manifest
new file mode 100644
index 000000000000..42973369708e
--- /dev/null
+++ b/media-libs/dssi/Manifest
@@ -0,0 +1,3 @@
+MD5 49d8cd314f6910deb994de12a16ae85b dssi-0.9.ebuild 1272
+MD5 60334803a138fa9d85603be2da373328 files/digest-dssi-0.9 59
+MD5 f6070fc58d0162fcb89471091611bc5d files/dssi-0.9-gentoo.patch 3158
diff --git a/media-libs/dssi/dssi-0.9.ebuild b/media-libs/dssi/dssi-0.9.ebuild
new file mode 100644
index 000000000000..089ced6bd9f4
--- /dev/null
+++ b/media-libs/dssi/dssi-0.9.ebuild
@@ -0,0 +1,55 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-libs/dssi/dssi-0.9.ebuild,v 1.1 2005/10/09 01:12:02 matsuu Exp $
+
+inherit eutils multilib
+
+IUSE="qt"
+
+DESCRIPTION="DSSI Soft Synth Interface"
+HOMEPAGE="http://dssi.sourceforge.net/"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
+
+LICENSE="LGPL-2.1 BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+DEPEND=">=media-libs/alsa-lib-1.0
+ >=media-libs/liblo-0.12
+ >=media-sound/jack-audio-connection-kit-0.99.0-r1
+ >=media-libs/ladspa-sdk-1.12-r2
+ >=media-libs/libsndfile-1.0.11
+ >=media-libs/libsamplerate-0.1.1-r1
+ sys-apps/sed
+ dev-util/pkgconfig
+ qt? ( >=x11-libs/qt-3 )"
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+ epatch ${FILESDIR}/${P}-gentoo.patch
+ sed -i -e "s@^prefix=.*@prefix='/usr'@" \
+ -e "s@^libdir=.*@libdir='/usr/$(get_libdir)'@" dssi.pc || die
+}
+
+src_compile() {
+ emake OPTFLAGS="${CFLAGS}" -C jack-dssi-host || die "emake failed"
+ if use qt; then
+ emake OPTFLAGS="${CFLAGS}" -C examples || die "emake faild"
+ fi
+}
+
+src_install() {
+ dobin jack-dssi-host/jack-dssi-host
+ insinto /usr/include; doins dssi/dssi.h
+ insinto /usr/$(get_libdir)/pkgconfig; doins dssi.pc
+
+ if use qt; then
+ emake -C examples \
+ PREFIX=${D}/usr \
+ LIBDIR=${D}/usr/$(get_libdir) \
+ install || die
+ fi
+
+ dodoc README doc/TODO doc/*.txt
+}
diff --git a/media-libs/dssi/files/digest-dssi-0.9 b/media-libs/dssi/files/digest-dssi-0.9
new file mode 100644
index 000000000000..dbc53e0046df
--- /dev/null
+++ b/media-libs/dssi/files/digest-dssi-0.9
@@ -0,0 +1 @@
+MD5 9c4bfcbe53215ff845116eacd8b88e54 dssi-0.9.tar.gz 95442
diff --git a/media-libs/dssi/files/dssi-0.9-gentoo.patch b/media-libs/dssi/files/dssi-0.9-gentoo.patch
new file mode 100644
index 000000000000..91a8269824d6
--- /dev/null
+++ b/media-libs/dssi/files/dssi-0.9-gentoo.patch
@@ -0,0 +1,77 @@
+diff -Naur dssi-0.9.orig/examples/Makefile dssi-0.9/examples/Makefile
+--- dssi-0.9.orig/examples/Makefile 2004-10-28 20:46:08.000000000 +0900
++++ dssi-0.9/examples/Makefile 2005-10-09 09:58:06.000000000 +0900
+@@ -1,5 +1,6 @@
+
+ PREFIX ?= /usr/local
++LIBDIR ?= $(PREFIX)/lib
+
+ LIBLO_CFLAGS ?= $(shell pkg-config liblo --cflags)
+ LIBLO_LIBS ?= $(shell pkg-config liblo --libs || echo -llo -lpthread)
+@@ -25,19 +26,20 @@
+ install: all
+ mkdir -p $(PREFIX)/bin
+ cp dssi_osc_update dssi_osc_send $(PREFIX)/bin/
+- mkdir -p $(PREFIX)/lib/dssi
+- cp trivial_synth.so $(PREFIX)/lib/dssi/
+- cp trivial_sampler.so $(PREFIX)/lib/dssi/
+- mkdir -p $(PREFIX)/lib/dssi/less_trivial_synth
+- cp less_trivial_synth.so $(PREFIX)/lib/dssi/
+- cp less_trivial_synth_qt_gui $(PREFIX)/lib/dssi/less_trivial_synth/LTS_qt
+- mkdir -p $(PREFIX)/lib/dssi/trivial_sampler
+- cp trivial_sampler.so $(PREFIX)/lib/dssi/
+- cp trivial_sampler_qt_gui $(PREFIX)/lib/dssi/trivial_sampler/trivial_sampler_qt
++ mkdir -p $(LIBDIR)/dssi
++ cp trivial_synth.so $(LIBDIR)/dssi/
++ cp trivial_sampler.so $(LIBDIR)/dssi/
++ mkdir -p $(LIBDIR)/dssi/less_trivial_synth
++ cp less_trivial_synth.so $(LIBDIR)/dssi/
++ cp less_trivial_synth_qt_gui $(LIBDIR)/dssi/less_trivial_synth/LTS_qt
++ mkdir -p $(LIBDIR)/dssi/trivial_sampler
++ cp trivial_sampler.so $(LIBDIR)/dssi/
++ cp trivial_sampler_qt_gui $(LIBDIR)/dssi/trivial_sampler/trivial_sampler_qt
+ test -x $(PREFIX)/bin/jack-dssi-host && ln -sf jack-dssi-host $(PREFIX)/bin/trivial_sampler
+
+
+-CFLAGS = -Wall -O2 -I../dssi $(LIBLO_CFLAGS)
++OPTFLAGS=
++CFLAGS = $(OPTFLAGS) -fPIC -Wall -I../dssi $(LIBLO_CFLAGS)
+ CXXFLAGS = $(CFLAGS) -I$(QTINCDIR)
+ LDLIBS = $(LIBLO_LIBS)
+
+diff -Naur dssi-0.9.orig/examples/trivial_sampler_qt_gui.cpp dssi-0.9/examples/trivial_sampler_qt_gui.cpp
+--- dssi-0.9.orig/examples/trivial_sampler_qt_gui.cpp 2004-10-28 20:46:08.000000000 +0900
++++ dssi-0.9/examples/trivial_sampler_qt_gui.cpp 2005-10-09 09:58:38.000000000 +0900
+@@ -24,6 +24,7 @@
+ #include <iostream>
+ #include <unistd.h>
+ #include <sndfile.h>
++#include <cmath>
+
+ #include "dssi.h"
+
+diff -Naur dssi-0.9.orig/jack-dssi-host/Makefile dssi-0.9/jack-dssi-host/Makefile
+--- dssi-0.9.orig/jack-dssi-host/Makefile 2004-10-01 20:57:26.000000000 +0900
++++ dssi-0.9/jack-dssi-host/Makefile 2005-10-09 09:55:40.000000000 +0900
+@@ -10,7 +10,8 @@
+ mkdir -p $(PREFIX)/bin
+ cp jack-dssi-host $(PREFIX)/bin/
+
+-CFLAGS = -Wall -g3 -I../dssi $(shell pkg-config liblo --cflags)
++OPTFLAGS=
++CFLAGS = $(OPTFLAGS) -fPIC -Wall -g3 -I../dssi $(shell pkg-config liblo --cflags)
+ CXXFLAGS = $(CFLAGS)
+
+ LDLIBS = -ljack -lasound -lpthread $(shell pkg-config liblo --libs)
+diff -Naur dssi-0.9.orig/jack-dssi-host/jack-dssi-host.c dssi-0.9/jack-dssi-host/jack-dssi-host.c
+--- dssi-0.9.orig/jack-dssi-host/jack-dssi-host.c 2004-11-02 23:14:49.000000000 +0900
++++ dssi-0.9/jack-dssi-host/jack-dssi-host.c 2005-10-09 09:53:57.000000000 +0900
+@@ -597,7 +597,7 @@
+ }
+
+ if (fork() == 0) {
+- execlp(filename, filename, oscUrl, dllName, label, instanceTag, 0);
++ execlp(filename, filename, oscUrl, dllName, label, instanceTag, NULL);
+ perror("exec failed");
+ exit(1);
+ }
diff --git a/media-libs/dssi/metadata.xml b/media-libs/dssi/metadata.xml
new file mode 100644
index 000000000000..c99631dace88
--- /dev/null
+++ b/media-libs/dssi/metadata.xml
@@ -0,0 +1,6 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>sound</herd>
+</pkgmetadata>
+
diff --git a/media-libs/fluidsynth-dssi/ChangeLog b/media-libs/fluidsynth-dssi/ChangeLog
new file mode 100644
index 000000000000..38770e6b2b3c
--- /dev/null
+++ b/media-libs/fluidsynth-dssi/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for media-libs/fluidsynth-dssi
+# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/media-libs/fluidsynth-dssi/ChangeLog,v 1.1 2005/10/09 01:15:09 matsuu Exp $
+
+*fluidsynth-dssi-0.9.1 (09 Oct 2005)
+
+ 09 Oct 2005; MATSUU Takuto <matsuu@gentoo.org>
+ +fluidsynth-dssi-0.9.1.ebuild:
+ Initial import. Bug 83082.
+
diff --git a/media-libs/fluidsynth-dssi/Manifest b/media-libs/fluidsynth-dssi/Manifest
new file mode 100644
index 000000000000..a4e06c6e69d5
--- /dev/null
+++ b/media-libs/fluidsynth-dssi/Manifest
@@ -0,0 +1,2 @@
+MD5 9c22c6de939bb05ff4f862386eb18b65 fluidsynth-dssi-0.9.1.ebuild 548
+MD5 f0a08f2bb47564f1460fcdd326d2dd2b files/digest-fluidsynth-dssi-0.9.1 73
diff --git a/media-libs/fluidsynth-dssi/files/digest-fluidsynth-dssi-0.9.1 b/media-libs/fluidsynth-dssi/files/digest-fluidsynth-dssi-0.9.1
new file mode 100644
index 000000000000..79ad218b3149
--- /dev/null
+++ b/media-libs/fluidsynth-dssi/files/digest-fluidsynth-dssi-0.9.1
@@ -0,0 +1 @@
+MD5 06bce40ec6c86545d0587e9364bba116 fluidsynth-dssi-0.9.1.tar.gz 343784
diff --git a/media-libs/fluidsynth-dssi/fluidsynth-dssi-0.9.1.ebuild b/media-libs/fluidsynth-dssi/fluidsynth-dssi-0.9.1.ebuild
new file mode 100644
index 000000000000..266d44368009
--- /dev/null
+++ b/media-libs/fluidsynth-dssi/fluidsynth-dssi-0.9.1.ebuild
@@ -0,0 +1,25 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-libs/fluidsynth-dssi/fluidsynth-dssi-0.9.1.ebuild,v 1.1 2005/10/09 01:15:09 matsuu Exp $
+
+IUSE=""
+
+DESCRIPTION="DSSI Soft Synth Interface"
+HOMEPAGE="http://dssi.sourceforge.net/"
+SRC_URI="mirror://sourceforge/dssi/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+DEPEND=">=media-libs/dssi-0.9.0
+ >=x11-libs/gtk+-2
+ >=media-libs/liblo-0.12
+ >=media-sound/fluidsynth-1.0.3
+ dev-util/pkgconfig"
+
+src_install() {
+ make DESTDIR="${D}" install || die
+
+ dodoc ChangeLog READDME TODO
+}
diff --git a/media-libs/fluidsynth-dssi/metadata.xml b/media-libs/fluidsynth-dssi/metadata.xml
new file mode 100644
index 000000000000..c99631dace88
--- /dev/null
+++ b/media-libs/fluidsynth-dssi/metadata.xml
@@ -0,0 +1,6 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>sound</herd>
+</pkgmetadata>
+