summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--media-libs/libtimidity/ChangeLog11
-rw-r--r--media-libs/libtimidity/Manifest20
-rw-r--r--media-libs/libtimidity/files/digest-libtimidity-0.1.03
-rw-r--r--media-libs/libtimidity/files/libtimidity-0.1.0-automagic.patch30
-rw-r--r--media-libs/libtimidity/libtimidity-0.1.0.ebuild35
-rw-r--r--media-libs/libtimidity/metadata.xml5
6 files changed, 104 insertions, 0 deletions
diff --git a/media-libs/libtimidity/ChangeLog b/media-libs/libtimidity/ChangeLog
new file mode 100644
index 000000000000..646ea2b3fa0d
--- /dev/null
+++ b/media-libs/libtimidity/ChangeLog
@@ -0,0 +1,11 @@
+# ChangeLog for media-libs/libtimidity
+# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/media-libs/libtimidity/ChangeLog,v 1.1 2007/08/02 13:01:21 drac Exp $
+
+*libtimidity-0.1.0 (02 Aug 2007)
+
+ 02 Aug 2007; Samuli Suominen <drac@gentoo.org>
+ +files/libtimidity-0.1.0-automagic.patch, +libtimidity-0.1.0.ebuild:
+ Initial commit for bug 169786, thanks to Hendrik Iben for reporting and
+ original ebuild. This is a required dep of >=media-sound/moc-2.5.0_alpha2.
+
diff --git a/media-libs/libtimidity/Manifest b/media-libs/libtimidity/Manifest
new file mode 100644
index 000000000000..90ee66972de6
--- /dev/null
+++ b/media-libs/libtimidity/Manifest
@@ -0,0 +1,20 @@
+AUX libtimidity-0.1.0-automagic.patch 872 RMD160 c8ce84448988d70b9b491c084c2c37fa5207ba55 SHA1 69c0022d4f770acee3aa5dce3c12a9fe863f4af4 SHA256 e7e762cda7ef5299e3c48a638ca3b74b5d48ab1db4dbb19355a16b5fb63c4da9
+MD5 09c179cd479ba5bab54d706865823c1b files/libtimidity-0.1.0-automagic.patch 872
+RMD160 c8ce84448988d70b9b491c084c2c37fa5207ba55 files/libtimidity-0.1.0-automagic.patch 872
+SHA256 e7e762cda7ef5299e3c48a638ca3b74b5d48ab1db4dbb19355a16b5fb63c4da9 files/libtimidity-0.1.0-automagic.patch 872
+DIST libtimidity-0.1.0.tar.bz2 273410 RMD160 1b4b8ddea3bbd9158b6d8b8f2b504c2dc533025b SHA1 6f3bb122a76d85b10ae4ad39db38a1c9ef75ef2c SHA256 52c6de6608ba640b4678041c01320290790a1f18c901ef03575fbf47807350bf
+EBUILD libtimidity-0.1.0.ebuild 764 RMD160 7118a40e986825b0e72bc51abf2b8f8f5cf9055a SHA1 43ca071dbb4d9e84fce46feb35dbeed1c8f2da80 SHA256 c691f459a5ad887e71eb6d850cc4180f8ce48f3736116a3aea00b0a78df3ae80
+MD5 6da099b017e9a30d6798365de710c5c3 libtimidity-0.1.0.ebuild 764
+RMD160 7118a40e986825b0e72bc51abf2b8f8f5cf9055a libtimidity-0.1.0.ebuild 764
+SHA256 c691f459a5ad887e71eb6d850cc4180f8ce48f3736116a3aea00b0a78df3ae80 libtimidity-0.1.0.ebuild 764
+MISC ChangeLog 429 RMD160 cc2c1b180056b05eac119038f0621075da6d6a36 SHA1 3bc1c9350a0e13bc10f1cc6203246e7137fac251 SHA256 1b584979599b6801a5acc26545a911499483b6d24253b3f79afdf59991243c24
+MD5 d9029b934a5a4f7030d05ba3bd605e22 ChangeLog 429
+RMD160 cc2c1b180056b05eac119038f0621075da6d6a36 ChangeLog 429
+SHA256 1b584979599b6801a5acc26545a911499483b6d24253b3f79afdf59991243c24 ChangeLog 429
+MISC metadata.xml 158 RMD160 6842e2189a50bd8a98e84802c38180ac1421c00e SHA1 703cea5a2109d41f7c87993c1f01d418a4c85174 SHA256 dfb5b47e6836db39fb187301dfcff1c2605e91d13d21db160806a563d8c75f9b
+MD5 a1eaeb2ae801daeb712c90c060e922dc metadata.xml 158
+RMD160 6842e2189a50bd8a98e84802c38180ac1421c00e metadata.xml 158
+SHA256 dfb5b47e6836db39fb187301dfcff1c2605e91d13d21db160806a563d8c75f9b metadata.xml 158
+MD5 2923d9bb1bca95cfc477b229f2359745 files/digest-libtimidity-0.1.0 256
+RMD160 2262ed7513a27b5c7967e163a01c32e6367dba23 files/digest-libtimidity-0.1.0 256
+SHA256 2d64eddbbfda2dac8f7c1cb9d8f8fb113e7688049e08563dddb34e3f99ebdd08 files/digest-libtimidity-0.1.0 256
diff --git a/media-libs/libtimidity/files/digest-libtimidity-0.1.0 b/media-libs/libtimidity/files/digest-libtimidity-0.1.0
new file mode 100644
index 000000000000..33e7d4989f3c
--- /dev/null
+++ b/media-libs/libtimidity/files/digest-libtimidity-0.1.0
@@ -0,0 +1,3 @@
+MD5 72173a1084df0c42f9daa7b4568ebd18 libtimidity-0.1.0.tar.bz2 273410
+RMD160 1b4b8ddea3bbd9158b6d8b8f2b504c2dc533025b libtimidity-0.1.0.tar.bz2 273410
+SHA256 52c6de6608ba640b4678041c01320290790a1f18c901ef03575fbf47807350bf libtimidity-0.1.0.tar.bz2 273410
diff --git a/media-libs/libtimidity/files/libtimidity-0.1.0-automagic.patch b/media-libs/libtimidity/files/libtimidity-0.1.0-automagic.patch
new file mode 100644
index 000000000000..ead93ffd32dd
--- /dev/null
+++ b/media-libs/libtimidity/files/libtimidity-0.1.0-automagic.patch
@@ -0,0 +1,30 @@
+diff -ur libtimidity-0.1.0.orig/configure.ac libtimidity-0.1.0/configure.ac
+--- libtimidity-0.1.0.orig/configure.ac 2004-11-23 06:30:46.000000000 +0200
++++ libtimidity-0.1.0/configure.ac 2007-08-02 15:51:47.000000000 +0300
+@@ -39,9 +39,24 @@
+ # Checks for libraries.
+ LIBTIMIDITY_LIBS=""
+ AC_CHECK_LIB([m], [pow], [LIBTIMIDITY_LIBS="$TIMIDITY_LIBS -lm"])
+-have_ao=no
+-XIPH_PATH_AO([have_ao=yes])
++
++AC_ARG_ENABLE([ao],
++ [AS_HELP_STRING([--enable-ao], [Enable libao (default=disabled)])],
++ [have_ao="$enableval"],
++ [have_ao="no"]
++)
++
++if test "$have_ao" = "yes"; then
++ PKG_CHECK_MODULES([AO], [ao >= 0.8.5])
++ AC_DEFINE([AO], [], [Define when building with ao])
++ HAVE_AO="true"
++else
++ HAVE_AO="false"
++fi
++
++AC_SUBST([ENABLE_AO])
+ AM_CONDITIONAL([HAVE_AO], [test $have_ao = yes])
++AC_SUBST(AO_LIBS)
+
+ # Checks for header files.
+ AC_HEADER_STDC
diff --git a/media-libs/libtimidity/libtimidity-0.1.0.ebuild b/media-libs/libtimidity/libtimidity-0.1.0.ebuild
new file mode 100644
index 000000000000..4cb8aa688f98
--- /dev/null
+++ b/media-libs/libtimidity/libtimidity-0.1.0.ebuild
@@ -0,0 +1,35 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-libs/libtimidity/libtimidity-0.1.0.ebuild,v 1.1 2007/08/02 13:01:21 drac Exp $
+
+inherit autotools eutils
+
+DESCRIPTION="MIDI to WAVE converter library"
+HOMEPAGE="http://libtimidity.sourceforge.net"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="~x86"
+IUSE="ao debug"
+
+RDEPEND="ao? ( media-libs/libao )"
+DEPEND="${RDEPEND}
+ dev-util/pkgconfig"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ epatch "${FILESDIR}"/${P}-automagic.patch
+ eautoreconf
+}
+
+src_compile() {
+ econf --disable-aotest $(use_enable ao) $(use_enable debug)
+ emake || die "emake failed."
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die "emake install failed."
+ dodoc AUTHORS ChangeLog CHANGES NEWS TODO README*
+}
diff --git a/media-libs/libtimidity/metadata.xml b/media-libs/libtimidity/metadata.xml
new file mode 100644
index 000000000000..e1774e3d9ad7
--- /dev/null
+++ b/media-libs/libtimidity/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>sound</herd>
+</pkgmetadata>