Add freepats patchset, that is released under GPL-2 (plus exception similar to classp...
authorDiego Elio Pettenò <flameeyes@gentoo.org>
Sun, 3 Dec 2006 17:36:03 +0000 (17:36 +0000)
committerDiego Elio Pettenò <flameeyes@gentoo.org>
Sun, 3 Dec 2006 17:36:03 +0000 (17:36 +0000)
Package-Manager: portage-2.1.2_rc2-r3

media-sound/timidity-freepats/ChangeLog [new file with mode: 0644]
media-sound/timidity-freepats/files/digest-timidity-freepats-20060219 [new file with mode: 0644]
media-sound/timidity-freepats/metadata.xml [new file with mode: 0644]
media-sound/timidity-freepats/timidity-freepats-20060219.ebuild [new file with mode: 0644]

diff --git a/media-sound/timidity-freepats/ChangeLog b/media-sound/timidity-freepats/ChangeLog
new file mode 100644 (file)
index 0000000..d815e12
--- /dev/null
@@ -0,0 +1,11 @@
+# ChangeLog for media-sound/timidity-freepats
+# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/media-sound/timidity-freepats/ChangeLog,v 1.1 2006/12/03 17:36:03 flameeyes Exp $
+
+*timidity-freepats-20060219 (03 Dec 2006)
+
+  03 Dec 2006; Diego Pettenò <flameeyes@gentoo.org> +metadata.xml,
+  +timidity-freepats-20060219.ebuild:
+  Add freepats patchset, that is released under GPL-2 (plus exception similar
+  to classpath's), not as complete as the other ones, but free.
+
diff --git a/media-sound/timidity-freepats/files/digest-timidity-freepats-20060219 b/media-sound/timidity-freepats/files/digest-timidity-freepats-20060219
new file mode 100644 (file)
index 0000000..aa1fc63
--- /dev/null
@@ -0,0 +1,3 @@
+MD5 b947806304bc559a644a2c06deda8404 freepats-20060219.tar.bz2 25791733
+RMD160 276fcf5ee008decb3640f22fe753639de072bbf9 freepats-20060219.tar.bz2 25791733
+SHA256 0261ea1057b232183fa472432d5cedb0dca33698a5319328cdf193d4b2193c8a freepats-20060219.tar.bz2 25791733
diff --git a/media-sound/timidity-freepats/metadata.xml b/media-sound/timidity-freepats/metadata.xml
new file mode 100644 (file)
index 0000000..e1774e3
--- /dev/null
@@ -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-freepats/timidity-freepats-20060219.ebuild b/media-sound/timidity-freepats/timidity-freepats-20060219.ebuild
new file mode 100644 (file)
index 0000000..30d1b29
--- /dev/null
@@ -0,0 +1,37 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-sound/timidity-freepats/timidity-freepats-20060219.ebuild,v 1.1 2006/12/03 17:36:03 flameeyes Exp $
+
+IUSE=""
+
+MY_PN="${PN/timidity-/}"
+
+DESCRIPTION="Free and open set of instrument patches"
+HOMEPAGE="http://freepats.opensrc.org/"
+SRC_URI="${HOMEPAGE}/${MY_PN}-${PV}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86-fbsd"
+
+# Only installs datafiles
+RESTRICT="binchecks strip"
+
+# These can be used for libmodplug too, so don't depend on timidity++
+DEPEND=">=app-admin/eselect-timidity-20061203"
+RDEPEND=""
+
+S="${WORKDIR}/${MY_PN}"
+
+src_install() {
+       insinto /usr/share/timidity/${MY_PN}
+
+       newins freepats.cfg timidity.cfg
+       doins -r Drum_000 Tone_000
+
+       dodoc README
+}
+
+pkg_postinst() {
+       eselect timidity update --global --if-unset
+}