vlc | branch: master | Naohiro KORIYAMA <[email protected]> | Sun Aug 12 13:34:24 2012 +0900| [fad67c61127451fe51fb06df61494e2053bc6bd6] | committer: Jean-Baptiste Kempf
extra/tools: added Ragel HarfBuzz requires Ragel when executing autogen.sh. Signed-off-by: Jean-Baptiste Kempf <[email protected]> > http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=fad67c61127451fe51fb06df61494e2053bc6bd6 --- extras/tools/bootstrap | 1 + extras/tools/packages.mak | 3 +++ extras/tools/tools.mak | 16 ++++++++++++++++ 3 files changed, 20 insertions(+) diff --git a/extras/tools/bootstrap b/extras/tools/bootstrap index 1b3190b..ef25050 100755 --- a/extras/tools/bootstrap +++ b/extras/tools/bootstrap @@ -61,6 +61,7 @@ check pkg-config check cmake check yasm check_tar +check ragel [ -n "$NEEDED" ] && mkdir -p build/ diff --git a/extras/tools/packages.mak b/extras/tools/packages.mak index fb1751e..b943887 100644 --- a/extras/tools/packages.mak +++ b/extras/tools/packages.mak @@ -31,3 +31,6 @@ OPENSSL_URL=http://www.openssl.org/source/openssl-$(OPENSSL_VERSION).tar.gz GAS_URL=https://github.com/mansr/gas-preprocessor/tarball/master GAS_VERSION=4ef872b + +RAGEL_VERSION=6.7 +RAGEL_URL=http://www.complang.org/ragel/ragel-$(RAGEL_VERSION).tar.gz diff --git a/extras/tools/tools.mak b/extras/tools/tools.mak index 5a408cd..49d7572 100644 --- a/extras/tools/tools.mak +++ b/extras/tools/tools.mak @@ -213,6 +213,22 @@ CLEAN_FILE += .gas CLEAN_PKG += gas DISTCLEAN_PKG += yuvi-gas-preprocessor-$(GAS_VERSION).tar.gz +# Ragel State Machine Compiler +ragel-$(RAGEL_VERSION).tar.gz: + $(call download,$(RAGEL_URL)) + +ragel: ragel-$(RAGEL_VERSION).tar.gz + $(UNPACK) + $(MOVE) + +.ragel: ragel + (cd ragel; ./configure --prefix=$(PREFIX) --disable-shared --enable-static && make && make install) + touch $@ + +CLEAN_FILE += .ragel +CLEAN_PKG += ragel +DISTCLEAN_PKG += ragel-$(RAGEL_VERSION).tar.gz + # # # _______________________________________________ vlc-commits mailing list [email protected] http://mailman.videolan.org/listinfo/vlc-commits
