summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--audio/rioutil/DESCR3
-rw-r--r--audio/rioutil/Makefile26
-rw-r--r--audio/rioutil/PLIST10
-rw-r--r--audio/rioutil/distinfo5
-rw-r--r--audio/rioutil/patches/patch-aa24
5 files changed, 68 insertions, 0 deletions
diff --git a/audio/rioutil/DESCR b/audio/rioutil/DESCR
new file mode 100644
index 00000000000..f1576c62c5b
--- /dev/null
+++ b/audio/rioutil/DESCR
@@ -0,0 +1,3 @@
+This program will talk to usb based diamond mm products (with
+exception of the rio500, try rio500.sourceforge.net). This code
+will be maintained until the first release of libpdmp.
diff --git a/audio/rioutil/Makefile b/audio/rioutil/Makefile
new file mode 100644
index 00000000000..f27331ea07d
--- /dev/null
+++ b/audio/rioutil/Makefile
@@ -0,0 +1,26 @@
+# $NetBSD: Makefile,v 1.1.1.1 2002/05/13 16:39:09 schmonz Exp $
+#
+
+DISTNAME= rioutil-1.1.2alpha
+PKGNAME= rioutil-1.1.2.0.1
+CATEGORIES= audio
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=rioutil/}
+
+MAINTAINER= schmonz@netbsd.org
+HOMEPAGE= http://rioutil.sourceforge.net/
+COMMENT= program and library to interface with Rio 600, 800, Nike psa[play
+
+USE_BUILDLINK_ONLY= # defined
+
+USE_LIBTOOL= # defined
+LTCONFIG_OVERRIDE= ${WRKSRC}/ltconfig
+GNU_CONFIGURE= # defined
+CONFIGURE_ARGS+= --with-libusb
+
+# on NetBSD, we need a recent urio.c
+ONLY_FOR_PLATFORM= NetBSD-1.5Z-* NetBSD-1.5Z[A-Z]-* NetBSD-1.[6-9]*-* \
+ Darwin-*-* Linux-*-*
+
+.include "../../audio/id3lib/buildlink.mk"
+.include "../../devel/libusb/buildlink.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/audio/rioutil/PLIST b/audio/rioutil/PLIST
new file mode 100644
index 00000000000..6bb2778403d
--- /dev/null
+++ b/audio/rioutil/PLIST
@@ -0,0 +1,10 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2002/05/13 16:39:09 schmonz Exp $
+bin/riofck
+bin/rioutil
+include/rio.h
+lib/librioutil.a
+lib/librioutil.la
+lib/librioutil.so
+lib/librioutil.so.1
+lib/librioutil.so.1.0
+man/man1/rioutil.1
diff --git a/audio/rioutil/distinfo b/audio/rioutil/distinfo
new file mode 100644
index 00000000000..6bfe9c84cda
--- /dev/null
+++ b/audio/rioutil/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2002/05/13 16:39:09 schmonz Exp $
+
+SHA1 (rioutil-1.1.2alpha.tar.gz) = d7cd8f21d1337946b7530b8d36d3d1ce2e2e818d
+Size (rioutil-1.1.2alpha.tar.gz) = 277773 bytes
+SHA1 (patch-aa) = 3a5adf41ff1bcf56f2178fb31b31c207dd608a65
diff --git a/audio/rioutil/patches/patch-aa b/audio/rioutil/patches/patch-aa
new file mode 100644
index 00000000000..3446a39df03
--- /dev/null
+++ b/audio/rioutil/patches/patch-aa
@@ -0,0 +1,24 @@
+$NetBSD: patch-aa,v 1.1.1.1 2002/05/13 16:39:09 schmonz Exp $
+
+--- src/Makefile.in.orig Sat Mar 2 00:23:48 2002
++++ src/Makefile.in
+@@ -201,14 +201,14 @@
+
+ bin_PROGRAMS = rioutil riofck
+
+-INCLUDES = -I$(top_srcdir)/include -I/usr/local/include
++INCLUDES = -I$(top_srcdir)/include
+
+ riofck_SOURCES = fckrio.c
+ rioutil_SOURCES = main.c getopt.c getopt1.c main.h getopt.h
+-@MACOSX_TRUE@rioutil_LDADD = -L/usr/local/lib $(top_srcdir)/librioutil/librioutil.la -lIOKit
+-@MACOSX_FALSE@rioutil_LDADD = -L/usr/local/lib $(top_srcdir)/librioutil/librioutil.la
+-@MACOSX_TRUE@riofck_LDADD = -L/usr/local/lib $(top_srcdir)/librioutil/librioutil.la -lIOKit
+-@MACOSX_FALSE@riofck_LDADD = -L/usr/local/lib $(top_srcdir)/librioutil/librioutil.la
++@MACOSX_TRUE@rioutil_LDADD = $(top_srcdir)/librioutil/librioutil.la -lIOKit
++@MACOSX_FALSE@rioutil_LDADD = $(top_srcdir)/librioutil/librioutil.la
++@MACOSX_TRUE@riofck_LDADD = $(top_srcdir)/librioutil/librioutil.la -lIOKit
++@MACOSX_FALSE@riofck_LDADD = $(top_srcdir)/librioutil/librioutil.la
+ @MACOSX_TRUE@CFLGS = -traditional-cpp
+
+ CFLAGS = -g -O3