diff --git a/haiku-data/timgmsoundfont/additional-files/Installing alternative sound fonts b/haiku-data/timgmsoundfont/additional-files/Installing alternative sound fonts deleted file mode 100644 index 98096c0a2..000000000 --- a/haiku-data/timgmsoundfont/additional-files/Installing alternative sound fonts +++ /dev/null @@ -1,3 +0,0 @@ -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/source/timgmsoundfont-fixed.zip b/haiku-data/timgmsoundfont/source/timgmsoundfont-fixed.zip new file mode 100644 index 000000000..839a21726 Binary files /dev/null and b/haiku-data/timgmsoundfont/source/timgmsoundfont-fixed.zip differ diff --git a/haiku-data/timgmsoundfont/timgmsoundfont-2004_01_24.recipe b/haiku-data/timgmsoundfont/timgmsoundfont-2004_01_24.recipe deleted file mode 100644 index 776afe35b..000000000 --- a/haiku-data/timgmsoundfont/timgmsoundfont-2004_01_24.recipe +++ /dev/null @@ -1,42 +0,0 @@ -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_SHA256="82475b91a76de15cb28a104707d3247ba932e228bada3f47bba63c6b31aaf7a1" -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. -} diff --git a/haiku-data/timgmsoundfont/timgmsoundfont-fixed.recipe b/haiku-data/timgmsoundfont/timgmsoundfont-fixed.recipe new file mode 100644 index 000000000..adea21fdd --- /dev/null +++ b/haiku-data/timgmsoundfont/timgmsoundfont-fixed.recipe @@ -0,0 +1,32 @@ +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="source/timgmsoundfont-fixed.zip" +CHECKSUM_SHA256="295ffbedb086a42fd09e747a7c0dcd26eea26edd2597f3a266d585f247b28893" +REVISION="5" +ARCHITECTURES="any" +DISABLE_SOURCE_PACKAGE=yes + +PROVIDES=" + timgmsoundfont = $portVersion compat >= 0 + " + +REQUIRES="" +BUILD_REQUIRES="" +BUILD_PREREQUIRES="cmd:cp" + + +BUILD() +{ + true +} + +INSTALL() +{ + SYNTHFILE=TimGM6mb.sf2 + synthDir=$dataDir/synth + mkdir -p $synthDir + cp ${SYNTHFILE} $synthDir +}