diff options
author | Seemant Kulleen <seemant@gentoo.org> | 2002-10-31 14:47:27 +0000 |
---|---|---|
committer | Seemant Kulleen <seemant@gentoo.org> | 2002-10-31 14:47:27 +0000 |
commit | aeee5781f67b9d17e03a98f6efa153a6322d2fe7 (patch) | |
tree | cd4625d48f023cb97e298b0f08e89ac12e2a0fed /media-plugins/xmms-spc | |
parent | midi plugin for xmms (diff) | |
download | historical-aeee5781f67b9d17e03a98f6efa153a6322d2fe7.tar.gz historical-aeee5781f67b9d17e03a98f6efa153a6322d2fe7.tar.bz2 historical-aeee5781f67b9d17e03a98f6efa153a6322d2fe7.zip |
xmms plugin to play super nintendo sound bank
Diffstat (limited to 'media-plugins/xmms-spc')
-rw-r--r-- | media-plugins/xmms-spc/ChangeLog | 11 | ||||
-rw-r--r-- | media-plugins/xmms-spc/files/digest-xmms-spc-0.2.1 | 1 | ||||
-rw-r--r-- | media-plugins/xmms-spc/xmms-spc-0.2.1.ebuild | 37 |
3 files changed, 49 insertions, 0 deletions
diff --git a/media-plugins/xmms-spc/ChangeLog b/media-plugins/xmms-spc/ChangeLog new file mode 100644 index 000000000000..d3f9e820f41c --- /dev/null +++ b/media-plugins/xmms-spc/ChangeLog @@ -0,0 +1,11 @@ +# ChangeLog for media-plugins/xmms-spc +# Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/media-plugins/xmms-spc/ChangeLog,v 1.1 2002/10/31 14:47:27 seemant Exp $ + +*xmms-spc-0.2.1 (31 Oct 2002) + + 31 Oct 2002; Seemant Kulleen <seemant@gentoo.org> xmms-spc-0.2.1.ebuild + ChangeLog files/digest-xmms-spc-0.2.1 : + + XMMS plugin to play Super Nintendo Sound Bank Files (.spc). Thanks to: + jaquadro@penguinia.net (Justin Aquadro) in bug #7377. diff --git a/media-plugins/xmms-spc/files/digest-xmms-spc-0.2.1 b/media-plugins/xmms-spc/files/digest-xmms-spc-0.2.1 new file mode 100644 index 000000000000..8b8faa601f7d --- /dev/null +++ b/media-plugins/xmms-spc/files/digest-xmms-spc-0.2.1 @@ -0,0 +1 @@ +MD5 bb4975661ce7cce2da59f76dd1a29372 spcxmms-0.2.1.tar.bz2 150267 diff --git a/media-plugins/xmms-spc/xmms-spc-0.2.1.ebuild b/media-plugins/xmms-spc/xmms-spc-0.2.1.ebuild new file mode 100644 index 000000000000..632fb224a946 --- /dev/null +++ b/media-plugins/xmms-spc/xmms-spc-0.2.1.ebuild @@ -0,0 +1,37 @@ +# Copyright 2002, Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License, v2. +# $Header: /var/cvsroot/gentoo-x86/media-plugins/xmms-spc/xmms-spc-0.2.1.ebuild,v 1.1 2002/10/31 14:47:27 seemant Exp $ + +MY_P=spcxmms-${PV} +S=${WORKDIR}/${MY_P} +DESCRIPTION="SPC Plugun for XMMS" +HOMEPAGE="http://www.self-core.org/~kaoru-k/" +SRC_URI="http://www.self-core.org/~kaoru-k/pub/${MY_P}.tar.bz2" + +SLOT="0" +LICENSE="GPL-2" +KEYWORDS="~x86" + +DEPEND="media-sound/xmms" + +src_unpack() { + unpack ${A} + + # Patch spcxmms.c and soundux.xpp + cd ${S}/xmms-plugin + mv spcxmms.c spcxmms.c.bak + sed -e '108a\ + long int i = 0;' -e '115a\ + i++;' -e '116a\ + if (i >= 18300) going = FALSE;' spcxmms.c.bak > spcxmms.c + + cd ${S}/libspc + mv soundux.cpp soundux.cpp.bak + sed -e '417a\ + ((((int64) hertz * FIXED_POINT) / so.playback_rate) * .980);' soundux.cpp.bak > soundux.cpp +} + +src_install() { + make DESTDIR=${D} libdir=/usr/lib/xmms/Input install || die + dodoc AUTHORS COPYING NEWS README +} |