summaryrefslogtreecommitdiffstats
path: root/media-plugins/xmms-mad
diff options
context:
space:
mode:
Diffstat (limited to 'media-plugins/xmms-mad')
-rw-r--r--media-plugins/xmms-mad/Manifest4
-rw-r--r--media-plugins/xmms-mad/files/xmms-mad-0.8-mp3-header.patch47
-rw-r--r--media-plugins/xmms-mad/files/xmms-mad-0.8-song_change.patch12
-rw-r--r--media-plugins/xmms-mad/xmms-mad-0.8-r2.ebuild34
4 files changed, 0 insertions, 97 deletions
diff --git a/media-plugins/xmms-mad/Manifest b/media-plugins/xmms-mad/Manifest
deleted file mode 100644
index 0562d46..0000000
--- a/media-plugins/xmms-mad/Manifest
+++ /dev/null
@@ -1,4 +0,0 @@
-AUX xmms-mad-0.8-mp3-header.patch 1547 RMD160 832fb7bced8ba9f92fe37d9ba50ed5c994d356cd SHA1 a0dd37e3df23daf981a5b63c796fcab7539f7332 SHA256 89e7b29bf258cc0fbc44a7d6b0a171c20c763bb3586fedd67cc13c604b10a129
-AUX xmms-mad-0.8-song_change.patch 472 RMD160 c3a09b76ad064fd5d508719eb0eb1cb719b39922 SHA1 d34c0ee09839ead27f203d9fe0c349de55d35a34 SHA256 bdf10fe9b4bbcfe8b612e29068df7a46b9f2c7361261370d8dac881968bcee51
-DIST xmms-mad-0.8.tar.gz 315069 RMD160 19fe42c13c24ad6f55af066435c3faee7c2f8ff6 SHA1 4de4fa9d6db919968276f9a185b0cb3c96c1e097 SHA256 85774ead2c2d31a3c211ab24fdd03844bc624078abe47bbb92d28844061f3822
-EBUILD xmms-mad-0.8-r2.ebuild 879 RMD160 d22bd873040a31ead60f4dc2ea7774f744a9eaa3 SHA1 61db9b2ff5373f521c610a1ebe44c2f16f7a794d SHA256 a53c5ff71653fc03c7d386ab007a7e189455254dcefef5666728ff9622801a15
diff --git a/media-plugins/xmms-mad/files/xmms-mad-0.8-mp3-header.patch b/media-plugins/xmms-mad/files/xmms-mad-0.8-mp3-header.patch
deleted file mode 100644
index bea8e11..0000000
--- a/media-plugins/xmms-mad/files/xmms-mad-0.8-mp3-header.patch
+++ /dev/null
@@ -1,47 +0,0 @@
-diff -urp xmms-mad-0.8-org/src/xmms-mad.c xmms-mad-0.8/src/xmms-mad.c
---- xmms-mad-0.8-org/src/xmms-mad.c 2005-12-04 23:18:21.000000000 +0200
-+++ xmms-mad-0.8/src/xmms-mad.c 2005-12-04 23:34:53.000000000 +0200
-@@ -76,6 +76,31 @@ xmmsmad_set_eq (int on, float preamp, fl
- //printf("set_eq\n");
- }
-
-+
-+/* Following mp3 header check has been copied from XMMS mp3 input plugin. */
-+static int mpg123_head_check(unsigned char *buffer)
-+{
-+ unsigned int head = (buffer[0] << 24) + (buffer[1] << 16) + (buffer[2] << 8) + buffer[3];
-+ if ((head & 0xffe00000) != 0xffe00000)
-+ return FALSE;
-+ if (!((head >> 17) & 3))
-+ return FALSE;
-+ if (((head >> 12) & 0xf) == 0xf)
-+ return FALSE;
-+ if (!((head >> 12) & 0xf))
-+ return FALSE;
-+ if (((head >> 10) & 0x3) == 0x3)
-+ return FALSE;
-+ if (((head >> 19) & 1) == 1 &&
-+ ((head >> 17) & 3) == 3 &&
-+ ((head >> 16) & 1) == 1)
-+ return FALSE;
-+ if ((head & 0xffff0000) == 0xfffe0000)
-+ return FALSE;
-+ return TRUE;
-+}
-+
-+
- static int
- xmmsmad_is_our_file (char *filename)
- {
-@@ -96,9 +121,8 @@ xmmsmad_is_our_file (char *filename)
- fin = open (filename, O_RDONLY);
- if (fin >= 0 && read (fin, check, 4) == 4)
- {
-- /* If first two bytes are a sync header or three bytes are "ID3" */
-- if ( (check[0] == 0xff && (check[1] & 0x70) == 0x70)
-- || memcmp (check, "ID3", 3) == 0)
-+ /* If first 4 bytes are a sync header or three bytes are "ID3" */
-+ if (mpg123_head_check(check) || memcmp (check, "ID3", 3) == 0)
- {
- rtn = 1;
- }
diff --git a/media-plugins/xmms-mad/files/xmms-mad-0.8-song_change.patch b/media-plugins/xmms-mad/files/xmms-mad-0.8-song_change.patch
deleted file mode 100644
index b38fc24..0000000
--- a/media-plugins/xmms-mad/files/xmms-mad-0.8-song_change.patch
+++ /dev/null
@@ -1,12 +0,0 @@
-diff -urN xmms-mad-0.8.orig/src/decoder.c xmms-mad-0.8/src/decoder.c
---- xmms-mad-0.8.orig/src/decoder.c 2006-04-03 22:07:29.000000000 -0400
-+++ xmms-mad-0.8/src/decoder.c 2006-04-03 22:33:46.000000000 -0400
-@@ -493,7 +493,7 @@
- {
- mad_plugin.output->buffer_free ();
- mad_plugin.output->buffer_free ();
-- while (mad_plugin.output->buffer_playing ())
-+ while (mad_plugin.output->buffer_playing () && !info->stop)
- usleep (10000);
- }
-
diff --git a/media-plugins/xmms-mad/xmms-mad-0.8-r2.ebuild b/media-plugins/xmms-mad/xmms-mad-0.8-r2.ebuild
deleted file mode 100644
index 336dfe7..0000000
--- a/media-plugins/xmms-mad/xmms-mad-0.8-r2.ebuild
+++ /dev/null
@@ -1,34 +0,0 @@
-# Copyright 1999-2006 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-plugins/xmms-mad/xmms-mad-0.8-r2.ebuild,v 1.2 2006/07/05 06:09:38 vapier Exp $
-
-inherit eutils
-
-DESCRIPTION="A XMMS plugin for MAD"
-HOMEPAGE="http://xmms-mad.sourceforge.net/"
-SRC_URI="mirror://sourceforge/xmms-mad/${P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~alpha amd64 ~arm ~hppa ~ia64 -mips ~ppc ~ppc64 ~sh ~sparc x86"
-IUSE=""
-
-RDEPEND="media-sound/xmms
- media-libs/libid3tag
- media-libs/libmad"
-DEPEND="${RDEPEND}
- dev-util/pkgconfig"
-
-src_unpack() {
- unpack ${A}
- cd "${S}"
- epatch "${FILESDIR}"/${P}-mp3-header.patch
- epatch "${FILESDIR}"/${P}-song_change.patch
- touch configure
-}
-
-src_install() {
- exeinto `xmms-config --input-plugin-dir`
- doexe src/.libs/libxmmsmad.so || die
- dodoc AUTHORS ChangeLog NEWS README
-}