Add recipe for timgmsoundfont

This commit is contained in:
Ingo Weinhold
2013-05-03 15:45:03 +02:00
parent a678bf06bf
commit ee6358786c
3 changed files with 46 additions and 0 deletions

View File

@@ -0,0 +1,2 @@
Any copyright is dedicated to the Public Domain.
http://creativecommons.org/publicdomain/zero/1.0/

View File

@@ -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):
<http://ftp.de.debian.org/debian/pool/main/f/fluid-soundfont/fluid-soundfont_3.1.orig.tar.gz>

View File

@@ -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.
}