mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-05 14:38:51 +02:00
Use fixed timgmsoundfont from Pete Goodeve.
Updated recipe: remove symlink, use local data.
This commit is contained in:
@@ -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):
|
||||
|
||||
<http://ftp.de.debian.org/debian/pool/main/f/fluid-soundfont/fluid-soundfont_3.1.orig.tar.gz>
|
||||
BIN
haiku-data/timgmsoundfont/source/timgmsoundfont-fixed.zip
Normal file
BIN
haiku-data/timgmsoundfont/source/timgmsoundfont-fixed.zip
Normal file
Binary file not shown.
@@ -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.
|
||||
}
|
||||
32
haiku-data/timgmsoundfont/timgmsoundfont-fixed.recipe
Normal file
32
haiku-data/timgmsoundfont/timgmsoundfont-fixed.recipe
Normal file
@@ -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
|
||||
}
|
||||
Reference in New Issue
Block a user