From ee6358786c7458d1f31b19a2def74e324634f164 Mon Sep 17 00:00:00 2001 From: Ingo Weinhold Date: Fri, 3 May 2013 15:45:03 +0200 Subject: [PATCH] Add recipe for timgmsoundfont --- .../timgmsoundfont/licenses/Public Domain | 2 + .../Installing alternative sound fonts | 3 ++ .../timgmsoundfont-2004_01_24.recipe | 41 +++++++++++++++++++ 3 files changed, 46 insertions(+) create mode 100644 haiku-data/timgmsoundfont/licenses/Public Domain create mode 100644 haiku-data/timgmsoundfont/sources/Installing alternative sound fonts create mode 100644 haiku-data/timgmsoundfont/timgmsoundfont-2004_01_24.recipe diff --git a/haiku-data/timgmsoundfont/licenses/Public Domain b/haiku-data/timgmsoundfont/licenses/Public Domain new file mode 100644 index 000000000..9064db33c --- /dev/null +++ b/haiku-data/timgmsoundfont/licenses/Public Domain @@ -0,0 +1,2 @@ +Any copyright is dedicated to the Public Domain. +http://creativecommons.org/publicdomain/zero/1.0/ \ No newline at end of file diff --git a/haiku-data/timgmsoundfont/sources/Installing alternative sound fonts b/haiku-data/timgmsoundfont/sources/Installing alternative sound fonts new file mode 100644 index 000000000..98096c0a2 --- /dev/null +++ b/haiku-data/timgmsoundfont/sources/Installing alternative sound fonts @@ -0,0 +1,3 @@ +The sound font used by the system is always "big_synth.sy". You can replace the default General Midi sound font with a better version by linking "big_synth.sy" to your alternative sound font. One example of a better quality (and much bigger) sound font can be downloaded here (MIT license): + + diff --git a/haiku-data/timgmsoundfont/timgmsoundfont-2004_01_24.recipe b/haiku-data/timgmsoundfont/timgmsoundfont-2004_01_24.recipe new file mode 100644 index 000000000..474d6f5c1 --- /dev/null +++ b/haiku-data/timgmsoundfont/timgmsoundfont-2004_01_24.recipe @@ -0,0 +1,41 @@ +SUMMARY="A good quality General Midi Soundfont" +DESCRIPTION="A good quality General Midi Soundfont." +HOMEPAGE="http://ocmnet.com/saxguru/Timidity.htm" +LICENSE="Public Domain" + # TODO: Remove "licenses" directory once updated to the current Haiku, since + # there "Public Domain" is included. +COPYRIGHT="2004 Tim Brechbill" +SRC_URI="http://ocmnet.com/saxguru/TimGM6mb.sf2#noarchive" +CHECKSUM_MD5="1f569cc40159a6bd9250f816225ae222" +REVISION="2" +ARCHITECTURES="any" + +PROVIDES=" + timgmsoundfont = $portVersion compat >= 0 + " +REQUIRES=" + " +BUILD_REQUIRES=" + cmd:cp + " +BUILD_PREREQUIRES=" + haiku + " + +BUILD() +{ + true +} + +INSTALL() +{ + synthDir=$dataDir/synth + mkdir $synthDir + cp TimGM6mb.sf2 "$portDir/sources/Installing alternative sound fonts" \ + $synthDir + ln -s TimGM6mb.sf2 $synthDir/big_synth.sy + # TODO: Since the data directory is read-only, replacing the symlink isn't + # possible as described in the read-me file. This requires changes in the + # midi kit and possibly a preferences application to set the sound font to + # use. +}