[vlc-commits] Contribs: add freetype2
Jean-Baptiste Kempf
git at videolan.org
Wed Jun 29 00:46:20 CEST 2011
vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Wed Jun 29 00:42:31 2011 +0200| [2242ff06adc0308791bdc129a03f248e49ca33d6] | committer: Jean-Baptiste Kempf
Contribs: add freetype2
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=2242ff06adc0308791bdc129a03f248e49ca33d6
---
contrib/src/freetype2/SHA512SUMS | 1 +
contrib/src/freetype2/rules.mak | 21 +++++++++++++++++++++
2 files changed, 22 insertions(+), 0 deletions(-)
diff --git a/contrib/src/freetype2/SHA512SUMS b/contrib/src/freetype2/SHA512SUMS
new file mode 100644
index 0000000..33e3288
--- /dev/null
+++ b/contrib/src/freetype2/SHA512SUMS
@@ -0,0 +1 @@
+0d01e2dbc7bcde434dfd6301adc753e4b62f98ef8fcd80a566e0c10a62f2b51783e911a5bd3c359c033833e0235617b86cc5c8570775672970efa7408adf754d freetype-2.4.5.tar.gz
diff --git a/contrib/src/freetype2/rules.mak b/contrib/src/freetype2/rules.mak
new file mode 100644
index 0000000..0c38d7a
--- /dev/null
+++ b/contrib/src/freetype2/rules.mak
@@ -0,0 +1,21 @@
+# freetype2
+
+FREETYPE2_VERSION := 2.4.5
+FREETYPE2_URL := $(SF)/freetype/freetype-$(FREETYPE2_VERSION).tar.gz
+
+PKGS += freetype2
+
+$(TARBALLS)/freetype-$(FREETYPE2_VERSION).tar.gz:
+ $(call download,$(FREETYPE2_URL))
+
+.sum-freetype2: freetype-$(FREETYPE2_VERSION).tar.gz
+
+freetype: freetype-$(FREETYPE2_VERSION).tar.gz .sum-freetype2
+ $(UNPACK)
+ mv $@-$(FREETYPE2_VERSION) $@
+ touch $@
+
+.freetype2: freetype
+ cd $< && $(HOSTVARS) ./configure $(HOSTCONF)
+ cd $< && $(MAKE) install
+ touch $@
More information about the vlc-commits
mailing list