summaryrefslogtreecommitdiff
path: root/audio/xmms-mad
diff options
context:
space:
mode:
authorsimonb <simonb@pkgsrc.org>2003-12-17 03:27:17 +0000
committersimonb <simonb@pkgsrc.org>2003-12-17 03:27:17 +0000
commit9e3e8dcb20d87d1620beba2b7c21a208f73dec89 (patch)
treed8bf491592776c7928581e5867fc8f500ca48429 /audio/xmms-mad
parente3bf471f24746af6f1053151f934855569b7e50c (diff)
downloadpkgsrc-9e3e8dcb20d87d1620beba2b7c21a208f73dec89.tar.gz
Update the xmms-mad package to version 0.5.5.
No change log available for changes between 0.0.9 and 0.5.4. The biggest visible change is that the plugin no longer needs to read the entire MP3 file to read the id3v2 tags.
Diffstat (limited to 'audio/xmms-mad')
-rw-r--r--audio/xmms-mad/Makefile10
-rw-r--r--audio/xmms-mad/distinfo8
-rw-r--r--audio/xmms-mad/patches/patch-ab22
3 files changed, 20 insertions, 20 deletions
diff --git a/audio/xmms-mad/Makefile b/audio/xmms-mad/Makefile
index 0f01756b8b1..1416fe0afea 100644
--- a/audio/xmms-mad/Makefile
+++ b/audio/xmms-mad/Makefile
@@ -1,13 +1,12 @@
-# $NetBSD: Makefile,v 1.11 2003/07/17 21:24:12 grant Exp $
+# $NetBSD: Makefile,v 1.12 2003/12/17 03:27:17 simonb Exp $
#
-DISTNAME= xmms-mad-0.0.9
-PKGREVISION= 5
+DISTNAME= xmms-mad-0.5.5
CATEGORIES= audio
-MASTER_SITES= http://www.superduper.net/downloads/xmms-mad/
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=xmms-mad/}
MAINTAINER= jmcneill@NetBSD.org
-HOMEPAGE= http://www.superduper.net/xmms-mad/
+HOMEPAGE= http://sourceforge.net/projects/xmms-mad/
COMMENT= Input plugin for XMMS that uses libmad
GNU_CONFIGURE= YES
@@ -19,6 +18,7 @@ USE_BUILDLINK2= YES
CPPFLAGS+= -DHAVE_NANOSLEEP=1
.endif
+.include "../../devel/pkgconfig/buildlink2.mk"
.include "../../audio/libid3tag/buildlink2.mk"
.include "../../audio/libmad/buildlink2.mk"
.include "../../audio/xmms/buildlink2.mk"
diff --git a/audio/xmms-mad/distinfo b/audio/xmms-mad/distinfo
index c485f075cc3..faef9d6b4d2 100644
--- a/audio/xmms-mad/distinfo
+++ b/audio/xmms-mad/distinfo
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.2 2002/10/27 07:31:11 rh Exp $
+$NetBSD: distinfo,v 1.3 2003/12/17 03:27:17 simonb Exp $
-SHA1 (xmms-mad-0.0.9.tar.gz) = b8743ff110ef0c61062f25cdd0f8a591f43b789c
-Size (xmms-mad-0.0.9.tar.gz) = 203320 bytes
+SHA1 (xmms-mad-0.5.5.tar.gz) = f571d049821b72bf5fe49fb9c58d71aefa01057e
+Size (xmms-mad-0.5.5.tar.gz) = 307441 bytes
SHA1 (patch-aa) = a57d21ec514762b5ac6e2555282e07ad00979910
-SHA1 (patch-ab) = 7a658a76bf4a897186fcd016ca1cada39fd42dfa
+SHA1 (patch-ab) = 169850b0f96e2097824ef6d8a48a2c7cad815780
diff --git a/audio/xmms-mad/patches/patch-ab b/audio/xmms-mad/patches/patch-ab
index 45815ad45c5..7d43bc2dc9c 100644
--- a/audio/xmms-mad/patches/patch-ab
+++ b/audio/xmms-mad/patches/patch-ab
@@ -1,24 +1,24 @@
-$NetBSD: patch-ab,v 1.2 2002/10/27 07:31:12 rh Exp $
+$NetBSD: patch-ab,v 1.3 2003/12/17 03:27:17 simonb Exp $
---- src/xmms-mad.c.orig Fri May 10 01:02:33 2002
+--- src/xmms-mad.c.orig Thu Oct 2 22:15:58 2003
+++ src/xmms-mad.c
-@@ -83,6 +83,9 @@ xmmsmad_stop ()
- printf ("waiting for thread\n");
+@@ -142,6 +142,9 @@ xmmsmad_stop ()
+ g_message ("waiting for thread");
#endif /* DEBUG */
- pthread_join (decode_thread, 0);
+ pthread_join (*decode_thread, 0);
+#ifdef _PTH_PTHREAD_H_
+ sched_yield ();
+#endif
#ifdef DEBUG
- printf ("thread done\n");
+ g_message ("thread done");
#endif /* DEBUG */
-@@ -99,6 +102,9 @@ xmmsmad_play_file (char *url)
- info.playing = 1;
- input_get_info (&info);
- pthread_create (&decode_thread, 0, decode, (void *) &info);
+@@ -186,6 +189,9 @@ xmmsmad_play_file (char *url)
+ g_free (decode_thread);
+ decode_thread = 0;
+ }
+#ifdef _PTH_PTHREAD_H_
+ sched_yield ();
+#endif
- }
}
+ static void