SUMMARY="A good quality General Midi Soundfont"
DESCRIPTION="A good quality General Midi Soundfont."
HOMEPAGE="http://ocmnet.com/saxguru/Timidity.htm"
LICENSE="Public Domain"
COPYRIGHT="2004 Tim Brechbill"
SRC_URI="http://ocmnet.com/saxguru/TimGM6mb.sf2#noarchive"
CHECKSUM_MD5="1f569cc40159a6bd9250f816225ae222"
REVISION="4"
ARCHITECTURES="any"
DISABLE_SOURCE_PACKAGE=yes

ADDITIONAL_FILES="Installing alternative sound fonts"

PROVIDES="
	timgmsoundfont = $portVersion compat >= 0
	"
REQUIRES="
	"
BUILD_REQUIRES="
	"
BUILD_PREREQUIRES="
	cmd:cp
	"

BUILD()
{
	true
}

INSTALL()
{
	synthDir=$dataDir/synth
	mkdir -p $synthDir
	cp TimGM6mb.sf2 \
		"$portDir/additional-files/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.
}
