Commit fbac8d84 authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf
Browse files

Libass in the contribs.

parent c459891a
......@@ -2435,6 +2435,29 @@ CLEAN_FILE += .schroedinger
CLEAN_PKG += schroedinger
DISTCLEAN_PKG += schroedinger-$(SCHROED_VERSION).tar.gz
# ***************************************************************************
# ASS library
# ***************************************************************************
libass-$(ASS_VERSION).tar.bz2:
$(WGET) $(ASS_URL)
libass: libass-$(ASS_VERSION).tar.bz2
$(EXTRACT_BZ2)
ifneq ($(HOST),$(BUILD))
patch -p0 < Patches/libass-cross.patch
cd $@; autoconf
endif
.libass: libass
(cd $<; $(HOSTCC) ./configure $(HOSTCONF) --prefix=$(PREFIX) CFLAGS="$(CFLAGS) -O3" && make && make install)
touch $@
CLEAN_FILE += .schroedinger
CLEAN_PKG += schroedinger
DISTCLEAN_PKG += schroedinger-$(SCHROED_VERSION).tar.gz
# ***************************************************************************
# Some cleaning
# ***************************************************************************
......
--- libass/configure.ac 2008-05-22 21:04:13.000000000 +0200
+++ libass.new/configure.ac 2008-08-03 09:10:02.000000000 +0200
@@ -42,9 +42,9 @@
AC_TYPE_UINT8_T
# Checks for library functions.
-AC_FUNC_MALLOC
+#AC_FUNC_MALLOC
AC_FUNC_MEMCMP
-AC_FUNC_REALLOC
+#AC_FUNC_REALLOC
AC_FUNC_STAT
AC_FUNC_STRTOD
AC_FUNC_VPRINTF
......@@ -228,3 +228,5 @@ SCHROED_VERSION=1.0.4
SCHROED_URL=http://www.diracvideo.org/download/schroedinger/schroedinger-$(SCHROED_VERSION).tar.gz
KATE_VERSION=0.1.6
KATE_URL=http://libkate.googlecode.com/files/libkate-$(KATE_VERSION).tar.gz
ASS_VERSION=0.9.5
ASS_URL=$(SF)/libass/libass-$(ASS_VERSION).tar.bz2
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment