summaryrefslogtreecommitdiff
path: root/audio/sidplay
diff options
context:
space:
mode:
authorfrueauf <frueauf>1999-02-09 13:09:55 +0000
committerfrueauf <frueauf>1999-02-09 13:09:55 +0000
commit2cb2e50cd6330046cdce074048d11463c577d008 (patch)
tree4b73d8660c56fcdea59c1f933ee7ef86c77aee21 /audio/sidplay
parentee1c145618791cca58ff7f9e182b5fbdb3d79f45 (diff)
downloadpkgsrc-2cb2e50cd6330046cdce074048d11463c577d008.tar.gz
Initial import of sidplay-1.36.32, some tools for playing sidtunes.
Based on pr 6960 by Antti Kantee with some changes by myself.
Diffstat (limited to 'audio/sidplay')
-rw-r--r--audio/sidplay/Makefile17
-rw-r--r--audio/sidplay/files/md53
-rw-r--r--audio/sidplay/patches/patch-aa33
-rw-r--r--audio/sidplay/patches/patch-ab39
-rw-r--r--audio/sidplay/patches/patch-ac22
-rw-r--r--audio/sidplay/patches/patch-ad16
-rw-r--r--audio/sidplay/patches/patch-ae13
-rw-r--r--audio/sidplay/patches/patch-af13
-rw-r--r--audio/sidplay/pkg/COMMENT1
-rw-r--r--audio/sidplay/pkg/DESCR9
-rw-r--r--audio/sidplay/pkg/PLIST16
11 files changed, 182 insertions, 0 deletions
diff --git a/audio/sidplay/Makefile b/audio/sidplay/Makefile
new file mode 100644
index 00000000000..dcef50a2503
--- /dev/null
+++ b/audio/sidplay/Makefile
@@ -0,0 +1,17 @@
+# $NetBSD: Makefile,v 1.1.1.1 1999/02/09 13:09:55 frueauf Exp $
+#
+
+DISTNAME= sidplay-1_36_32
+PKGNAME= sidplay-1.36.32
+WRKSRC= ${WRKDIR}/sidplay-1.36.32
+CATEGORIES= audio
+MASTER_SITES= http://www.geocities.com/SiliconValley/Lakes/5147/sidplay/packages/
+EXTRACT_SUFX= .tgz
+
+MAINTAINER= packages@netbsd.org
+HOMEPAGE= http://www.geocities.com/SiliconValley/Lakes/5147/sidplay/
+
+GNU_CONFIGURE= yes
+USE_GMAKE= yes
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/audio/sidplay/files/md5 b/audio/sidplay/files/md5
new file mode 100644
index 00000000000..d24c0dddb65
--- /dev/null
+++ b/audio/sidplay/files/md5
@@ -0,0 +1,3 @@
+$NetBSD: md5,v 1.1.1.1 1999/02/09 13:09:55 frueauf Exp $
+
+MD5 (sidplay-1_36_32.tgz) = 31dd86fca0742d02cdb5e69ec12314a7
diff --git a/audio/sidplay/patches/patch-aa b/audio/sidplay/patches/patch-aa
new file mode 100644
index 00000000000..0b27a8260ad
--- /dev/null
+++ b/audio/sidplay/patches/patch-aa
@@ -0,0 +1,33 @@
+$NetBSD: patch-aa,v 1.1.1.1 1999/02/09 13:09:56 frueauf Exp $
+
+--- configure.in.orig Tue Sep 15 01:17:27 1998
++++ configure.in Sun Jan 31 12:45:24 1999
+@@ -1,7 +1,7 @@
+ AC_INIT(libsidplay/sidtune.cpp)
+ AC_CONFIG_HEADER(libsidplay/include/config.h)
+ AC_CANONICAL_SYSTEM
+-AC_PREFIX_DEFAULT(/usr)
++AC_PREFIX_DEFAULT(${PREFIX})
+
+ AC_PROG_CXX
+ AC_LANG_CPLUSPLUS
+@@ -38,7 +38,7 @@
+ AC_CHECK_HEADERS(limits.h)
+ AC_CHECK_HEADERS(strstream.h strstrea.h fstream.h iostream.h iomanip.h)
+ AC_CHECK_HEADERS(sys/ioctl.h linux/soundcard.h machine/soundcard.h \
+- sys/audio.h sun/audioio.h sun/dbriio.h sys/audioio.h \
++ soundcard.h sys/audio.h sun/audioio.h sun/dbriio.h sys/audioio.h \
+ audio.h dmedia/audio.h)
+
+ AC_CHECK_LIB(m,main,[LIBM=-lm],) dnl For FreeBSD.
+@@ -91,6 +91,10 @@
+ *sunos*) AC_DEFINE(HAVE_SUNOS,1)
+ $CP console/audio/sparc/* console
+ AC_MSG_RESULT(sparc)
++ ;;
++ *netbsd*) AC_DEFINE(HAVE_NETBSD,1)
++ $CP console/audio/linux/* console
++ AC_MSG_RESULT(linux)
+ ;;
+ esac
+
diff --git a/audio/sidplay/patches/patch-ab b/audio/sidplay/patches/patch-ab
new file mode 100644
index 00000000000..970a7342fc1
--- /dev/null
+++ b/audio/sidplay/patches/patch-ab
@@ -0,0 +1,39 @@
+$NetBSD: patch-ab,v 1.1.1.1 1999/02/09 13:09:56 frueauf Exp $
+
+--- configure.orig Tue Sep 15 01:19:16 1998
++++ configure Sun Jan 31 12:45:05 1999
+@@ -9,9 +9,9 @@
+
+ # Defaults:
+ ac_help=
+-ac_default_prefix=/usr/local
++ac_default_prefix=${PREFIX}
+ # Any additions from configure.in:
+-ac_default_prefix=/usr
++ac_default_prefix=${PREFIX}
+
+ # Initialize some variables set by options.
+ # The variables have the same names as the options, with
+@@ -1363,7 +1363,7 @@
+ done
+
+ for ac_hdr in sys/ioctl.h linux/soundcard.h machine/soundcard.h \
+- sys/audio.h sun/audioio.h sun/dbriio.h sys/audioio.h \
++ soundcard.h sys/audio.h sun/audioio.h sun/dbriio.h sys/audioio.h \
+ audio.h dmedia/audio.h
+ do
+ ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
+@@ -1826,6 +1826,13 @@
+
+ $CP console/audio/sparc/* console
+ echo "$ac_t""sparc" 1>&6
++ ;;
++ *netbsd*) cat >> confdefs.h <<\EOF
++#define HAVE_NETBSD 1
++EOF
++
++ $CP console/audio/linux/* console
++ echo "$ac_t""linux" 1>&6
+ ;;
+ esac
+
diff --git a/audio/sidplay/patches/patch-ac b/audio/sidplay/patches/patch-ac
new file mode 100644
index 00000000000..885a1a7f425
--- /dev/null
+++ b/audio/sidplay/patches/patch-ac
@@ -0,0 +1,22 @@
+$NetBSD: patch-ac,v 1.1.1.1 1999/02/09 13:09:56 frueauf Exp $
+
+--- ./libsidplay/include/config.h.in.orig Thu Jul 2 21:45:06 1998
++++ ./libsidplay/include/config.h.in Sun Jan 31 12:47:40 1999
+@@ -21,6 +21,7 @@
+ #undef HAVE_MSDOS
+ #undef HAVE_BEOS
+ #undef HAVE_RISCOS
++#undef HAVE_NETBSD
+
+ /* Define the file/path separator(s) that your filesystem uses:
+ FS_IS_COLON_AND_BACKSLASH, FS_IS_COLON_AND_SLASH, FS_IS_BACKSLASH,
+@@ -79,6 +80,9 @@
+
+ /* Define if you have the <machine/soundcard.h> header file. */
+ #undef HAVE_MACHINE_SOUNDCARD_H
++
++/* Define if you have the <soundcard.h> header file. */
++#undef HAVE_SOUNDCARD_H
+
+ /* Define if you have the <sun/audioio.h> header file. */
+ #undef HAVE_SUN_AUDIOIO_H
diff --git a/audio/sidplay/patches/patch-ad b/audio/sidplay/patches/patch-ad
new file mode 100644
index 00000000000..ce416f0c5aa
--- /dev/null
+++ b/audio/sidplay/patches/patch-ad
@@ -0,0 +1,16 @@
+$NetBSD: patch-ad,v 1.1.1.1 1999/02/09 13:09:56 frueauf Exp $
+
+--- ./console/audio/linux/audiodrv.h.orig Mon Oct 5 19:20:27 1998
++++ ./console/audio/linux/audiodrv.h Sun Jan 31 11:21:24 1999
+@@ -16,8 +16,10 @@
+
+ #if defined(HAVE_LINUX) && defined(HAVE_LINUX_SOUNDCARD_H)
+ #include <linux/soundcard.h>
+-#elif defined(HAVE_FREEBSD) && defined((HAVE_MACHINE_SOUNDCARD_H)
++#elif defined(HAVE_FREEBSD) && defined(HAVE_MACHINE_SOUNDCARD_H)
+ #include <machine/soundcard.h>
++#elif defined(HAVE_NETBSD) && defined(HAVE_SOUNDCARD_H)
++ #include <soundcard.h>
+ #else
+ #error Audio driver not supported.
+ #endif
diff --git a/audio/sidplay/patches/patch-ae b/audio/sidplay/patches/patch-ae
new file mode 100644
index 00000000000..81e61856938
--- /dev/null
+++ b/audio/sidplay/patches/patch-ae
@@ -0,0 +1,13 @@
+$NetBSD: patch-ae,v 1.1.1.1 1999/02/09 13:09:56 frueauf Exp $
+
+--- ./console/Makefile.in.orig Sat May 23 02:30:46 1998
++++ ./console/Makefile.in Sun Jan 31 11:33:05 1999
+@@ -24,7 +24,7 @@
+ DEFS = @DEFS@
+ INCLUDES = -I$(SRCDIR) -I$(TOPDIR)/libsidplay/include
+
+-LIBM = @LIBM@
++LIBM = @LIBM@ -lossaudio
+ LIBIOS = @LIBIOS@
+ SIDLIB = -L$(TOPDIR)/libsidplay -lsidplay
+ LIBS = @LIBS@ $(LIBM) $(LIBIOS) $(SIDLIB)
diff --git a/audio/sidplay/patches/patch-af b/audio/sidplay/patches/patch-af
new file mode 100644
index 00000000000..d97fa4c48a1
--- /dev/null
+++ b/audio/sidplay/patches/patch-af
@@ -0,0 +1,13 @@
+$NetBSD: patch-af,v 1.1.1.1 1999/02/09 13:09:56 frueauf Exp $
+
+--- console/audiodrv.cpp-orig Tue Feb 9 13:15:41 1999
++++ console/audiodrv.cpp Tue Feb 9 13:54:31 1999
+@@ -7,7 +7,7 @@
+
+ #include "audiodrv.h"
+
+-const char audioDriver::AUDIODEVICE[] = "/dev/dsp";
++const char audioDriver::AUDIODEVICE[] = "/dev/audio";
+
+ audioDriver::audioDriver()
+ {
diff --git a/audio/sidplay/pkg/COMMENT b/audio/sidplay/pkg/COMMENT
new file mode 100644
index 00000000000..285a87ba4df
--- /dev/null
+++ b/audio/sidplay/pkg/COMMENT
@@ -0,0 +1 @@
+some tools for playing sidtunes.
diff --git a/audio/sidplay/pkg/DESCR b/audio/sidplay/pkg/DESCR
new file mode 100644
index 00000000000..0093a31df98
--- /dev/null
+++ b/audio/sidplay/pkg/DESCR
@@ -0,0 +1,9 @@
+Basically, SIDPLAY is just an ordinary music player software. More
+specifically, SIDPLAY emulates the Sound Interface Device chip (MOS 6581,
+commonly called SID) and the Micro Processor Unit (MOS 6510) of the
+Commodore 64 on your computer. It is a platform independent software
+emulating these hardware components. Therefore it is able to load and
+execute C64 machine code programs which produce music or sound. In general
+these are independent fragments of code and data which have been ripped
+from games and demonstration programs and have been transferred directly
+from the C64.
diff --git a/audio/sidplay/pkg/PLIST b/audio/sidplay/pkg/PLIST
new file mode 100644
index 00000000000..cea6369e91e
--- /dev/null
+++ b/audio/sidplay/pkg/PLIST
@@ -0,0 +1,16 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 1999/02/09 13:09:56 frueauf Exp $
+bin/sidplay
+bin/sid2wav
+bin/sidcon
+include/sidplay/compconf.h
+include/sidplay/config.h
+include/sidplay/emucfg.h
+include/sidplay/fformat.h
+include/sidplay/myendian.h
+include/sidplay/mytypes.h
+include/sidplay/player.h
+include/sidplay/sidtune.h
+include/sidplay/version.h
+include/sidplay/fixpoint.h
+lib/libsidplay.a
+@dirrm include/sidplay