Changeset 6ebae83db81a80cdc3cead264455074702223ac0
- Timestamp:
- 09/08/08 02:07:55 (4 months ago)
- git-parent:
[626d109e7396de9866298f8d01a97dba4248c102], [684179744fa5ddbdf31633552208543e9fb6e275]
- Files:
-
- configure.ac (modified) (1 diff)
- extras/contrib/src/Makefile (modified) (2 diffs)
- extras/contrib/src/Patches/libass_mplayer_updates.patch (added)
- modules/codec/Modules.am (modified) (1 diff)
- modules/codec/libass.c (added)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
configure.ac
r8e8f3ca r6ebae83 3764 3764 ],[ 3765 3765 AC_MSG_WARN([CSRI helper library not found]) 3766 ]) 3767 ]) 3768 3769 dnl 3770 dnl libass subtitle rendering module 3771 dnl 3772 AC_ARG_ENABLE(libass, 3773 [ --enable-libass Subtitle support using libass (default disabled)]) 3774 AS_IF( [test "${enable_libass}" = "yes"], [ 3775 PKG_CHECK_MODULES(LIBASS, 3776 libass >= 0.9.5, 3777 [ 3778 VLC_ADD_LDFLAGS([libass],[$LIBASS_LIBS]) 3779 VLC_ADD_CFLAGS([libass],[$LIBASS_CFLAGS]) 3780 VLC_ADD_PLUGIN([libass]) 3781 3782 AC_CHECK_HEADERS(fontconfig/fontconfig.h, 3783 [VLC_ADD_CPPFLAGS([libass],[-DHAVE_FONTCONFIG]) 3784 VLC_ADD_LIBS([libass],[-lfontconfig])]) 3785 ],[ 3786 AC_MSG_WARN([LIBASS library not found]) 3766 3787 ]) 3767 3788 ]) extras/contrib/src/Makefile
rd29f0a6 r6ebae83 472 472 ifdef HAVE_WIN32 473 473 ifdef HAVE_CYGWIN 474 (cd $<; autoreconf && LIBXML2_CFLAGS=`$(PREFIX)/bin/xml2-config --cflags` ./configure --target=$(HOST) --disable-pic --disable-shared --disable-docs --with-cache-dir=WINDOWSTEMPDIR --with-arch=i686 -- prefix=$(PREFIX) --with-freetype-config=$(PREFIX)/bin/freetype-config --enable-libxml2 && make && make install)474 (cd $<; autoreconf && LIBXML2_CFLAGS=`$(PREFIX)/bin/xml2-config --cflags` ./configure --target=$(HOST) --disable-pic --disable-shared --disable-docs --with-cache-dir=WINDOWSTEMPDIR --with-arch=i686 --with-default-fonts=C:\\windows\fonts --with-add-fonts=C:\\winnt\fonts --prefix=$(PREFIX) --with-freetype-config=$(PREFIX)/bin/freetype-config --enable-libxml2 && make && make install) 475 475 else 476 (cd $<; autoreconf && $(HOSTCC) LIBXML2_CFLAGS=`$(PREFIX)/bin/xml2-config --cflags` ./configure $(HOSTCONF) --with-cache-dir=WINDOWSTEMPDIR --with-arch=i686 -- prefix=$(PREFIX) --with-freetype-config=$(PREFIX)/bin/freetype-config --enable-libxml2 --disable-docs && make && make install)476 (cd $<; autoreconf && $(HOSTCC) LIBXML2_CFLAGS=`$(PREFIX)/bin/xml2-config --cflags` ./configure $(HOSTCONF) --with-cache-dir=WINDOWSTEMPDIR --with-arch=i686 --with-default-fonts=C:\\windows\fonts --with-add-fonts=C:\\winnt\fonts --prefix=$(PREFIX) --with-freetype-config=$(PREFIX)/bin/freetype-config --enable-libxml2 --disable-docs && make && make install) 477 477 endif 478 478 else 479 479 ifdef HAVE_DARWIN_OS 480 (cd $<; autoreconf && $(HOSTCC) LIBXML2_CFLAGS=`xml2-config --cflags` LIBXML2_LIBS=`xml2-config --libs` ./configure $(HOSTCONF) --with-cache-dir=/var/cache/fontconfig --with- confdir=/etc/fonts --prefix=$(PREFIX) --with-freetype-config=$(PREFIX)/bin/freetype-config --enable-libxml2 --disable-docs && make && make install-exec && (cd fontconfig ; make install-data) && cp fontconfig.pc $(PKG_CONFIG_LIBDIR))480 (cd $<; autoreconf && $(HOSTCC) LIBXML2_CFLAGS=`xml2-config --cflags` LIBXML2_LIBS=`xml2-config --libs` ./configure $(HOSTCONF) --with-cache-dir=/var/cache/fontconfig --with-default-fonts=/System/Library/Fonts --with-add-fonts=/Library/Fonts,~/Library/Fonts --prefix=$(PREFIX) --with-freetype-config=$(PREFIX)/bin/freetype-config --enable-libxml2 --disable-docs && make && make install-exec && (cd fontconfig ; make install-data) && cp fontconfig.pc $(PKG_CONFIG_LIBDIR)) 481 481 else 482 482 (cd $<; autoreconf && $(HOSTCC) LIBXML2_CFLAGS=`$(PREFIX)/bin/xml2-config --cflags` ./configure $(HOSTCONF) --prefix=$(PREFIX) --with-freetype-config=$(PREFIX)/bin/freetype-config --enable-libxml2 --disable-docs && make && make install) … … 2443 2443 $(WGET) $(ASS_URL) 2444 2444 2445 # mplayer patches up to August 8, 2008 are included 2445 2446 libass: libass-$(ASS_VERSION).tar.bz2 2446 2447 $(EXTRACT_BZ2) 2447 cd $@; patch -p0 < ../Patches/libass-h-char-fix.patch2448 patch -p0 < Patches/libass_mplayer_updates.patch 2448 2449 ifneq ($(HOST),$(BUILD)) 2449 2450 patch -p0 < Patches/libass-cross.patch modules/codec/Modules.am
re5747ca r683e9ff 38 38 SOURCES_kate = kate.c 39 39 SOURCES_schroedinger = schroedinger.c 40 SOURCES_libass = libass.c
