Selaa lähdekoodia

package/fluid-soundfont: new package

FluidR3 is the third release of Frank Wen's pro-quality GM/GS
soundfont. The soundfont has lots of excellent samples, including all
the GM instruments along side with the GS instruments that are
recycled and reprogrammed versions of the GM presets.

This package contains Fluid General Midi (GM) soundfont in soundfont
2.0 (.sf2) format.

This soundfont can be used with a software synthesizer, like
FluidSynth.

Signed-off-by: Julien Olivain <juju@cotds.org>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
Julien Olivain 5 vuotta sitten
vanhempi
commit
61a84bef9c

+ 1 - 0
DEVELOPERS

@@ -1369,6 +1369,7 @@ F:	board/technexion/imx8mmpico/
 F:	board/technexion/imx8mpico/
 F:	configs/imx8mmpico_defconfig
 F:	configs/imx8mpico_defconfig
+F:	package/fluid-soundfont/
 F:	package/fluidsynth/
 
 N:	Julien Viard de Galbert <julien@vdg.name>

+ 1 - 0
package/Config.in

@@ -23,6 +23,7 @@ menu "Audio and video applications"
 	source "package/ffmpeg/Config.in"
 	source "package/flac/Config.in"
 	source "package/flite/Config.in"
+	source "package/fluid-soundfont/Config.in"
 	source "package/fluidsynth/Config.in"
 	source "package/gmrender-resurrect/Config.in"
 	source "package/gstreamer/Config.in"

+ 16 - 0
package/fluid-soundfont/Config.in

@@ -0,0 +1,16 @@
+config BR2_PACKAGE_FLUID_SOUNDFONT
+	bool "fluid-soundfont"
+	help
+	  FluidR3 is the third release of Frank Wen's pro-quality
+	  GM/GS soundfont.  The soundfont has lots of excellent
+	  samples, including all the GM instruments along side with
+	  the GS instruments that are recycled and reprogrammed
+	  versions of the GM presets.
+
+	  This package contains Fluid General Midi (GM) soundfont in
+	  soundfont 2.0 (.sf2) format.
+
+	  This soundfont can be used with the FluidSynth real-time
+	  software synthesizer.
+
+	  http://www.hammersound.net

+ 3 - 0
package/fluid-soundfont/fluid-soundfont.hash

@@ -0,0 +1,3 @@
+# Locally calculated
+sha256 2621acaa1c78e4abdb24bdd163230cc577e61276936d6aa6e3180582142f0343  fluid-soundfont_3.1.orig.tar.gz
+sha256 8ef830b65c97a976b86e34bb5fde08d99dfb1db13c4149b5b20bc837ac6c4568  COPYING

+ 21 - 0
package/fluid-soundfont/fluid-soundfont.mk

@@ -0,0 +1,21 @@
+################################################################################
+#
+# fluid-soundfont
+#
+################################################################################
+
+FLUID_SOUNDFONT_VERSION = 3.1
+FLUID_SOUNDFONT_SOURCE = fluid-soundfont_$(FLUID_SOUNDFONT_VERSION).orig.tar.gz
+# The http://www.hammersound.net archive site seems unreliable (show HTTP 500
+# error), and also publish the file in the sfArk format, which is inconvenient
+# to be used in automated build. We use here the Debian mirror publishing the
+# file in a more convenient format (inative sf2 in a tar.gz archive).
+FLUID_SOUNDFONT_SITE = http://http.debian.net/debian/pool/main/f/fluid-soundfont
+FLUID_SOUNDFONT_LICENSE = MIT
+FLUID_SOUNDFONT_LICENSE_FILES = COPYING
+
+define FLUID_SOUNDFONT_INSTALL_TARGET_CMDS
+	$(INSTALL) -D -m 0644 $(@D)/FluidR3_GM.sf2 $(TARGET_DIR)/usr/share/soundfonts/FluidR3_GM.sf2
+endef
+
+$(eval $(generic-package))