[vlc-commits] contrib: add libass

Rémi Denis-Courmont git at videolan.org
Thu Jun 30 18:10:38 CEST 2011


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Thu Jun 30 16:30:07 2011 +0300| [77f2dac1abc04ba5b1dc040c6cf90325622828fa] | committer: Rémi Denis-Courmont

contrib: add libass

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

 contrib/src/ass/SHA512SUMS |    1 +
 contrib/src/ass/rules.mak  |   22 ++++++++++++++++++++++
 2 files changed, 23 insertions(+), 0 deletions(-)

diff --git a/contrib/src/ass/SHA512SUMS b/contrib/src/ass/SHA512SUMS
new file mode 100644
index 0000000..4d9383f
--- /dev/null
+++ b/contrib/src/ass/SHA512SUMS
@@ -0,0 +1 @@
+345b5138875a31bce4f08bd378ab064d01b26cb51df2010056970158e8f845519f4aedebb0e0609200781e9e28e000ceba17b30e81ba5925f97499b09347e461  libass-0.9.12.tar.gz
diff --git a/contrib/src/ass/rules.mak b/contrib/src/ass/rules.mak
new file mode 100644
index 0000000..e5bea2b
--- /dev/null
+++ b/contrib/src/ass/rules.mak
@@ -0,0 +1,22 @@
+# ASS
+ASS_VERSION := 0.9.12
+ASS_URL := http://libass.googlecode.com/files/libass-$(ASS_VERSION).tar.gz
+
+PKGS += ass
+
+$(TARBALLS)/libass-$(ASS_VERSION).tar.gz:
+	$(call download,$(ASS_URL))
+
+.sum-ass: libass-$(ASS_VERSION).tar.gz
+
+libass: libass-$(ASS_VERSION).tar.gz .sum-ass
+	$(UNPACK)
+	$(MOVE)
+
+#TODO .fontconfig
+
+.ass: libass .freetype2
+	#cd $< && autoreconf -fiv
+	cd $< && $(HOSTVARS) CFLAGS="$(CFLAGS) -O3" ./configure $(HOSTCONF) --disable-png --disable-enca
+	cd $< && $(MAKE) install
+	touch $@



More information about the vlc-commits mailing list