[vlc-commits] Contrib: add fluidlite to replace fluidsynth

Jean-Baptiste Kempf git at videolan.org
Thu Jul 7 17:08:35 CEST 2016


vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Mon Jun 13 13:01:05 2016 +0200| [dfce08a21fee677f4ed380e30d1a7c525a5b87be] | committer: Jean-Baptiste Kempf

Contrib: add fluidlite to replace fluidsynth

Close #9581 #9659 #9688 #9692 #10468 #11421 #11588 #11589 #15420

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=dfce08a21fee677f4ed380e30d1a7c525a5b87be
---

 contrib/src/fluidlite/SHA512SUMS   |    1 +
 contrib/src/fluidlite/fluidlite.pc |   10 ++++++++++
 contrib/src/fluidlite/rules.mak    |   23 +++++++++++++++++++++++
 3 files changed, 34 insertions(+)

diff --git a/contrib/src/fluidlite/SHA512SUMS b/contrib/src/fluidlite/SHA512SUMS
new file mode 100644
index 0000000..c581707
--- /dev/null
+++ b/contrib/src/fluidlite/SHA512SUMS
@@ -0,0 +1 @@
+0ead8bf86c0edf6d98044eb16b52b85fac8bc3bdeb9c1478d0bceb4f5b38ca28218fcf2cd18cdd5608190dc70b7c39bde681765d01787bc84bc97c6ab3bbf946  fluidsynth-1.1.6.tar.bz2
diff --git a/contrib/src/fluidlite/fluidlite.pc b/contrib/src/fluidlite/fluidlite.pc
new file mode 100644
index 0000000..6925eb1
--- /dev/null
+++ b/contrib/src/fluidlite/fluidlite.pc
@@ -0,0 +1,10 @@
+prefix=/usr
+exec_prefix=${prefix}
+libdir=${exec_prefix}/lib
+includedir=${prefix}/include
+
+Name: fluidlite
+Description: Software SoundFont synth
+Version: 0.0.1
+Libs: -L${libdir} -lfluidlite
+Cflags: -I${includedir}
diff --git a/contrib/src/fluidlite/rules.mak b/contrib/src/fluidlite/rules.mak
new file mode 100644
index 0000000..e9be0a1
--- /dev/null
+++ b/contrib/src/fluidlite/rules.mak
@@ -0,0 +1,23 @@
+# fluidlite
+
+FLUID_GITURL := https://github.com/divideconcept/FluidLite.git
+
+$(TARBALLS)/fluidlite-git.tar.xz:
+	$(call download_git,$(FLUID_GITURL))
+
+.sum-fluidlite: fluidlite-git.tar.xz
+	$(warning $@ not implemented)
+	touch $@
+
+fluidlite: fluidlite-git.tar.xz .sum-fluidlite
+	rm -Rf $@-git
+	mkdir -p $@-git
+	$(XZCAT) "$<" | (cd $@-git && tar xv --strip-components=1)
+	$(MOVE)
+
+.fluidlite: fluidlite
+	-cd $< && rm CMakeCache.txt
+	cd $< && $(HOSTVARS) $(CMAKE)
+	cd $< && $(MAKE) install
+	cp $(SRC)/fluidlite/fluidlite.pc "$(PREFIX)/lib/pkgconfig"
+	touch $@



More information about the vlc-commits mailing list