package/fluid-soundfont: new package
authorJulien Olivain <juju@cotds.org>
Sun, 29 Dec 2019 18:58:23 +0000 (19:58 +0100)
committerYann E. MORIN <yann.morin.1998@free.fr>
Mon, 30 Dec 2019 13:03:27 +0000 (14:03 +0100)
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>
DEVELOPERS
package/Config.in
package/fluid-soundfont/Config.in [new file with mode: 0644]
package/fluid-soundfont/fluid-soundfont.hash [new file with mode: 0644]
package/fluid-soundfont/fluid-soundfont.mk [new file with mode: 0644]

index 1931b3e9428689a75fffc2e181a37686e773bd89..7308439f063b790199b552671b38eeac75cdcb1a 100644 (file)
@@ -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>
index 6aac0f7e26d1bb617a665a7ff2fac72ea21b8fc1..888373422f29d0e8f69c893e2f8a6fd104cad4af 100644 (file)
@@ -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"
diff --git a/package/fluid-soundfont/Config.in b/package/fluid-soundfont/Config.in
new file mode 100644 (file)
index 0000000..67f5ea1
--- /dev/null
@@ -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
diff --git a/package/fluid-soundfont/fluid-soundfont.hash b/package/fluid-soundfont/fluid-soundfont.hash
new file mode 100644 (file)
index 0000000..7aaac60
--- /dev/null
@@ -0,0 +1,3 @@
+# Locally calculated
+sha256 2621acaa1c78e4abdb24bdd163230cc577e61276936d6aa6e3180582142f0343  fluid-soundfont_3.1.orig.tar.gz
+sha256 8ef830b65c97a976b86e34bb5fde08d99dfb1db13c4149b5b20bc837ac6c4568  COPYING
diff --git a/package/fluid-soundfont/fluid-soundfont.mk b/package/fluid-soundfont/fluid-soundfont.mk
new file mode 100644 (file)
index 0000000..f8fd986
--- /dev/null
@@ -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))