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