pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/audio/xmms-osx Initial import of xmms-osx version 1.0,...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/6c9f6e03648f
branches:  trunk
changeset: 517979:6c9f6e03648f
user:      ben <ben%pkgsrc.org@localhost>
date:      Mon Aug 28 05:11:06 2006 +0000

description:
Initial import of xmms-osx version 1.0, an XMMS plugin for OSX native
audio output.

diffstat:

 audio/xmms-osx/DESCR            |   1 +
 audio/xmms-osx/Makefile         |  26 ++++++++++++++++++++++++++
 audio/xmms-osx/PLIST            |   2 ++
 audio/xmms-osx/distinfo         |   6 ++++++
 audio/xmms-osx/patches/patch-aa |  20 ++++++++++++++++++++
 5 files changed, 55 insertions(+), 0 deletions(-)

diffs (75 lines):

diff -r 148caedace50 -r 6c9f6e03648f audio/xmms-osx/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/audio/xmms-osx/DESCR      Mon Aug 28 05:11:06 2006 +0000
@@ -0,0 +1,1 @@
+OSX Native Audio Output Plugin for XMMS
diff -r 148caedace50 -r 6c9f6e03648f audio/xmms-osx/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/audio/xmms-osx/Makefile   Mon Aug 28 05:11:06 2006 +0000
@@ -0,0 +1,26 @@
+# $NetBSD: Makefile,v 1.1.1.1 2006/08/28 05:11:06 ben Exp $
+#
+
+DISTNAME=              xmms_osx_plugin-1.0
+PKGNAME=               xmms-osx-1.0
+CATEGORIES=            audio
+MASTER_SITES=          ${MASTER_SITE_SOURCEFORGE:=dbmix/}
+
+MAINTAINER=            ben%NetBSD.org@localhost
+HOMEPAGE=              http://dbmix.sourceforge.net/
+COMMENT=               XMMS plugin for OSX native audio output
+
+LDFLAGS+=              -lm
+GNU_CONFIGURE=         yes
+USE_LIBTOOL=           yes
+SHLIBTOOL_OVERRIDE=    libtool-disable-static
+USE_TOOLS+=            pkg-config
+
+USE_LANGUAGES=         c c++
+
+PKG_INSTALLATION_TYPES=        overwrite pkgviews
+
+.include "../../audio/xmms/buildlink3.mk"
+.include "../../mk/oss.buildlink3.mk"
+.include "../../mk/pthread.buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 148caedace50 -r 6c9f6e03648f audio/xmms-osx/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/audio/xmms-osx/PLIST      Mon Aug 28 05:11:06 2006 +0000
@@ -0,0 +1,2 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2006/08/28 05:11:06 ben Exp $
+lib/xmms/Output/libOSX.la
diff -r 148caedace50 -r 6c9f6e03648f audio/xmms-osx/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/audio/xmms-osx/distinfo   Mon Aug 28 05:11:06 2006 +0000
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1.1.1 2006/08/28 05:11:06 ben Exp $
+
+SHA1 (xmms_osx_plugin-1.0.tar.gz) = 93ef4dcf8f6697c24a1924168a386c839c7df08f
+RMD160 (xmms_osx_plugin-1.0.tar.gz) = febb02b64cf9ac923aee08be443e17e647669354
+Size (xmms_osx_plugin-1.0.tar.gz) = 313050 bytes
+SHA1 (patch-aa) = 7e8119c6009cc555507528493c4a01f09c42d04b
diff -r 148caedace50 -r 6c9f6e03648f audio/xmms-osx/patches/patch-aa
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/audio/xmms-osx/patches/patch-aa   Mon Aug 28 05:11:06 2006 +0000
@@ -0,0 +1,20 @@
+$NetBSD: patch-aa,v 1.1.1.1 2006/08/28 05:11:06 ben Exp $
+
+--- src/audio.c.orig   2004-06-13 15:43:04.000000000 -0700
++++ src/audio.c
+@@ -257,7 +257,14 @@ gint osx_get_written_time(void)
+ gint osx_get_output_time(void)
+ {
+       gint retval;
+-
++      // output.bps is updated several times per second, however
++      // this function is called before output.bps is initalized,
++      // causing a divide by zero floating point exception.
++      // in this case, choose a sane default value.  it will be
++      // overwritten in a few microseconds, so the value is not
++      // critical.  --Ben
++        if (output.bps == 0)
++              output.bps = 384000;
+       retval = output_time_offset + ((output_total * sample_size * 1000) / output.bps);
+       retval = (int)((float)retval / user_pitch);
+       



Home | Main Index | Thread Index | Old Index