contrib: add libass
authorRémi Denis-Courmont <remi@remlab.net>
Thu, 30 Jun 2011 13:30:07 +0000 (16:30 +0300)
committerRémi Denis-Courmont <remi@remlab.net>
Thu, 30 Jun 2011 16:10:33 +0000 (19:10 +0300)
contrib/src/ass/SHA512SUMS [new file with mode: 0644]
contrib/src/ass/rules.mak [new file with mode: 0644]

diff --git a/contrib/src/ass/SHA512SUMS b/contrib/src/ass/SHA512SUMS
new file mode 100644 (file)
index 0000000..4d9383f
--- /dev/null
@@ -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 (file)
index 0000000..e5bea2b
--- /dev/null
@@ -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 $@