summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Huddleston <eradicator@gentoo.org>2004-07-21 09:11:39 +0000
committerJeremy Huddleston <eradicator@gentoo.org>2004-07-21 09:11:39 +0000
commitd10ebb68082d401c1c128ea2ad0c607566b65193 (patch)
treecb4ee64d32549c9a9d540a70d0dd5914cac1e762 /media-sound/timidity-shompatches
parentversion bump (bug #57728) (diff)
downloadhistorical-d10ebb68082d401c1c128ea2ad0c607566b65193.tar.gz
historical-d10ebb68082d401c1c128ea2ad0c607566b65193.tar.bz2
historical-d10ebb68082d401c1c128ea2ad0c607566b65193.zip
Additional Soundfonts for use with timidity. Ebuild submitted by Atsushi Kobayashi <loudear@iswebnet.com> in bug #54246.
Diffstat (limited to 'media-sound/timidity-shompatches')
-rw-r--r--media-sound/timidity-shompatches/ChangeLog11
-rw-r--r--media-sound/timidity-shompatches/Manifest4
-rw-r--r--media-sound/timidity-shompatches/files/digest-timidity-shompatches-199604091
-rw-r--r--media-sound/timidity-shompatches/metadata.xml5
-rw-r--r--media-sound/timidity-shompatches/timidity-shompatches-19960409.ebuild49
5 files changed, 70 insertions, 0 deletions
diff --git a/media-sound/timidity-shompatches/ChangeLog b/media-sound/timidity-shompatches/ChangeLog
new file mode 100644
index 000000000000..9e8f31f86b55
--- /dev/null
+++ b/media-sound/timidity-shompatches/ChangeLog
@@ -0,0 +1,11 @@
+# ChangeLog for media-sound/timidity-shompatches
+# Copyright 1999-2004 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/media-sound/timidity-shompatches/ChangeLog,v 1.1 2004/07/21 09:11:39 eradicator Exp $
+
+*timidity-shompatches-19960409 (21 Jul 2004)
+
+ 21 Jul 2004; Jeremy Huddleston <eradicator@gentoo.org> +metadata.xml,
+ +timidity-shompatches-19960409.ebuild:
+ Additional Soundfonts for use with timidity. Ebuild submitted by Atsushi
+ Kobayashi <loudear@iswebnet.com> in bug #54246.
+
diff --git a/media-sound/timidity-shompatches/Manifest b/media-sound/timidity-shompatches/Manifest
new file mode 100644
index 000000000000..4532be65e9df
--- /dev/null
+++ b/media-sound/timidity-shompatches/Manifest
@@ -0,0 +1,4 @@
+MD5 a8532cae37dbabcb506c3c4f7a24ba5b timidity-shompatches-19960409.ebuild 1373
+MD5 a1eaeb2ae801daeb712c90c060e922dc metadata.xml 158
+MD5 5fb29cae13792f0a5b559a6e6797eeb6 ChangeLog 526
+MD5 16eda58a2ef3c11d782c330dcef86759 files/digest-timidity-shompatches-19960409 63
diff --git a/media-sound/timidity-shompatches/files/digest-timidity-shompatches-19960409 b/media-sound/timidity-shompatches/files/digest-timidity-shompatches-19960409
new file mode 100644
index 000000000000..b871886e2457
--- /dev/null
+++ b/media-sound/timidity-shompatches/files/digest-timidity-shompatches-19960409
@@ -0,0 +1 @@
+MD5 983e7f802644f681e1ac3243431de2c4 shominst-0409.zip 9977604
diff --git a/media-sound/timidity-shompatches/metadata.xml b/media-sound/timidity-shompatches/metadata.xml
new file mode 100644
index 000000000000..e1774e3d9ad7
--- /dev/null
+++ b/media-sound/timidity-shompatches/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>
diff --git a/media-sound/timidity-shompatches/timidity-shompatches-19960409.ebuild b/media-sound/timidity-shompatches/timidity-shompatches-19960409.ebuild
new file mode 100644
index 000000000000..6ee997b4eed6
--- /dev/null
+++ b/media-sound/timidity-shompatches/timidity-shompatches-19960409.ebuild
@@ -0,0 +1,49 @@
+# Copyright 1999-2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-sound/timidity-shompatches/timidity-shompatches-19960409.ebuild,v 1.1 2004/07/21 09:11:39 eradicator Exp $
+
+IUSE=""
+
+DESCRIPTION="Matsumoto Shoji's patch collection for TiMidity(SC-55 style 10MB)"
+HOMEPAGE="http://www.i.h.kyoto-u.ac.jp/~shom/timidity/shominst/shominst-0409.txt"
+SRC_URI="http://www.i.h.kyoto-u.ac.jp/~shom/timidity/shominst/shominst-0409.zip"
+
+LICENSE="as-is"
+SLOT="0"
+KEYWORDS="~x86 ~sparc ~amd64"
+
+RDEPEND="media-sound/timidity++"
+DEPEND="app-arch/unzip
+ sys-apps/sed"
+
+S=${WORKDIR}/shompats
+
+src_unpack() {
+ mkdir ${S}
+ cd ${S}
+ unpack ${A}
+ sed -i -e "s:dir /nethome/sak95/shom/lib/timidity/:dir /usr/share/timidity/shompatches/:" timidity.cfg
+ sed -i -e "s:^source :source shompatches/:" timidity.cfg
+ sed -i -e "s:^source :source shompatches/:" sfx.cfg
+}
+
+src_install() {
+ local instdir=/usr/share/timidity
+ dodir ${instdir}
+
+ # Install base timidity configuration
+ insinto /etc
+ doins timidity.cfg
+ dosym /etc/timidity.cfg ${instdir}/timidity.cfg
+
+ # Install base shompatches
+ insinto ${instdir}/shompatches
+ doins *.cfg
+
+ # Install patches from subdirectories
+ for d in `find . -type f -name \*.pat | sed 's,/[^/]*$,,' | sort -u`; do
+ insinto ${instdir}/shompatches/${d}
+ doins ${d}/*.pat
+ done
+}
+