[Lunar-commits] r19375 - in moonbase/trunk/audio: . timidity++ timidity-eawpatches

Stefan Wold ratler at lunar-linux.org
Wed Mar 22 08:09:47 UTC 2006


Author: ratler
Date: 2006-03-22 08:09:46 +0000 (Wed, 22 Mar 2006)
New Revision: 19375

Added:
   moonbase/trunk/audio/timidity++/
   moonbase/trunk/audio/timidity++/BUILD
   moonbase/trunk/audio/timidity++/CONFIGURE
   moonbase/trunk/audio/timidity++/DEPENDS
   moonbase/trunk/audio/timidity++/DETAILS
   moonbase/trunk/audio/timidity++/POST_INSTALL
   moonbase/trunk/audio/timidity-eawpatches/
   moonbase/trunk/audio/timidity-eawpatches/BUILD
   moonbase/trunk/audio/timidity-eawpatches/DEPENDS
   moonbase/trunk/audio/timidity-eawpatches/DETAILS
Log:
A midi player and converter. Also the most used timidity fonts (instruments) are supplied by timidity-eawpatches.

Added: moonbase/trunk/audio/timidity++/BUILD
===================================================================
--- moonbase/trunk/audio/timidity++/BUILD	                        (rev 0)
+++ moonbase/trunk/audio/timidity++/BUILD	2006-03-22 08:09:46 UTC (rev 19375)
@@ -0,0 +1,33 @@
+(
+
+  if [ "$INSTALL_EAW" == "y" ]; then
+    set_module_config EAW y
+  fi &&
+
+  audio="oss"
+  if is_depends flac; then
+    audio="${audio},flac"
+  fi &&
+  if is_depends alsa-lib; then
+    audio="${audio},alsa"
+  fi &&
+  if is_depends libvorbis; then
+    audio="${audio},vorbis"
+  fi &&
+
+  ./configure --prefix=/usr \
+              --localstatedir=/var/state/timidity++ \
+              --with-elf \
+              --enable-audio=${audio} \
+              --enable-server \
+              --enable-network \
+              --enable-dynamic \
+              --enable-vt100 \
+              --enable-spline=cubic \
+              $OPTS &&
+
+  default_make &&
+  [ -d /usr/share/timidity ] || mkdir /usr/share/timidity &&
+  install -m0664 $SOURCE_CACHE/$SOURCE2 /usr/share/timidity/timidity.cfg
+
+) > $C_FIFO 2>&1

Added: moonbase/trunk/audio/timidity++/CONFIGURE
===================================================================
--- moonbase/trunk/audio/timidity++/CONFIGURE	                        (rev 0)
+++ moonbase/trunk/audio/timidity++/CONFIGURE	2006-03-22 08:09:46 UTC (rev 19375)
@@ -0,0 +1 @@
+mquery INSTALL_EAW "Do you want to install eawpatches (instrument fonts)?" y

Added: moonbase/trunk/audio/timidity++/DEPENDS
===================================================================
--- moonbase/trunk/audio/timidity++/DEPENDS	                        (rev 0)
+++ moonbase/trunk/audio/timidity++/DEPENDS	2006-03-22 08:09:46 UTC (rev 19375)
@@ -0,0 +1,10 @@
+optional_depends "gtk+-2" "--enable-gtk" "" "for GTK support" &&
+optional_depends "ncurses" "--enable-ncurses" "" "for ncurses support" &&
+optional_depends "tk" "--enable-tcltk" "" "for tcl/tk support" &&
+optional_depends "openMotif" "--enable-motif" "" "for motif support" &&
+optional_depends "alsa-lib" \
+                 "--with-default-output=alsa --enable-alsaseq" \
+                 "" \
+                 "for ALSA output support" &&
+optional_depends "flac" "--enable-flac" "" "for flac support" &&
+optional_depends "libvorbis" "" "" "for Ogg Vorbis support"

Added: moonbase/trunk/audio/timidity++/DETAILS
===================================================================
--- moonbase/trunk/audio/timidity++/DETAILS	                        (rev 0)
+++ moonbase/trunk/audio/timidity++/DETAILS	2006-03-22 08:09:46 UTC (rev 19375)
@@ -0,0 +1,20 @@
+          MODULE=timidity++
+         VERSION=2.13.0
+          SOURCE=TiMidity++-$VERSION.tar.bz2
+         SOURCE2=timidity-0.1.cfg
+SOURCE_DIRECTORY=$BUILD_DIRECTORY/TiMidity++-$VERSION
+      SOURCE_URL=$SFORGE_URL/timidity/
+     SOURCE2_URL=$PATCH_URL/
+      SOURCE_VFY=sha1:2850784523ffc4c198d57baae6fb7406ad51d722
+     SOURCE2_VFY=sha1:be778d2d2669f438b9f95999d45cc5f4d29feeef
+        WEB_SITE=http://timidity.sourceforge.net/
+         ENTERED=20060322
+         UPDATED=20060322
+           SHORT="A MIDI to WAV converter with OSS and ALSA support"
+cat << EOF
+TiMidity++ is a software synthesizer. It can play MIDI files by
+converting them into PCM waveform data; give it a MIDI data along with
+digital instrument data files, then it synthesizes them in real-time, 
+and plays. It can not only play sounds, but also can save the generated
+waveforms into hard disks as various audio file formats.
+EOF

Added: moonbase/trunk/audio/timidity++/POST_INSTALL
===================================================================
--- moonbase/trunk/audio/timidity++/POST_INSTALL	                        (rev 0)
+++ moonbase/trunk/audio/timidity++/POST_INSTALL	2006-03-22 08:09:46 UTC (rev 19375)
@@ -0,0 +1,6 @@
+EAW="`get_module_config EAW`"
+if [ ! -z $EAW ]; then
+  lin timidity-eawpatches
+fi
+
+unset_module_config EAW

Added: moonbase/trunk/audio/timidity-eawpatches/BUILD
===================================================================
--- moonbase/trunk/audio/timidity-eawpatches/BUILD	                        (rev 0)
+++ moonbase/trunk/audio/timidity-eawpatches/BUILD	2006-03-22 08:09:46 UTC (rev 19375)
@@ -0,0 +1,17 @@
+(
+
+  INSTDIR="/usr/share/timidity/eawpatches"
+  sedit "s;^dir.*;dir /usr/share/timidity/eawpatches;" linuxconfig/timidity.cfg &&
+
+  prepare_install &&
+  [ -d $INSTDIR ] || mkdir -p $INSTDIR &&
+  install -m 0644  *.pat ${INSTDIR}/ &&
+  install -m 0644 *.cfg ${INSTDIR}/ &&
+  for i in ethnic mazpat gsdrum08 gsdrum25 gsdrum40 \
+           gus power sfx wime; do
+    cp -r $i ${INSTDIR}/
+  done &&
+  install -m 0644 linuxconfig/timidity.cfg ${INSTDIR}/ &&
+  ln -s ${INSTDIR}/timidity.cfg /usr/share/timidity/current
+
+) > $C_FIFO 2>&1

Added: moonbase/trunk/audio/timidity-eawpatches/DEPENDS
===================================================================
--- moonbase/trunk/audio/timidity-eawpatches/DEPENDS	                        (rev 0)
+++ moonbase/trunk/audio/timidity-eawpatches/DEPENDS	2006-03-22 08:09:46 UTC (rev 19375)
@@ -0,0 +1 @@
+depends timidity++

Added: moonbase/trunk/audio/timidity-eawpatches/DETAILS
===================================================================
--- moonbase/trunk/audio/timidity-eawpatches/DETAILS	                        (rev 0)
+++ moonbase/trunk/audio/timidity-eawpatches/DETAILS	2006-03-22 08:09:46 UTC (rev 19375)
@@ -0,0 +1,16 @@
+          MODULE=timidity-eawpatches
+         VERSION=12_full
+          SOURCE=eawpats$VERSION.tar.gz
+SOURCE_DIRECTORY=$BUILD_DIRECTORY/eawpats
+   SOURCE_URL[0]=ftp://ftp.snt.utwente.nl/pub/os/linux/gentoo/distfiles/
+   SOURCE_URL[1]=http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/distfiles/
+      SOURCE_VFY=sha1:838fa08e405a65e988f4d576b086a3e4d99a4da0
+        WEB_SITE=ftp://ftp.snt.utwente.nl/pub/os/linux/gentoo/distfiles/
+         ENTERED=20060322
+         UPDATED=20060322
+           SHORT="A collection of sound fonts for timidity by Eric A. Welsh"
+cat << EOF
+This is Eric A. Welsh's collection of Gravis UltraSound MIDI patches,
+configured for use with the TiMidity++ MIDI player.  A configuration file
+for TiMidity++ to use these patches is also included.
+EOF



More information about the Lunar-commits mailing list