mirror of
https://github.com/gryf/gryf-overlay.git
synced 2026-04-04 12:53:31 +02:00
initial import
This commit is contained in:
190
media-plugins/xmms-mad/ChangeLog
Normal file
190
media-plugins/xmms-mad/ChangeLog
Normal file
@@ -0,0 +1,190 @@
|
||||
# ChangeLog for media-plugins/xmms-mad
|
||||
# Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/media-plugins/xmms-mad/ChangeLog,v 1.41 2006/05/24 03:29:34 tcort Exp $
|
||||
|
||||
*xmms-mad-0.8-r2 (23 May 2006)
|
||||
|
||||
23 May 2006; Thomas Cort <tcort@gentoo.org>
|
||||
+files/xmms-mad-0.8-song_change.patch, +xmms-mad-0.8-r2.ebuild:
|
||||
Added a patch to fix an infinite loop if a button (stop,pause,next,prev,etc)
|
||||
was pressed during a song change. Fixes Bug #127270. Patch by Thomas Cort
|
||||
<tcort@gentoo.org>.
|
||||
|
||||
*xmms-mad-0.8-r1 (05 Dec 2005)
|
||||
|
||||
05 Dec 2005; Luis Medinas <metalgod@gentoo.org>
|
||||
+files/xmms-mad-0.8-mp3-header.patch, +xmms-mad-0.8-r1.ebuild:
|
||||
Added a better patch to fix mp3 header thanks to Heikki Orsila
|
||||
<heikki.orsila@iki.fi>. Closes bug #114473.
|
||||
|
||||
15 Apr 2005; Jeremy Huddleston <eradicator@gentoo.org>
|
||||
-xmms-mad-0.5.6-r1.ebuild, -xmms-mad-0.7.ebuild:
|
||||
Removing old versions.
|
||||
|
||||
14 Apr 2005; Stephen P. Becker <geoman@gentoo.org>
|
||||
xmms-mad-0.5.6-r1.ebuild, xmms-mad-0.7.ebuild, xmms-mad-0.8.ebuild:
|
||||
added -mips keywords
|
||||
|
||||
26 Mar 2005; Markus Rothe <corsair@gentoo.org> xmms-mad-0.8.ebuild:
|
||||
Stable on ppc64; bug #85348
|
||||
|
||||
25 Mar 2005; Bryan Østergaard <kloeri@gentoo.org> xmms-mad-0.8.ebuild:
|
||||
Stable on alpha, bug 85348.
|
||||
|
||||
21 Mar 2005; Luca Barbato <lu_zero@gentoo.org> xmms-mad-0.8.ebuild:
|
||||
Marked ppc
|
||||
|
||||
21 Mar 2005; Jeremy Huddleston <eradicator@gentoo.org>
|
||||
xmms-mad-0.8.ebuild:
|
||||
Stable amd64, sparc, x86 to fix deadlock issue with pausing mp3 playback and
|
||||
exit. See bug #85348.
|
||||
|
||||
*xmms-mad-0.8 (21 Mar 2005)
|
||||
|
||||
21 Mar 2005; Jeremy Huddleston <eradicator@gentoo.org>
|
||||
+xmms-mad-0.8.ebuild:
|
||||
Version bump. Fixes some deadlock issues.
|
||||
|
||||
19 Mar 2005; Bryan Østergaard <kloeri@gentoo.org> xmms-mad-0.7.ebuild:
|
||||
Stable on alpha.
|
||||
|
||||
13 Feb 2005; Bryan Østergaard <kloeri@gentoo.org> xmms-mad-0.7.ebuild:
|
||||
~alpha keyword.
|
||||
|
||||
09 Dec 2004; Jeremy Huddleston <eradicator@gentoo.org>
|
||||
xmms-mad-0.7.ebuild:
|
||||
Stable amd64, sparc, x86
|
||||
|
||||
*xmms-mad-0.7 (07 Dec 2004)
|
||||
|
||||
07 Dec 2004; Jeremy Huddleston <eradicator@gentoo.org>
|
||||
-files/xmms-mad-0.5.6-cflags.patch, +xmms-mad-0.7.ebuild:
|
||||
Version bump.
|
||||
|
||||
12 Nov 2004; Jeremy Huddleston <eradicator@gentoo.org>
|
||||
xmms-mad-0.5.6-r1.ebuild:
|
||||
Added media-libs/libid3tag to RDEPEND to close bug #70698.
|
||||
|
||||
09 Nov 2004; Jeremy Huddleston <eradicator@gentoo.org>
|
||||
-xmms-mad-0.5.6-r2.ebuild:
|
||||
Removing xmms-plugin eclass.
|
||||
|
||||
07 Nov 2004; Jeremy Huddleston <eradicator@gentoo.org>
|
||||
xmms-mad-0.5.6-r1.ebuild, xmms-mad-0.5.6-r2.ebuild:
|
||||
Fixed DEPEND.
|
||||
|
||||
20 Oct 2004; Jeremy Huddleston <eradicator@gentoo.org>
|
||||
+files/xmms-mad-0.5.6-cflags.patch:
|
||||
Doesn't quite work with bmp yet.
|
||||
|
||||
19 Oct 2004; Jeremy Huddleston <eradicator@gentoo.org>
|
||||
-xmms-mad-0.5.1.ebuild, -xmms-mad-0.5.4.ebuild:
|
||||
Removing old versions.
|
||||
|
||||
*xmms-mad-0.5.6-r2 (19 Oct 2004)
|
||||
|
||||
19 Oct 2004; Jeremy Huddleston <eradicator@gentoo.org>
|
||||
+xmms-mad-0.5.6-r2.ebuild:
|
||||
Added support for xmms-plugin.eclass.
|
||||
|
||||
06 Oct 2004; Jeremy Huddleston <eradicator@gentoo.org>
|
||||
xmms-mad-0.5.6-r1.ebuild:
|
||||
multilib fix.
|
||||
|
||||
15 Sep 2004; Jeremy Huddleston <eradicator@gentoo.org>
|
||||
xmms-mad-0.5.6-r1.ebuild:
|
||||
Stable sparc.
|
||||
|
||||
02 Sep 2004; Tom Gall <tgall@gentoo.org> xmms-mad-0.5.6-r1.ebuild:
|
||||
stable on ppc64, bug #62333
|
||||
|
||||
17 Jun 2004; Jeremy Huddleston <eradicator@gentoo.org>
|
||||
xmms-mad-0.5.6-r1.ebuild:
|
||||
Stable amd64.
|
||||
|
||||
15 Jun 2004; Jeremy Huddleston <eradicator@gentoo.org>
|
||||
xmms-mad-0.5.6-r1.ebuild:
|
||||
Added to ~amd64.
|
||||
|
||||
03 May 2004; Jeremy Huddleston <eradicator@gentoo.org>
|
||||
xmms-mad-0.5.1.ebuild, xmms-mad-0.5.4.ebuild, xmms-mad-0.5.6-r1.ebuild:
|
||||
Changing mad dep to madplay.
|
||||
|
||||
28 Apr 2004; Jason Wever <weeve@gentoo.org> xmms-mad-0.5.6-r1.ebuild:
|
||||
Added ~sparc keyword.
|
||||
|
||||
26 Mar 2004; Jeremy Huddleston <eradicator@gentoo.org>
|
||||
xmms-mad-0.5.1.ebuild, xmms-mad-0.5.4.ebuild, xmms-mad-0.5.6-r1.ebuild:
|
||||
Bumping to stable x86. Added explicit IUSE and eutils.
|
||||
|
||||
*xmms-mad-0.5.6-r1 (20 Mar 2004)
|
||||
|
||||
20 Mar 2004; Jeremy Huddleston <eradicator@gentoo.org>
|
||||
xmms-mad-0.5.6-r1.ebuild, xmms-mad-0.5.6.ebuild,
|
||||
files/xmms-mad-0.5.6-mp3header.patch:
|
||||
Added patch to fix detection of MP3 frame header. Submitted in bug #44838 by
|
||||
Eric Villani <caligari@libertysurf.fr>.
|
||||
|
||||
*xmms-mad-0.5.6 (21 Jan 2004)
|
||||
|
||||
21 Jan 2004; Nick Hadaway <raker@gentoo.org> xmms-mad-0.5.6.ebuild:
|
||||
Version bump. See bug #35868. Seems to be a little more stable than
|
||||
the previous edition with mad-0.15b.
|
||||
|
||||
16 Sep 2003; David Holm <dholm@gentoo.org> xmms-mad-0.5.4.ebuild:
|
||||
Added to ~ppc.
|
||||
|
||||
*xmms-mad-0.5.4 (12 Sep 2003)
|
||||
|
||||
12 Sep 2003; Mike Frysinger <vapier@gentoo.org> :
|
||||
Version bump to try to fix #16686.
|
||||
|
||||
*xmms-mad-0.5.1-r1 (17 Jul 2003)
|
||||
|
||||
19 Jul 2003; Nick Hadaway <raker@gentoo.org>:
|
||||
Reverted back to previous build
|
||||
|
||||
17 Jul 2003; Nick Hadaway <raker@gentoo.org> xmms-mad-0.5.1-r1.ebuild:
|
||||
New ebuild which depends on the soon to be marked stable
|
||||
media-libs/{libmad,libid3tag} ebuilds which replace media-sound/mad.
|
||||
|
||||
*xmms-mad-0.5.1 (01 Dec 2002)
|
||||
|
||||
18 Dec 2002; Seemant Kulleen <seemant@gentoo.org> xmms-mad-0.5.1.ebuild :
|
||||
|
||||
Added dev-util/pkgconfig to DEPEND. Should close bug #12327 by:
|
||||
sandymac@gentoo.org (William A. McArthur, Jr.)
|
||||
|
||||
15 Dec 2002; Seemant Kulleen <seemant@gentoo.org> xmms-mad-0.5.1.ebuild :
|
||||
|
||||
SRC_URI and HOMEPAGE moved. Thanks to: cpulsifer@sympatico.ca (C
|
||||
Pulsifer) in bug #12180 for informing us.
|
||||
|
||||
01 Dec 2002; Seemant Kulleen <seemant@gentoo.org> xmms-mad-0.5.1.ebuild :
|
||||
|
||||
Version bump, also sorely needed. Thanks to: spam@matzsoft.de (Mathias
|
||||
Menzel-Nielsen) in bug #11457.
|
||||
|
||||
*xmms-mad-0.1.1 (13 Sep 2002)
|
||||
|
||||
13 Sep 2002; Brandon Low <lostlogic@gentoo.org> xmms-mad-0.1.1.ebuild :
|
||||
|
||||
Version update, sorely needed.
|
||||
|
||||
*xmms-mad-0.0.9 (13 May 2002)
|
||||
|
||||
30 Aug 2002; Seemant Kulleen <seemant@gentoo.org> * :
|
||||
|
||||
Relocated to media-plugins
|
||||
|
||||
13 May 2002; William McArthur <sandymac@gentoo.org> xmms-mad-0.0.8.ebuild :
|
||||
|
||||
New upstream release, just bumped the ebuild number.
|
||||
|
||||
*xmms-mad-0.0.8 (1 May 2002)
|
||||
|
||||
1 May 2002; William McArthur <sandymac@gentoo.org> xmms-mad-0.0.8.ebuild :
|
||||
|
||||
xmms-mad is a plugin to replace the mpg132 plugin that xmms defaults to using
|
||||
for mp3 playback. It uses the libmad decoder which has higher quality output
|
||||
at the expense of using more cpu power.
|
||||
52
media-plugins/xmms-mad/Manifest
Normal file
52
media-plugins/xmms-mad/Manifest
Normal file
@@ -0,0 +1,52 @@
|
||||
-----BEGIN PGP SIGNED MESSAGE-----
|
||||
Hash: SHA1
|
||||
|
||||
AUX xmms-mad-0.5.6-mp3header.patch 448 RMD160 da6309022586c42b13003334a6996c21ee6499c3 SHA1 a67aaca099b026f06526d44a121a4b06112469ba SHA256 30ad1eb27a7fe109cf165f94866e5976555b7fad8efc2cd56f8fb46d0eb1650f
|
||||
MD5 a67a8be5b9a6f622f7edea90002e7bf7 files/xmms-mad-0.5.6-mp3header.patch 448
|
||||
RMD160 da6309022586c42b13003334a6996c21ee6499c3 files/xmms-mad-0.5.6-mp3header.patch 448
|
||||
SHA256 30ad1eb27a7fe109cf165f94866e5976555b7fad8efc2cd56f8fb46d0eb1650f files/xmms-mad-0.5.6-mp3header.patch 448
|
||||
AUX xmms-mad-0.8-mp3-header.patch 1547 RMD160 832fb7bced8ba9f92fe37d9ba50ed5c994d356cd SHA1 a0dd37e3df23daf981a5b63c796fcab7539f7332 SHA256 89e7b29bf258cc0fbc44a7d6b0a171c20c763bb3586fedd67cc13c604b10a129
|
||||
MD5 302fc0b4331d282a51ef5d1bcbbcecf9 files/xmms-mad-0.8-mp3-header.patch 1547
|
||||
RMD160 832fb7bced8ba9f92fe37d9ba50ed5c994d356cd files/xmms-mad-0.8-mp3-header.patch 1547
|
||||
SHA256 89e7b29bf258cc0fbc44a7d6b0a171c20c763bb3586fedd67cc13c604b10a129 files/xmms-mad-0.8-mp3-header.patch 1547
|
||||
AUX xmms-mad-0.8-song_change.patch 472 RMD160 c3a09b76ad064fd5d508719eb0eb1cb719b39922 SHA1 d34c0ee09839ead27f203d9fe0c349de55d35a34 SHA256 bdf10fe9b4bbcfe8b612e29068df7a46b9f2c7361261370d8dac881968bcee51
|
||||
MD5 0d73404fc01811eac2ce000c6c876cd2 files/xmms-mad-0.8-song_change.patch 472
|
||||
RMD160 c3a09b76ad064fd5d508719eb0eb1cb719b39922 files/xmms-mad-0.8-song_change.patch 472
|
||||
SHA256 bdf10fe9b4bbcfe8b612e29068df7a46b9f2c7361261370d8dac881968bcee51 files/xmms-mad-0.8-song_change.patch 472
|
||||
DIST xmms-mad-0.8.tar.gz 315069 RMD160 19fe42c13c24ad6f55af066435c3faee7c2f8ff6 SHA1 4de4fa9d6db919968276f9a185b0cb3c96c1e097 SHA256 85774ead2c2d31a3c211ab24fdd03844bc624078abe47bbb92d28844061f3822
|
||||
EBUILD xmms-mad-0.8-r1.ebuild 836 RMD160 9e1694dfb883fc714ef38cd787a9a14ba87d9052 SHA1 b240b988f06accbc58bfd1cb81bc8f20e73ceefd SHA256 dddb2c3cd7ff20b72fe4564c7680f7cd47923895341c301c939bd1a447a6d85a
|
||||
MD5 c6eabcf3ab35e52199e72cb9745d8b46 xmms-mad-0.8-r1.ebuild 836
|
||||
RMD160 9e1694dfb883fc714ef38cd787a9a14ba87d9052 xmms-mad-0.8-r1.ebuild 836
|
||||
SHA256 dddb2c3cd7ff20b72fe4564c7680f7cd47923895341c301c939bd1a447a6d85a xmms-mad-0.8-r1.ebuild 836
|
||||
EBUILD xmms-mad-0.8-r2.ebuild 881 RMD160 30bd0235476c252142c8d886c36c3f5bee37b820 SHA1 e51ae3824df797e2b49169f36f15d7c4c4211429 SHA256 b07686cfc65c431bfdfc09136776aa3ddd4908a5fda2b4c7570a994872d07435
|
||||
MD5 63f46f51660c7a42efca55c84ba639df xmms-mad-0.8-r2.ebuild 881
|
||||
RMD160 30bd0235476c252142c8d886c36c3f5bee37b820 xmms-mad-0.8-r2.ebuild 881
|
||||
SHA256 b07686cfc65c431bfdfc09136776aa3ddd4908a5fda2b4c7570a994872d07435 xmms-mad-0.8-r2.ebuild 881
|
||||
EBUILD xmms-mad-0.8.ebuild 829 RMD160 989e635bc1a1006edb7896a3b7738255e5a9f174 SHA1 7f1783eaabbc32c2045f98648533c04bb4a4372e SHA256 abc337b02feed187027a10af3210d474ef35b1a06ef42cc339351b10b6ac49e1
|
||||
MD5 8eb0cc08293312d766d92ff7fe1f41f7 xmms-mad-0.8.ebuild 829
|
||||
RMD160 989e635bc1a1006edb7896a3b7738255e5a9f174 xmms-mad-0.8.ebuild 829
|
||||
SHA256 abc337b02feed187027a10af3210d474ef35b1a06ef42cc339351b10b6ac49e1 xmms-mad-0.8.ebuild 829
|
||||
MISC ChangeLog 6293 RMD160 51a404fce42e95c352d62fbedde4849916dc3f90 SHA1 cc4fc29f5a7e30686c8b38e9932810e4e22aaa9c SHA256 f2c979f43d4f6adedab1b77eab359bc83cf45d77eeb13879ad06b51dc44f3f87
|
||||
MD5 8819b74ba65883fd9318ed2c1d7aa6f4 ChangeLog 6293
|
||||
RMD160 51a404fce42e95c352d62fbedde4849916dc3f90 ChangeLog 6293
|
||||
SHA256 f2c979f43d4f6adedab1b77eab359bc83cf45d77eeb13879ad06b51dc44f3f87 ChangeLog 6293
|
||||
MISC metadata.xml 160 RMD160 10be84fed28405abd22adc6689e87e5bb77e3501 SHA1 0c1bb16a7cc376ef35b87d8699ec9504718d36b9 SHA256 6bafe4a5c7b42309f124ebc2a9d78ebe5379aec4dcdc88c0bda2ab79c9851a6b
|
||||
MD5 05ab4d4775083f0930841e415df18ad6 metadata.xml 160
|
||||
RMD160 10be84fed28405abd22adc6689e87e5bb77e3501 metadata.xml 160
|
||||
SHA256 6bafe4a5c7b42309f124ebc2a9d78ebe5379aec4dcdc88c0bda2ab79c9851a6b metadata.xml 160
|
||||
MD5 b530a8d39d3962ea288cae9ea9be8e2c files/digest-xmms-mad-0.8 238
|
||||
RMD160 a46188778975b8a15e39f2dd4b4ce4a707085087 files/digest-xmms-mad-0.8 238
|
||||
SHA256 2774487969ef2cdf22821b7e51b1e15c6d8e7a3c1b49d8b4dc9b4ba86425c893 files/digest-xmms-mad-0.8 238
|
||||
MD5 b530a8d39d3962ea288cae9ea9be8e2c files/digest-xmms-mad-0.8-r1 238
|
||||
RMD160 a46188778975b8a15e39f2dd4b4ce4a707085087 files/digest-xmms-mad-0.8-r1 238
|
||||
SHA256 2774487969ef2cdf22821b7e51b1e15c6d8e7a3c1b49d8b4dc9b4ba86425c893 files/digest-xmms-mad-0.8-r1 238
|
||||
MD5 b530a8d39d3962ea288cae9ea9be8e2c files/digest-xmms-mad-0.8-r2 238
|
||||
RMD160 a46188778975b8a15e39f2dd4b4ce4a707085087 files/digest-xmms-mad-0.8-r2 238
|
||||
SHA256 2774487969ef2cdf22821b7e51b1e15c6d8e7a3c1b49d8b4dc9b4ba86425c893 files/digest-xmms-mad-0.8-r2 238
|
||||
-----BEGIN PGP SIGNATURE-----
|
||||
Version: GnuPG v1.4.4 (GNU/Linux)
|
||||
|
||||
iD8DBQFEq1ezamhnQswr0vIRAik5AJ9bOLaEBg9A1rSCo8eHMjVt4QXCJQCePC5r
|
||||
CLeaLJ2qCN5LetwT8P2s87Q=
|
||||
=D53X
|
||||
-----END PGP SIGNATURE-----
|
||||
3
media-plugins/xmms-mad/files/digest-xmms-mad-0.8
Normal file
3
media-plugins/xmms-mad/files/digest-xmms-mad-0.8
Normal file
@@ -0,0 +1,3 @@
|
||||
MD5 9013cd4d924209ce74a682dda771d087 xmms-mad-0.8.tar.gz 315069
|
||||
RMD160 19fe42c13c24ad6f55af066435c3faee7c2f8ff6 xmms-mad-0.8.tar.gz 315069
|
||||
SHA256 85774ead2c2d31a3c211ab24fdd03844bc624078abe47bbb92d28844061f3822 xmms-mad-0.8.tar.gz 315069
|
||||
3
media-plugins/xmms-mad/files/digest-xmms-mad-0.8-r1
Normal file
3
media-plugins/xmms-mad/files/digest-xmms-mad-0.8-r1
Normal file
@@ -0,0 +1,3 @@
|
||||
MD5 9013cd4d924209ce74a682dda771d087 xmms-mad-0.8.tar.gz 315069
|
||||
RMD160 19fe42c13c24ad6f55af066435c3faee7c2f8ff6 xmms-mad-0.8.tar.gz 315069
|
||||
SHA256 85774ead2c2d31a3c211ab24fdd03844bc624078abe47bbb92d28844061f3822 xmms-mad-0.8.tar.gz 315069
|
||||
3
media-plugins/xmms-mad/files/digest-xmms-mad-0.8-r2
Normal file
3
media-plugins/xmms-mad/files/digest-xmms-mad-0.8-r2
Normal file
@@ -0,0 +1,3 @@
|
||||
MD5 9013cd4d924209ce74a682dda771d087 xmms-mad-0.8.tar.gz 315069
|
||||
RMD160 19fe42c13c24ad6f55af066435c3faee7c2f8ff6 xmms-mad-0.8.tar.gz 315069
|
||||
SHA256 85774ead2c2d31a3c211ab24fdd03844bc624078abe47bbb92d28844061f3822 xmms-mad-0.8.tar.gz 315069
|
||||
11
media-plugins/xmms-mad/files/xmms-mad-0.5.6-mp3header.patch
Normal file
11
media-plugins/xmms-mad/files/xmms-mad-0.5.6-mp3header.patch
Normal file
@@ -0,0 +1,11 @@
|
||||
--- src/xmms-mad.c 2003-12-28 16:18:40.000000000 +0100
|
||||
+++ src/xmms-mad.c 2004-03-16 13:14:12.000000000 +0100
|
||||
@@ -95,7 +95,7 @@
|
||||
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)
|
||||
+ if ( (check[0] == 0xff && (check[1] & 0xE0) == 0xE0)
|
||||
|| memcmp (check, "ID3", 3) == 0)
|
||||
{
|
||||
rtn = 1;
|
||||
47
media-plugins/xmms-mad/files/xmms-mad-0.8-mp3-header.patch
Normal file
47
media-plugins/xmms-mad/files/xmms-mad-0.8-mp3-header.patch
Normal file
@@ -0,0 +1,47 @@
|
||||
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;
|
||||
}
|
||||
12
media-plugins/xmms-mad/files/xmms-mad-0.8-song_change.patch
Normal file
12
media-plugins/xmms-mad/files/xmms-mad-0.8-song_change.patch
Normal file
@@ -0,0 +1,12 @@
|
||||
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);
|
||||
}
|
||||
|
||||
5
media-plugins/xmms-mad/metadata.xml
Normal file
5
media-plugins/xmms-mad/metadata.xml
Normal file
@@ -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>
|
||||
33
media-plugins/xmms-mad/xmms-mad-0.8-r1.ebuild
Normal file
33
media-plugins/xmms-mad/xmms-mad-0.8-r1.ebuild
Normal file
@@ -0,0 +1,33 @@
|
||||
# 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-r1.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
|
||||
touch configure
|
||||
}
|
||||
|
||||
src_install() {
|
||||
exeinto `xmms-config --input-plugin-dir`
|
||||
doexe src/.libs/libxmmsmad.so || die
|
||||
dodoc AUTHORS ChangeLog NEWS README
|
||||
}
|
||||
34
media-plugins/xmms-mad/xmms-mad-0.8-r2.ebuild
Normal file
34
media-plugins/xmms-mad/xmms-mad-0.8-r2.ebuild
Normal file
@@ -0,0 +1,34 @@
|
||||
# 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
|
||||
}
|
||||
33
media-plugins/xmms-mad/xmms-mad-0.8.ebuild
Normal file
33
media-plugins/xmms-mad/xmms-mad-0.8.ebuild
Normal file
@@ -0,0 +1,33 @@
|
||||
# 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.ebuild,v 1.8 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}"/${PN}-0.5.6-mp3header.patch
|
||||
touch configure
|
||||
}
|
||||
|
||||
src_install() {
|
||||
exeinto `xmms-config --input-plugin-dir`
|
||||
doexe src/.libs/libxmmsmad.so || die
|
||||
dodoc AUTHORS ChangeLog NEWS README
|
||||
}
|
||||
Reference in New Issue
Block a user