mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-04 22:18:55 +02:00
Add recipe for timgmsoundfont
This commit is contained in:
2
haiku-data/timgmsoundfont/licenses/Public Domain
Normal file
2
haiku-data/timgmsoundfont/licenses/Public Domain
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
Any copyright is dedicated to the Public Domain.
|
||||||
|
http://creativecommons.org/publicdomain/zero/1.0/
|
||||||
@@ -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>
|
||||||
41
haiku-data/timgmsoundfont/timgmsoundfont-2004_01_24.recipe
Normal file
41
haiku-data/timgmsoundfont/timgmsoundfont-2004_01_24.recipe
Normal 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.
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user