From 6d8d8210985c12b8bae67126208043c9332bbc69 Mon Sep 17 00:00:00 2001 From: Ion-Mihai Tetcu Date: Sat, 10 Jun 2006 22:13:39 +0000 Subject: [PATCH] Sidplay 2 is the second in the Sidplay series originally developed by Michael Schwendt. This version is written by Simon White and is cycle accurate for improved sound reproduction. Sidplay 2 is capable of playing all C64 mono and stereo file formats. WWW: http://sidplay2.sourceforge.net/ PR: ports/98762 Submitted by: Alexander Botero-Lowry Approved by: lawrance (mentor, implicit) --- audio/Makefile | 1 + audio/sidplay2/Makefile | 25 +++++++++++++++++++ audio/sidplay2/distinfo | 3 +++ .../files/patch-src_audio_oss_audiodrv.h | 19 ++++++++++++++ audio/sidplay2/pkg-descr | 6 +++++ 5 files changed, 54 insertions(+) create mode 100644 audio/sidplay2/Makefile create mode 100644 audio/sidplay2/distinfo create mode 100644 audio/sidplay2/files/patch-src_audio_oss_audiodrv.h create mode 100644 audio/sidplay2/pkg-descr diff --git a/audio/Makefile b/audio/Makefile index af70d61d38da..751752ce23d2 100644 --- a/audio/Makefile +++ b/audio/Makefile @@ -497,6 +497,7 @@ SUBDIR += shout SUBDIR += shoutcast SUBDIR += sidplay + SUBDIR += sidplay2 SUBDIR += sidplayer SUBDIR += simplemod SUBDIR += slimserver diff --git a/audio/sidplay2/Makefile b/audio/sidplay2/Makefile new file mode 100644 index 000000000000..bb93077a272a --- /dev/null +++ b/audio/sidplay2/Makefile @@ -0,0 +1,25 @@ +# New ports collection makefile for: sidplay2 +# Date created: 09 June 2006 +# Whom: Alexander Botero-Lowry +# +# $FreeBSD$ +# + +PORTNAME= sidplay2 +PORTVERSION= 2.0.9 +CATEGORIES= audio emulators +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} +MASTER_SITE_SUBDIR= ${PORTNAME} +DISTNAME= sidplay-${PORTVERSION} + +MAINTAINER= alex@foxybanana.com +COMMENT= A player that plays Commodore SID music files using libsidplay2 + +LIB_DEPENDS= sidplay2.1:${PORTSDIR}/audio/libsidplay2 + +MAN1= sidplay2.1 +PLIST_FILES= bin/sidplay2 + +GNU_CONFIGURE= yes + +.include diff --git a/audio/sidplay2/distinfo b/audio/sidplay2/distinfo new file mode 100644 index 000000000000..ccb43ee7cc13 --- /dev/null +++ b/audio/sidplay2/distinfo @@ -0,0 +1,3 @@ +MD5 (sidplay-2.0.9.tar.gz) = 8b0449e501ba8e684f718dce9b77c5a5 +SHA256 (sidplay-2.0.9.tar.gz) = b850986ce9226cb6eecca50057967be313771b67aed721421e74e6c931e02215 +SIZE (sidplay-2.0.9.tar.gz) = 362140 diff --git a/audio/sidplay2/files/patch-src_audio_oss_audiodrv.h b/audio/sidplay2/files/patch-src_audio_oss_audiodrv.h new file mode 100644 index 000000000000..a28ff35d2cfd --- /dev/null +++ b/audio/sidplay2/files/patch-src_audio_oss_audiodrv.h @@ -0,0 +1,19 @@ +--- src/audio/oss/audiodrv.h.orig Fri Jun 9 13:55:40 2006 ++++ src/audio/oss/audiodrv.h Fri Jun 9 13:56:03 2006 +@@ -57,15 +57,7 @@ + #include + #include + +-#if defined(HAVE_LINUX_SOUNDCARD_H) +-# include +-#elif defined(HAVE_MACHINE_SOUNDCARD_H) +-# include +-#elif defined(HAVE_SOUNDCARD_H) +-# include +-#else +-# error Audio driver not supported. +-#endif ++#include + + #include "../AudioBase.h" + diff --git a/audio/sidplay2/pkg-descr b/audio/sidplay2/pkg-descr new file mode 100644 index 000000000000..44f31f02cd2b --- /dev/null +++ b/audio/sidplay2/pkg-descr @@ -0,0 +1,6 @@ +Sidplay 2 is the second in the Sidplay series originally developed by Michael +Schwendt. This version is written by Simon White and is cycle accurate for +improved sound reproduction. Sidplay 2 is capable of playing all C64 mono and +stereo file formats. + +WWW: http://sidplay2.sourceforge.net/