diff options
author | Matsuu Takuto <matsuu@gentoo.org> | 2005-10-09 01:15:09 +0000 |
---|---|---|
committer | Matsuu Takuto <matsuu@gentoo.org> | 2005-10-09 01:15:09 +0000 |
commit | 4666855ff7a233ed793991140506adefc8260f1a (patch) | |
tree | cf026e8c2fb0d6b9497defede679ac50f492d152 /media-libs/dssi | |
parent | Fix typo in ChangeLog (diff) | |
download | gentoo-2-4666855ff7a233ed793991140506adefc8260f1a.tar.gz gentoo-2-4666855ff7a233ed793991140506adefc8260f1a.tar.bz2 gentoo-2-4666855ff7a233ed793991140506adefc8260f1a.zip |
Initial import. Bug 83082.
(Portage version: 2.0.51.22-r3)
Diffstat (limited to 'media-libs/dssi')
-rw-r--r-- | media-libs/dssi/ChangeLog | 10 | ||||
-rw-r--r-- | media-libs/dssi/Manifest | 3 | ||||
-rw-r--r-- | media-libs/dssi/dssi-0.9.ebuild | 55 | ||||
-rw-r--r-- | media-libs/dssi/files/digest-dssi-0.9 | 1 | ||||
-rw-r--r-- | media-libs/dssi/files/dssi-0.9-gentoo.patch | 77 | ||||
-rw-r--r-- | media-libs/dssi/metadata.xml | 6 |
6 files changed, 152 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> + |