diff options
author | Norikatsu Shigemura <nork@FreeBSD.org> | 2003-03-23 07:51:47 +0000 |
---|---|---|
committer | Norikatsu Shigemura <nork@FreeBSD.org> | 2003-03-23 07:51:47 +0000 |
commit | 3cdfc2ce15b7e3d0a7e18899d0b580ad7d1352f6 (patch) | |
tree | 066bcbc3c4642f58f17a9ee9a5d710d150ea085e /audio/xmms-cdread | |
parent | 52bd9c4f01eb576473eee1ddf5a8ac491bfbbb45 (diff) |
Notes
Diffstat (limited to 'audio/xmms-cdread')
-rw-r--r-- | audio/xmms-cdread/Makefile | 28 | ||||
-rw-r--r-- | audio/xmms-cdread/distinfo | 1 | ||||
-rw-r--r-- | audio/xmms-cdread/files/patch-cdrombsd.h | 18 | ||||
-rw-r--r-- | audio/xmms-cdread/files/patch-server.c | 20 | ||||
-rw-r--r-- | audio/xmms-cdread/pkg-descr | 7 | ||||
-rw-r--r-- | audio/xmms-cdread/pkg-plist | 2 |
6 files changed, 76 insertions, 0 deletions
diff --git a/audio/xmms-cdread/Makefile b/audio/xmms-cdread/Makefile new file mode 100644 index 000000000000..73f79399e4e6 --- /dev/null +++ b/audio/xmms-cdread/Makefile @@ -0,0 +1,28 @@ +# New ports collection makefile for: xmms-cdread +# Date created: 12 May 2003 +# Whom: Sergey V. Belov <argail@csite.ru> +# +# $FreeBSD$ +# + +PORTNAME= xmms-cdread +PORTVERSION= 0.14a +CATEGORIES= audio +MASTER_SITES= ftp://ftp.stack.nl/pub/users/willem/ + +MAINTAINER= argail@csite.ru +COMMENT= A XMMS input plugin for read AudioCD via IDE bus + +BUILD_DEPENDS= xmms-config:${PORTSDIR}/multimedia/xmms +RUN_DEPENDS= xmms:${PORTSDIR}/multimedia/xmms + +USE_X_PREFIX= yes +USE_GNOMENG= yes +USE_GNOME= gtk12 +USE_GMAKE= yes +GNU_CONFIGURE= yes +INSTALLS_SHLIB= yes + +CONFIGURE_ENV= CFLAGS="${CFLAGS} -L${LOCALBASE}/lib" + +.include <bsd.port.mk> diff --git a/audio/xmms-cdread/distinfo b/audio/xmms-cdread/distinfo new file mode 100644 index 000000000000..063d3d699216 --- /dev/null +++ b/audio/xmms-cdread/distinfo @@ -0,0 +1 @@ +MD5 (xmms-cdread-0.14a.tar.gz) = 1328b75ef91d73690b3b43d74401754a diff --git a/audio/xmms-cdread/files/patch-cdrombsd.h b/audio/xmms-cdread/files/patch-cdrombsd.h new file mode 100644 index 000000000000..9fda4b4b7f6f --- /dev/null +++ b/audio/xmms-cdread/files/patch-cdrombsd.h @@ -0,0 +1,18 @@ +--- cdrombsd.h.orig Sat Aug 18 19:09:10 2001 ++++ cdrombsd.h Sun Mar 23 16:35:33 2003 +@@ -9,12 +9,9 @@ + |*| FreeBSD (?) specific code + \*/ + +-#define GET_LBA(entry) ((entry.addr_type == CD_LBA_FORMAT) ? \ +- ntohl(entry.addr.lba) : \ +- ((entry.addr.msf.minute * 60 + \ +- entry.addr.msf.second) * 75 + \ +- entry.addr.msf.frame)) +- ++#define GET_LBA(entry) ((entry.addr.msf.minute * 60 \ ++ + entry.addr.msf.second) * 75 \ ++ + entry.addr.msf.frame) + + /*\ + |*| Open cdrom device diff --git a/audio/xmms-cdread/files/patch-server.c b/audio/xmms-cdread/files/patch-server.c new file mode 100644 index 000000000000..85f76d1e7e78 --- /dev/null +++ b/audio/xmms-cdread/files/patch-server.c @@ -0,0 +1,20 @@ +--- server.c.orig Fri Jul 20 00:26:42 2001 ++++ server.c Sun Mar 23 16:35:33 2003 +@@ -282,7 +282,7 @@ + if (r < 0) { + req->rest[0] = 0; + if (errno == EAGAIN) { +- errno = ETIME; ++ errno = ETIMEDOUT; + if (++rtr < READ_TIMEOUT) { + xmms_usleep(READ_USEC); + continue; +@@ -312,7 +312,7 @@ + gint w = write(sock, p, strlen(p)); + if (w < 0) { + if (errno == EAGAIN) { +- errno = ETIME; ++ errno = ETIMEDOUT; + if (++rtr < READ_TIMEOUT) { + xmms_usleep(READ_USEC); + continue; diff --git a/audio/xmms-cdread/pkg-descr b/audio/xmms-cdread/pkg-descr new file mode 100644 index 000000000000..734f6f232ead --- /dev/null +++ b/audio/xmms-cdread/pkg-descr @@ -0,0 +1,7 @@ +Xmms-CdRead is a input plugin for XMMS (www.xmms.org) that +read the CDDA (audio) discs as data via IDE bus, provides +more quality sound and allowing XMMS to use that for +visualization. + +- Sergey V. Belov (aka Argail) +argail@visit.ru diff --git a/audio/xmms-cdread/pkg-plist b/audio/xmms-cdread/pkg-plist new file mode 100644 index 000000000000..46057215c963 --- /dev/null +++ b/audio/xmms-cdread/pkg-plist @@ -0,0 +1,2 @@ +lib/xmms/Input/libcdread.so +lib/xmms/Input/libcdread.la |