summaryrefslogtreecommitdiff
path: root/media-libs/tse3
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /media-libs/tse3
reinit the tree, so we can have metadata
Diffstat (limited to 'media-libs/tse3')
-rw-r--r--media-libs/tse3/Manifest10
-rw-r--r--media-libs/tse3/files/tse3-0.2.7-gcc4.patch10
-rw-r--r--media-libs/tse3/files/tse3-0.2.7-size_t-64bit.patch25
-rw-r--r--media-libs/tse3/files/tse3-0.3.1+gcc-4.3.patch80
-rw-r--r--media-libs/tse3/files/tse3-0.3.1-parallelmake.patch11
-rw-r--r--media-libs/tse3/metadata.xml11
-rw-r--r--media-libs/tse3/tse3-0.3.1-r1.ebuild50
7 files changed, 197 insertions, 0 deletions
diff --git a/media-libs/tse3/Manifest b/media-libs/tse3/Manifest
new file mode 100644
index 000000000000..6191dfe25a5e
--- /dev/null
+++ b/media-libs/tse3/Manifest
@@ -0,0 +1,10 @@
+AUX tse3-0.2.7-gcc4.patch 290 SHA256 27d0f04ca6f094965aae109d70c6918195977a49f4dbcde4fc6c199a54c03c1a SHA512 07421f043f979b02aa17caa03752bfef7dff8a4e0a04135ff947c36c75ea1c7b019cef0e74e4a03e61bbc5941e5ca82c2c7b3120f4c053774de11635c57611c8 WHIRLPOOL 38d987316aa882d874699a3335b0fc1ade02ac169900d7c1d38ff47d2e070f33deb14564ea05d3eb861d333a9f7c198e7a586f44c16110ad0e026079dd519ee7
+AUX tse3-0.2.7-size_t-64bit.patch 1089 SHA256 9f4d3e2a5f8abdb447cd4d5c3a369520b769f806252d5de2be9e5f8f01f2a49a SHA512 cffae23b4611791698b349debc9bbb7caf5650502d0ce8aee6186f7a671d7c1a7cde29a340b5b220f4df58166800cff823065d76ac8491b5819e0598e1f4b580 WHIRLPOOL 2192e6bf5612081cc9981eb91e16b3e6c1de3ef7ec48c176de4c0caaccdb5da7faa8a475fcf0ef510a2af5a646b5d8a561bb61e90c23b1a8a05ee976c1226aab
+AUX tse3-0.3.1+gcc-4.3.patch 1974 SHA256 7bc57c058d755cc398dab8aa13f71882d0d0728621b71d477efe997d32d67967 SHA512 e88dd2be90bb01bb6d6f684d9822374f9e149481200bc0ae0ae5098b36ccc64a387f234c8e5a7e8c30fb988f157a8ba8f5aa732639e60f76d3e1ba6624d688d2 WHIRLPOOL b34accbe766375cc297e2bf020b1dcb9a0c70f38b023f1e549eccda90b7b36e875f1fe9599365e85b2c68b05e5412aaa83af2d085d04f6adf5250d67f60ece27
+AUX tse3-0.3.1-parallelmake.patch 305 SHA256 2c723b4ef85425f4480be9e3c63c3ec93d15586ec8b7a03d210035c86e0b2e7f SHA512 c8b8e30122b8c52421c154e686445f79c018281582511d9f273a41b4a83602470fdae38e097dca5b912837f95d0758b61e661cbb5f6c13dc5bbb2310bb6899f3 WHIRLPOOL d9eeb3408585969648daa95e2390ef9807c8cd35890d38ee6c6c79fa724e1012b20b3953d245da7feb83dcccff9facf82f300b7d17a023116f71686490d74d7f
+DIST tse3-0.3.1-awe_voice.h.tbz2 5681 SHA256 46167594fbdee44933fb7be0d5ae56c27ab1d107bd6cae6fab7b5d4dcafc88b5 SHA512 3b935891ed21936518ca0351fa2fc4affc2e4ba680ab7fab00073e9fa5f13f98c7af73d9a2383c7c3f1df3c323311b7ec6c0a64f2543cbbad35d9ff9db843ec3 WHIRLPOOL 8dd1e55e14a99b4cc71370ebdccd709326beae9bcca609ecbd61d8f4b04a5c544a8357296d9609a9c9fda7ac27ee86df210070459929b0deddb69076cb8edfb6
+DIST tse3-0.3.1.tar.gz 755666 SHA256 780e1669789e762f489029c53f2fc6c571ba24740290ed0717bc1dcb7d547ba6 SHA512 cff94f274f90e61257eeda532f56b77ef0d2d03371876c2e6fb739ac32dcf107254702464c9c62a672e7c3e31bd063dc84a311daa0218df710bada8399d49860 WHIRLPOOL 19482cb22eb21689251180226d2953091a54c89cb213f4a5d6652c7d75ca7ca67a64b223adcf3ccad004073de17014450e1d8f97425056b7424855ac7761e9bd
+EBUILD tse3-0.3.1-r1.ebuild 1104 SHA256 bc6ea2b24ad979dfbc43cfefd2423ae630050b413f1a5d0f756234f17873850a SHA512 6b34f816e3b87379c8816c7c7007b30fe1332ae3401b7d361b7a66fcf65dc507764b85de6ee331e0c061b3aa8aab2d8ebe64feae8fbc32b1f5f8c7e2b91a1a14 WHIRLPOOL 2ef4b6b655e099c9c4c8b28f2692f7cf039b2fe5e475bf2a321aa9c85997331d98d92e36ee2c543852d759236bd44e398a9ef905ef8a6d6e5518c8e688a2c6ed
+MISC ChangeLog 2569 SHA256 35a4dee610779cd9cbd24b2b81cfb67d231d38ce4fee3d950e4ef242f8108a14 SHA512 9b30c878f9eaecfd6f1a612a590e9a577313a0ad2ca1acffe9ee4df5b1a0e14f3286ee364794d247fd652865eea068fe1c0140d40270bd2424b28f5938df43ab WHIRLPOOL 82e4cf8baae147a82980886b6b66821f443a65985b081397c0c5e40b933481ee6815f06da0e8208e61026228cb7d99ad1bb9047f9b14beedd5609165f9d8172f
+MISC ChangeLog-2015 4060 SHA256 ee33cfa3b55af4a9938be0cbefcf5e8f448db44d041b63cb9da3a71e34e618b3 SHA512 2836f4b46a73cd38df83997ad739c82127a3d0bb51a1f4a94c8b0cb7b3063c67941fb04e5f98ff8696b8b7ee007141d400ab2f398d99b22fa0408ce304058ab5 WHIRLPOOL 6524f25d573ef2debd2764f9438de40c4886056aec4a39bb7d8cb858ce89c91b1886d57fb6287272638020a49b41bd56e1438a92c7995a698ac0f9191285bfa3
+MISC metadata.xml 327 SHA256 fc32043bee4bae9b49015a690a1d6d0fa106f2d6a331271f9758ebbf41801f4d SHA512 b46483abcf9d26839bbc36b40b20971a9a397ae2b45c32a5a406e91c7bd95eec3ad324d7163c3e37e96e1a3d5ba837720bfd5276a310333ac5f2e5557def12b0 WHIRLPOOL 1442f3cfbb5b703c6a17a1792acb7fa750866387e9daf7a81c370dcc693e80006cc8d276c9f5257079f839236e9761278869e1cd364aa71de34c0dae26afe3ac
diff --git a/media-libs/tse3/files/tse3-0.2.7-gcc4.patch b/media-libs/tse3/files/tse3-0.2.7-gcc4.patch
new file mode 100644
index 000000000000..ed92ded207ab
--- /dev/null
+++ b/media-libs/tse3/files/tse3-0.2.7-gcc4.patch
@@ -0,0 +1,10 @@
+--- ./src/tse3/cmd/Phrase.h~ 2002-07-28 17:17:11.000000000 +0200
++++ ./src/tse3/cmd/Phrase.h 2005-07-29 15:45:03.000000000 +0200
+@@ -19,6 +19,7 @@
+
+ #include "tse3/cmd/Command.h"
+ #include "tse3/Phrase.h"
++#include "tse3/PhraseEdit.h"
+ #include "tse3/DisplayParams.h"
+
+ #include <vector>
diff --git a/media-libs/tse3/files/tse3-0.2.7-size_t-64bit.patch b/media-libs/tse3/files/tse3-0.2.7-size_t-64bit.patch
new file mode 100644
index 000000000000..29c54edc084f
--- /dev/null
+++ b/media-libs/tse3/files/tse3-0.2.7-size_t-64bit.patch
@@ -0,0 +1,25 @@
+--- src/tse3/file/XML.h.orig 2002-07-28 18:17:11.000000000 +0300
++++ src/tse3/file/XML.h 2004-04-25 14:51:56.000000000 +0300
+@@ -154,6 +154,7 @@
+ void element(const std::string &name, const char *value);
+ void element(const std::string &name, int value);
+ void element(const std::string &name, unsigned int value);
++ void element(const std::string &name, unsigned long value);
+ void element(const std::string &name, bool value);
+
+ void comment(const std::string &comment);
+--- src/tse3/file/XML.cpp.orig 2002-07-28 18:17:11.000000000 +0300
++++ src/tse3/file/XML.cpp 2004-04-25 14:54:01.000000000 +0300
+@@ -116,6 +116,12 @@
+ out << "<" << name << " value=\"" << value << "\"/>\n";
+ }
+
++void TSE3::File::XmlFileWriter::element(const std::string &name, unsigned long value)
++{
++ indent(out);
++ out << "<" << name << " value=\"" << value << "\"/>\n";
++}
++
+
+ void TSE3::File::XmlFileWriter::element(const std::string &name, bool value)
+ {
diff --git a/media-libs/tse3/files/tse3-0.3.1+gcc-4.3.patch b/media-libs/tse3/files/tse3-0.3.1+gcc-4.3.patch
new file mode 100644
index 000000000000..4581da9d0bf7
--- /dev/null
+++ b/media-libs/tse3/files/tse3-0.3.1+gcc-4.3.patch
@@ -0,0 +1,80 @@
+--- src/tse3/Serializable.h.orig 2008-06-08 12:17:05.000000000 +0200
++++ src/tse3/Serializable.h 2008-06-08 12:17:27.000000000 +0200
+@@ -20,6 +20,7 @@
+ #include <iosfwd>
+ #include <iomanip>
+ #include <cstddef>
++#include <fstream>
+
+ namespace TSE3
+ {
+
+--- src/tse3/TSE2MDL.h.orig 2008-06-08 12:17:41.000000000 +0200
++++ src/tse3/TSE2MDL.h 2008-06-08 12:18:02.000000000 +0200
+@@ -22,6 +22,7 @@
+ #include <string>
+ #include <iostream>
+ #include <cstddef>
++#include <cstring>
+
+ namespace TSE3
+ {
+
+--- src/tse3/MidiFile.h.orig 2008-06-08 12:18:26.000000000 +0200
++++ src/tse3/MidiFile.h 2008-06-08 12:18:42.000000000 +0200
+@@ -25,6 +25,7 @@
+ #include <string>
+ #include <iosfwd>
+ #include <cstddef>
++#include <cstring>
+
+ namespace TSE3
+ {
+--- src/examples/recording/recording.cpp.orig 2008-06-08 12:18:56.000000000 +0200
++++ src/examples/recording/recording.cpp 2008-06-08 12:19:18.000000000 +0200
+@@ -26,6 +26,7 @@
+ *
+ **************************************************************/
+
++#include <cstdlib>
+ #include <iostream>
+
+ // Used in step 1
+
+--- src/tse3play/tse3play.h.orig 2008-06-08 12:19:34.000000000 +0200
++++ src/tse3play/tse3play.h 2008-06-08 12:19:53.000000000 +0200
+@@ -19,6 +19,7 @@
+
+ #include <string>
+ #include <list>
++#include <cstdlib>
+
+ #include "tse3/Transport.h"
+
+--- src/tse3/plt/Alsa-0.9.cpp.orig 2008-06-08 12:39:53.000000000 +0200
++++ src/tse3/plt/Alsa-0.9.cpp 2008-06-08 12:40:25.000000000 +0200
+@@ -25,12 +25,11 @@
+ #define HAVE_SYS_ASOUNDLIB_H
+ #endif
+
+-#define _GNU_SOURCE
+ #include <sys/stat.h>
+ #include <errno.h>
+ #include <alloca.h>
+ #if HAVE_ALSA_ASOUNDLIB_H
+-#include <sys/asoundlib.h>
++#include <alsa/asoundlib.h>
+ #elif HAVE_SYS_ASOUNDLIB_H
+ #include <sys/asoundlib.h>
+ #endif
+
+--- src/tse3/plt/OSS.h.orig 2008-06-08 12:45:46.000000000 +0200
++++ src/tse3/plt/OSS.h 2008-06-08 12:46:06.000000000 +0200
+@@ -21,6 +21,7 @@
+
+ #include <string>
+ #include <list>
++#include <cstring>
+
+ #ifdef HAVE_CONFIG_H
+ #include "config.h"
diff --git a/media-libs/tse3/files/tse3-0.3.1-parallelmake.patch b/media-libs/tse3/files/tse3-0.3.1-parallelmake.patch
new file mode 100644
index 000000000000..b4fc927a7183
--- /dev/null
+++ b/media-libs/tse3/files/tse3-0.3.1-parallelmake.patch
@@ -0,0 +1,11 @@
+--- src/tse3/Makefile.am.old 2007-02-06 23:57:38.000000000 +0100
++++ src/tse3/Makefile.am 2007-02-07 00:08:01.000000000 +0100
+@@ -53,7 +53,7 @@
+
+ noinst_PROGRAMS = test
+ test_SOURCES = test.cpp
+-test_LDADD = $(top_builddir)/src/tse3/libtse3.la
++test_LDADD = ./libtse3.la
+
+ # McCabe .i file generation
+
diff --git a/media-libs/tse3/metadata.xml b/media-libs/tse3/metadata.xml
new file mode 100644
index 000000000000..6df3506346e7
--- /dev/null
+++ b/media-libs/tse3/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>sound@gentoo.org</email>
+ <name>Gentoo Sound project</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="sourceforge">tse3</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/media-libs/tse3/tse3-0.3.1-r1.ebuild b/media-libs/tse3/tse3-0.3.1-r1.ebuild
new file mode 100644
index 000000000000..08519f982de1
--- /dev/null
+++ b/media-libs/tse3/tse3-0.3.1-r1.ebuild
@@ -0,0 +1,50 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=2
+inherit autotools eutils flag-o-matic
+
+DESCRIPTION="TSE3 Sequencer library"
+HOMEPAGE="http://TSE3.sourceforge.net"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz
+ mirror://gentoo/${P}-awe_voice.h.tbz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 ppc sparc x86"
+IUSE="alsa oss"
+
+RDEPEND="alsa? ( media-libs/alsa-lib )"
+DEPEND="${RDEPEND}"
+
+src_prepare() {
+ if use oss; then
+ cp "${WORKDIR}"/awe_voice.h src/
+ append-flags -DHAVE_AWE_VOICE_H
+ fi
+
+ epatch "${FILESDIR}"/${PN}-0.2.7-size_t-64bit.patch \
+ "${FILESDIR}"/${PN}-0.2.7-gcc4.patch \
+ "${FILESDIR}"/${P}-parallelmake.patch \
+ "${FILESDIR}"/${P}+gcc-4.3.patch
+
+ eautoreconf
+}
+
+src_configure() {
+ local myconf
+
+ use alsa || myconf="${myconf} --without-alsa"
+ use oss || myconf="${myconf} --without-oss"
+
+ econf \
+ --without-doc-install \
+ --without-aRts \
+ ${myconf}
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die "emake install failed"
+ dodoc AUTHORS NEWS README THANKS TODO doc/History
+ dohtml doc/*.{html,gif,png}
+}