Use libass from greg's git.
authorJean-Baptiste Kempf <jb@videolan.org>
Fri, 10 Jul 2009 18:36:13 +0000 (20:36 +0200)
committerJean-Baptiste Kempf <jb@videolan.org>
Fri, 10 Jul 2009 18:36:13 +0000 (20:36 +0200)
extras/contrib/src/Makefile
extras/contrib/src/packages.mak

index 2fa673d..7971e1d 100644 (file)
@@ -2510,6 +2510,14 @@ DISTCLEAN_PKG += schroedinger-$(SCHROED_VERSION).tar.gz
 libass-$(ASS_VERSION).tar.bz2:
        $(WGET) $(ASS_URL)
 
+ifdef GIT
+libass:
+       $(GIT) clone $(ASS_GIT)
+ifneq ($(HOST),$(BUILD))
+       patch -p0 < Patches/libass-cross.patch
+       (cd $@; autoreconf -ivf)
+endif
+else
 # mplayer patches up to August 8, 2008 are included
 libass: libass-$(ASS_VERSION).tar.bz2
        $(EXTRACT_BZ2)
@@ -2518,6 +2526,7 @@ ifneq ($(HOST),$(BUILD))
        patch -p0 < Patches/libass-cross.patch
        (cd $@; autoreconf -ivf)
 endif
+endif
 
 .libass: libass .png
        (cd $<; $(HOSTCC) ./configure $(HOSTCONF) --prefix=$(PREFIX) CFLAGS="$(CFLAGS) -O3" && make && make install)
index b25b3d0..501886f 100644 (file)
@@ -226,5 +226,6 @@ SCHROED_VERSION=1.0.7
 SCHROED_URL=http://www.diracvideo.org/download/schroedinger/schroedinger-$(SCHROED_VERSION).tar.gz
 ASS_VERSION=0.9.6
 ASS_URL=$(SF)/libass/libass-$(ASS_VERSION).tar.bz2
+ASS_GIT=git://greg.geekmind.org/libass.git
 GSM_VERSION=1.0.12
 GSM_URL=http://user.cs.tu-berlin.de/~jutta/gsm/gsm-$(GSM_VERSION).tar.gz