[vlc-commits] contrib: added target for glib since this is a required dependency to compile fluidsynth (refs #10014)

Felix Paul Kühne git at videolan.org
Mon Dec 9 18:35:11 CET 2013


vlc/vlc-2.1 | branch: master | Felix Paul Kühne <fkuehne at videolan.org> | Fri Nov 29 18:42:56 2013 +0100| [f449092a2501a1d901e96c4d5aea7ec9c1a3ae3e] | committer: Felix Paul Kühne

contrib: added target for glib since this is a required dependency to compile fluidsynth (refs #10014)

(cherry picked from commit e7377ebc15c8f497685520226863964a8e6c448c)

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

 contrib/src/glib/SHA512SUMS |    1 +
 contrib/src/glib/rules.mak  |   26 ++++++++++++++++++++++++++
 2 files changed, 27 insertions(+)

diff --git a/contrib/src/glib/SHA512SUMS b/contrib/src/glib/SHA512SUMS
new file mode 100644
index 0000000..1ea6d46
--- /dev/null
+++ b/contrib/src/glib/SHA512SUMS
@@ -0,0 +1 @@
+f31531060d898dbe05e71ffc4d057f5a703106674e68c28ad2346d227304ef9454736beaf653f27553ed5397caac8baf3d76d3b31b062898762e5cf4e24ff0e0  glib-2.38.2.tar.xz
diff --git a/contrib/src/glib/rules.mak b/contrib/src/glib/rules.mak
new file mode 100644
index 0000000..0f06849
--- /dev/null
+++ b/contrib/src/glib/rules.mak
@@ -0,0 +1,26 @@
+# GLIB
+GLIB_VERSION := 2.38
+GLIB_MINOR_VERSION := 2.38.2
+GLIB_URL := http://ftp.gnome.org/pub/gnome/sources/glib/$(GLIB_VERSION)/glib-$(GLIB_MINOR_VERSION).tar.xz
+
+PKGS += glib
+ifeq ($(call need_pkg,"glib-2.0 gthread-2.0"),)
+PKGS_FOUND += glib
+endif
+
+DEPS_glib = ffi $(DEPS_ffi)
+
+$(TARBALLS)/glib-$(GLIB_MINOR_VERSION).tar.xz:
+	$(call download,$(GLIB_URL))
+
+.sum-glib: glib-$(GLIB_MINOR_VERSION).tar.xz
+
+glib: glib-$(GLIB_MINOR_VERSION).tar.xz .sum-glib
+	$(UNPACK)
+	$(MOVE)
+
+.glib: glib
+	$(RECONF)
+	cd $< && $(HOSTVARS) ./configure $(HOSTCONF)
+	cd $< && $(MAKE) install
+	touch $@



More information about the vlc-commits mailing list