diff options
author | frueauf <frueauf@pkgsrc.org> | 1999-05-12 08:05:36 +0000 |
---|---|---|
committer | frueauf <frueauf@pkgsrc.org> | 1999-05-12 08:05:36 +0000 |
commit | e4c3be2ab8d276f41cfdb9f8f082b92ac17d61a6 (patch) | |
tree | 631a699d7e96e7ad84b39004d886701c30e5c237 /audio | |
parent | 411df0816ade00410d31ae8850346f9270031118 (diff) | |
download | pkgsrc-e4c3be2ab8d276f41cfdb9f8f082b92ac17d61a6.tar.gz |
Initial addition of xsidplay 1.3.5, a sidplay x11 frontend.
Provided in pr 7353 by Antti Kantee.
Diffstat (limited to 'audio')
-rw-r--r-- | audio/xsidplay/Makefile | 31 | ||||
-rw-r--r-- | audio/xsidplay/files/md5 | 3 | ||||
-rw-r--r-- | audio/xsidplay/patches/patch-aa | 77 | ||||
-rw-r--r-- | audio/xsidplay/patches/patch-ab | 33 | ||||
-rw-r--r-- | audio/xsidplay/patches/patch-ac | 13 | ||||
-rw-r--r-- | audio/xsidplay/patches/patch-ad | 16 | ||||
-rw-r--r-- | audio/xsidplay/patches/patch-ae | 16 | ||||
-rw-r--r-- | audio/xsidplay/pkg/COMMENT | 1 | ||||
-rw-r--r-- | audio/xsidplay/pkg/DESCR | 2 | ||||
-rw-r--r-- | audio/xsidplay/pkg/PLIST | 2 |
10 files changed, 194 insertions, 0 deletions
diff --git a/audio/xsidplay/Makefile b/audio/xsidplay/Makefile new file mode 100644 index 00000000000..c9575136413 --- /dev/null +++ b/audio/xsidplay/Makefile @@ -0,0 +1,31 @@ +# $NetBSD: Makefile,v 1.1.1.1 1999/05/12 08:05:36 frueauf Exp $ +# + +DISTNAME= xsidplay-1_3_5 +PKGNAME= xsidplay-1.3.5 +WRKSRC= ${WRKDIR}/xsidplay-1.3.5 +CATEGORIES= audio x11 +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/ + +DEPENDS+= sidplay-1.36.34:../../audio/sidplay +DEPENDS+= qt-1.42:../../x11/qt + +USE_X11BASE= yes +GNU_CONFIGURE= yes +USE_GMAKE= yes + +CONFIGURE_ARGS+= --with-sidplay-includes=${LOCALBASE}/include \ + --with-sidplay-library=${LOCALBASE}/lib \ + --with-qt-includes=${LOCALBASE}/include/qt \ + --with-qt-libraries=${LOCALBASE}/lib \ + --with-qt-includes=${X11BASE}/include/qt \ + --with-qt-libraries=${X11BASE}/lib + +do-install: + @${INSTALL_PROGRAM} ${WRKSRC}/src/xsidplay ${PREFIX}/bin + +.include "../../mk/bsd.pkg.mk" diff --git a/audio/xsidplay/files/md5 b/audio/xsidplay/files/md5 new file mode 100644 index 00000000000..37eb2523afb --- /dev/null +++ b/audio/xsidplay/files/md5 @@ -0,0 +1,3 @@ +$NetBSD: md5,v 1.1.1.1 1999/05/12 08:05:36 frueauf Exp $ + +MD5 (xsidplay-1_3_5.tgz) = b26aee06cd2003f8e6c1c7524cf55e46 diff --git a/audio/xsidplay/patches/patch-aa b/audio/xsidplay/patches/patch-aa new file mode 100644 index 00000000000..ba2e97984cd --- /dev/null +++ b/audio/xsidplay/patches/patch-aa @@ -0,0 +1,77 @@ +$NetBSD: patch-aa,v 1.1.1.1 1999/05/12 08:05:36 frueauf Exp $ + +--- configure.orig Sat Apr 10 12:43:55 1999 ++++ configure Sat Apr 10 12:45:13 1999 +@@ -9,9 +9,7 @@ + + # Defaults: + ac_help= +-ac_default_prefix=/usr/local +-# Any additions from configure.in: +-ac_default_prefix=/usr ++ac_default_prefix=${PREFIX} + ac_help="$ac_help + --with-sidplay-includes=DIR + where the sidplay includes are located" +@@ -1533,6 +1531,42 @@ + else + echo "$ac_t""no" 1>&6 + fi ++ ++echo $ac_n "checking for main in -lossaudio""... $ac_c" 1>&6 ++echo "configure:1446: checking for main in -lossaudio" >&5 ++ac_lib_var=`echo ossaudio'_'main | sed 'y%./+-%__p_%'` ++if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then ++ echo $ac_n "(cached) $ac_c" 1>&6 ++else ++ ac_save_LIBS="$LIBS" ++LIBS="-lossaudio $LIBS" ++cat > conftest.$ac_ext <<EOF ++#line 1454 "configure" ++#include "confdefs.h" ++ ++int main() { ++main() ++; return 0; } ++EOF ++if { (eval echo configure:1461: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then ++ rm -rf conftest* ++ eval "ac_cv_lib_$ac_lib_var=yes" ++else ++ echo "configure: failed program was:" >&5 ++ cat conftest.$ac_ext >&5 ++ rm -rf conftest* ++ eval "ac_cv_lib_$ac_lib_var=no" ++fi ++rm -f conftest* ++LIBS="$ac_save_LIBS" ++ ++fi ++if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then ++ echo "$ac_t""yes" 1>&6 ++ LIBAUDIO=-lossaudio ++else ++ echo "$ac_t""no" 1>&6 ++fi + + echo $ac_n "checking for main in -liostream""... $ac_c" 1>&6 + echo "configure:1539: checking for main in -liostream" >&5 +@@ -1827,6 +1861,10 @@ + $CP src/audio/linux/* src + echo "$ac_t""freebsd" 1>&6 + ;; ++ *netbsd*) ac_have_audio_driver=yes ++ $CP src/audio/linux/* src ++ echo "$ac_t""linux" 1>&6 ++ ;; + *solaris*) ac_have_audio_driver=yes + $CP src/audio/sparc/* src + echo "$ac_t""sparc" 1>&6 +@@ -2017,6 +2055,7 @@ + s%@QT_LDFLAGS@%$QT_LDFLAGS%g + s%@MOC@%$MOC%g + s%@LIBM@%$LIBM%g ++s%@LIBAUDIO@%$LIBAUDIO%g + s%@LIBIOS@%$LIBIOS%g + s%@MAKE@%$MAKE%g + s%@MAKE2@%$MAKE2%g diff --git a/audio/xsidplay/patches/patch-ab b/audio/xsidplay/patches/patch-ab new file mode 100644 index 00000000000..ed9d4e6de58 --- /dev/null +++ b/audio/xsidplay/patches/patch-ab @@ -0,0 +1,33 @@ +$NetBSD: patch-ab,v 1.1.1.1 1999/05/12 08:05:36 frueauf Exp $ + +--- configure.in.orig Sat Apr 10 10:50:45 1999 ++++ configure.in Sat Apr 10 11:10:30 1999 +@@ -2,7 +2,7 @@ + VERSION=1.3.5 + dnl AC_CONFIG_HEADER(src/config.h) + AC_CANONICAL_SYSTEM +-AC_PREFIX_DEFAULT(/usr) ++AC_PREFIX_DEFAULT(${PREFIX}) + + AC_PROG_CXX + AC_LANG_CPLUSPLUS +@@ -23,6 +23,8 @@ + + AC_CHECK_LIB(m,main,[LIBM=-lm],) dnl For FreeBSD and some others. + AC_SUBST(LIBM) ++AC_CHECK_LIB(ossaudio,main,[LIBAUDIO=-lossaudio],) dnl For NetBSD. ++AC_SUBST(LIBAUDIO) + AC_CHECK_LIB(iostream,main,[LIBIOS=-liostream],) dnl For old systems. + AC_SUBST(LIBIOS) + +@@ -56,6 +58,10 @@ + *freebsd*) ac_have_audio_driver=yes + $CP src/audio/linux/* src + AC_MSG_RESULT(freebsd) ++ ;; ++ *netbsd*) ac_have_audio_driver=yes ++ $CP src/audio/linux/* src ++ AC_MSG_RESULT(linux) + ;; + *solaris*) ac_have_audio_driver=yes + $CP src/audio/sparc/* src diff --git a/audio/xsidplay/patches/patch-ac b/audio/xsidplay/patches/patch-ac new file mode 100644 index 00000000000..49b8d294472 --- /dev/null +++ b/audio/xsidplay/patches/patch-ac @@ -0,0 +1,13 @@ +$NetBSD: patch-ac,v 1.1.1.1 1999/05/12 08:05:36 frueauf Exp $ + +--- src/Makefile.in.orig Sat Apr 10 11:42:39 1999 ++++ src/Makefile.in Sat Apr 10 11:42:54 1999 +@@ -29,7 +29,7 @@ + INCLUDES = -I$(SRCDIR) $(QT_INCLUDES) $(X_INCLUDES) $(SIDPLAY_INCLUDES) + LIBM = @LIBM@ + LIBIOS = @LIBIOS@ +-LIBS = @LIBS@ -lqt -lX11 -lsidplay $(LIBM) $(LIBIOS) ++LIBS = @LIBS@ -lqt -lX11 -lsidplay $(LIBM) $(LIBIOS) @LIBAUDIO@ + + # Part of Qt. + MOC = @MOC@ diff --git a/audio/xsidplay/patches/patch-ad b/audio/xsidplay/patches/patch-ad new file mode 100644 index 00000000000..7327f0e957b --- /dev/null +++ b/audio/xsidplay/patches/patch-ad @@ -0,0 +1,16 @@ +$NetBSD: patch-ad,v 1.1.1.1 1999/05/12 08:05:36 frueauf Exp $ + +--- src/audio/linux/AudioDriver.h.orig Sat Apr 10 12:02:43 1999 ++++ src/audio/linux/AudioDriver.h Sat Apr 10 12:03:29 1999 +@@ -13,8 +13,10 @@ + #include <sidplay/compconf.h> + #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/xsidplay/patches/patch-ae b/audio/xsidplay/patches/patch-ae new file mode 100644 index 00000000000..a1695c09337 --- /dev/null +++ b/audio/xsidplay/patches/patch-ae @@ -0,0 +1,16 @@ +$NetBSD: patch-ae,v 1.1.1.1 1999/05/12 08:05:36 frueauf Exp $ + +--- src/audio/linux/AudioDriver.cpp.orig Sat Apr 10 13:28:53 1999 ++++ src/audio/linux/AudioDriver.cpp Sat Apr 10 13:29:58 1999 +@@ -4,7 +4,11 @@ + + #include "AudioDriver.h" + ++#if defined(HAVE_NETBSD) ++const char AudioDriver::AUDIODEVICE[] = "/dev/audio"; ++#else + const char AudioDriver::AUDIODEVICE[] = "/dev/dsp"; ++#endif + + AudioDriver::AudioDriver() + { diff --git a/audio/xsidplay/pkg/COMMENT b/audio/xsidplay/pkg/COMMENT new file mode 100644 index 00000000000..ba03f2ac208 --- /dev/null +++ b/audio/xsidplay/pkg/COMMENT @@ -0,0 +1 @@ +a sidplay x11 frontend. diff --git a/audio/xsidplay/pkg/DESCR b/audio/xsidplay/pkg/DESCR new file mode 100644 index 00000000000..dc0e3495277 --- /dev/null +++ b/audio/xsidplay/pkg/DESCR @@ -0,0 +1,2 @@ +XSidplay is a graphical frontend to the sidplay sidtune player. Uses +the Qt library. diff --git a/audio/xsidplay/pkg/PLIST b/audio/xsidplay/pkg/PLIST new file mode 100644 index 00000000000..c65f3392956 --- /dev/null +++ b/audio/xsidplay/pkg/PLIST @@ -0,0 +1,2 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 1999/05/12 08:05:36 frueauf Exp $ +bin/xsidplay |