summaryrefslogtreecommitdiff
path: root/audio
diff options
context:
space:
mode:
authorxtraeme <xtraeme@pkgsrc.org>2004-07-06 14:51:17 +0000
committerxtraeme <xtraeme@pkgsrc.org>2004-07-06 14:51:17 +0000
commitb271e913ee70132a72076b430c9a6d99ae9034b6 (patch)
treec98e968467e9a526c019b70c3ba023293f6728ee /audio
parente01692b1ea2102d6eec25e2a7601b445936b8045 (diff)
downloadpkgsrc-b271e913ee70132a72076b430c9a6d99ae9034b6.tar.gz
Initial import of libhydrogen-0.8.0 from pkgsrc-wip, contributed by
Chris Wareham. Shared library for Hydrogen, a simple real-time Drum machine/sequencer for CAC (Computer Aided Composition).
Diffstat (limited to 'audio')
-rw-r--r--audio/libhydrogen/DESCR2
-rw-r--r--audio/libhydrogen/Makefile24
-rw-r--r--audio/libhydrogen/PLIST49
-rw-r--r--audio/libhydrogen/buildlink3.mk21
-rw-r--r--audio/libhydrogen/distinfo5
-rw-r--r--audio/libhydrogen/patches/patch-aa17
6 files changed, 118 insertions, 0 deletions
diff --git a/audio/libhydrogen/DESCR b/audio/libhydrogen/DESCR
new file mode 100644
index 00000000000..7bf1dab8850
--- /dev/null
+++ b/audio/libhydrogen/DESCR
@@ -0,0 +1,2 @@
+Shared library for Hydrogen, a simple real-time Drum machine/sequencer
+for CAC (Computer Aided Composition).
diff --git a/audio/libhydrogen/Makefile b/audio/libhydrogen/Makefile
new file mode 100644
index 00000000000..a00cab42f15
--- /dev/null
+++ b/audio/libhydrogen/Makefile
@@ -0,0 +1,24 @@
+# $NetBSD: Makefile,v 1.1.1.1 2004/07/06 14:51:17 xtraeme Exp $
+
+DISTNAME= libhydrogen-0.8.0
+CATEGORIES= audio
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=hydrogen/}
+
+MAINTAINER= chris.wareham@btinternet.com
+HOMEPAGE= http://hydrogen.sourceforge.net/
+COMMENT= Shared library for the Hydrogen drum machine
+
+USE_BUILDLINK3= yes
+USE_LIBTOOL= yes
+USE_GNU_TOOLS+= make
+GNU_CONFIGURE= yes
+
+CONFIGURE_ARGS+= --disable-alsa-seq
+CONFIGURE_ARGS+= --disable-jack-support
+
+CPPFLAGS+= -DDEVOSSAUDIO=\"\\\"${DEVOSSAUDIO}\\\"\"
+
+.include "../../audio/libaudiofile/buildlink3.mk"
+.include "../../mk/ossaudio.buildlink3.mk"
+.include "../../mk/pthread.buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/audio/libhydrogen/PLIST b/audio/libhydrogen/PLIST
new file mode 100644
index 00000000000..c227db65cac
--- /dev/null
+++ b/audio/libhydrogen/PLIST
@@ -0,0 +1,49 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2004/07/06 14:51:17 xtraeme Exp $
+include/hydrogen/AlsaMidiDriver.h
+include/hydrogen/DiskWriterDriver.h
+include/hydrogen/EngineListener.h
+include/hydrogen/GenericDriver.h
+include/hydrogen/Globals.h
+include/hydrogen/Hydrogen.h
+include/hydrogen/JackDriver.h
+include/hydrogen/LocalFileMng.h
+include/hydrogen/NullDriver.h
+include/hydrogen/Object.h
+include/hydrogen/OssDriver.h
+include/hydrogen/PreferencesMng.h
+include/hydrogen/Sample.h
+include/hydrogen/Song.h
+lib/libhydrogen.a
+lib/libhydrogen.la
+lib/libhydrogen.so
+lib/libhydrogen.so.0
+lib/libhydrogen.so.0.0
+share/hydrogen/data/DefaultSong.h2song
+share/hydrogen/data/click.wav
+share/hydrogen/data/demo_songs/GM_kit_demo1.h2song
+share/hydrogen/data/demo_songs/GM_kit_demo2.h2song
+share/hydrogen/data/demo_songs/GM_kit_demo3.h2song
+share/hydrogen/data/drumkits/GMkit/clap_Dry_c.wav
+share/hydrogen/data/drumkits/GMkit/cra_Jazz.wav
+share/hydrogen/data/drumkits/GMkit/cra_Rock_a.wav
+share/hydrogen/data/drumkits/GMkit/cym_Jazz.wav
+share/hydrogen/data/drumkits/GMkit/cym_Rock_b.wav
+share/hydrogen/data/drumkits/GMkit/drumkit.xml
+share/hydrogen/data/drumkits/GMkit/hhc_Dry_a.wav
+share/hydrogen/data/drumkits/GMkit/hhc_Rock_b.wav
+share/hydrogen/data/drumkits/GMkit/hhp_Dry_a.wav
+share/hydrogen/data/drumkits/GMkit/kick_Dry_b.wav
+share/hydrogen/data/drumkits/GMkit/misc_Cowbell.wav
+share/hydrogen/data/drumkits/GMkit/sn_Jazz_c.wav
+share/hydrogen/data/drumkits/GMkit/sn_Wet_b.wav
+share/hydrogen/data/drumkits/GMkit/stick_Woody.wav
+share/hydrogen/data/drumkits/GMkit/tom_Rock_hi.wav
+share/hydrogen/data/drumkits/GMkit/tom_Rock_lo.wav
+share/hydrogen/data/drumkits/GMkit/tom_Rock_mid.wav
+share/hydrogen/data/emptySample.wav
+@dirrm share/hydrogen/data/drumkits/GMkit
+@dirrm share/hydrogen/data/drumkits
+@dirrm share/hydrogen/data/demo_songs
+@dirrm share/hydrogen/data
+@dirrm share/hydrogen
+@dirrm include/hydrogen
diff --git a/audio/libhydrogen/buildlink3.mk b/audio/libhydrogen/buildlink3.mk
new file mode 100644
index 00000000000..d3ff754eedc
--- /dev/null
+++ b/audio/libhydrogen/buildlink3.mk
@@ -0,0 +1,21 @@
+# $NetBSD: buildlink3.mk,v 1.1.1.1 2004/07/06 14:51:17 xtraeme Exp $
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
+LIBHYDROGEN_BUILDLINK3_MK:= ${LIBHYDROGEN_BUILDLINK3_MK}+
+
+.if !empty(BUILDLINK_DEPTH:M+)
+BUILDLINK_DEPENDS+= libhydrogen
+.endif
+
+BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nlibhydrogen}
+BUILDLINK_PACKAGES+= libhydrogen
+
+.if !empty(LIBHYDROGEN_BUILDLINK3_MK:M+)
+BUILDLINK_DEPENDS.libhydrogen+= libhydrogen>=0.8.0
+BUILDLINK_PKGSRCDIR.libhydrogen?= ../../audio/libhydrogen
+.endif # LIBHYDROGEN_BUILDLINK3_MK
+
+.include "../../audio/libaudiofile/buildlink3.mk"
+.include "../../mk/pthread.buildlink3.mk"
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}
diff --git a/audio/libhydrogen/distinfo b/audio/libhydrogen/distinfo
new file mode 100644
index 00000000000..e5f4d672ce9
--- /dev/null
+++ b/audio/libhydrogen/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2004/07/06 14:51:17 xtraeme Exp $
+
+SHA1 (libhydrogen-0.8.0.tar.gz) = 4f43b81653144ed4ade9df2e538259cf4289e3db
+Size (libhydrogen-0.8.0.tar.gz) = 767576 bytes
+SHA1 (patch-aa) = 1ba199707bd50cd75abded457b77cf39a00d5ca1
diff --git a/audio/libhydrogen/patches/patch-aa b/audio/libhydrogen/patches/patch-aa
new file mode 100644
index 00000000000..b65bb6cc708
--- /dev/null
+++ b/audio/libhydrogen/patches/patch-aa
@@ -0,0 +1,17 @@
+$NetBSD: patch-aa,v 1.1.1.1 2004/07/06 14:51:17 xtraeme Exp $
+
+--- src/OssDriver.h.orig 2003-09-24 14:20:31.000000000 +0200
++++ src/OssDriver.h 2003-09-24 14:22:34.000000000 +0200
+@@ -51,11 +51,7 @@
+ #include "GenericDriver.h"
+ #include "PreferencesMng.h"
+
+-#ifdef __NetBSD__
+- #define AUDIO_DEVICE "/dev/audio"
+-#else
+- #define AUDIO_DEVICE "/dev/dsp"
+-#endif
++#define AUDIO_DEVICE DEVOSSAUDIO
+
+ typedef int (*audioProcessCallback)(unsigned long, void *);
+