From d2efc628f860e833a0406f4b8f56b614c956e689 Mon Sep 17 00:00:00 2001 From: Khaled Hosny Date: Sun, 16 Apr 2017 05:51:09 +0200 Subject: [PATCH] Build libunibreak --- .appveyor.yml | 4 ++++ .travis.yml | 5 +++++ 2 files changed, 9 insertions(+) diff --git a/.appveyor.yml b/.appveyor.yml index 67fb291f..17e281ec 100644 --- a/.appveyor.yml +++ b/.appveyor.yml @@ -4,6 +4,7 @@ os: install: - set PATH=C:\msys64\usr\bin;C:\msys64\mingw64\bin;%PATH% - appveyor DownloadFile "https://raw.githubusercontent.com/swig/cccl/master/cccl" + - appveyor DownloadFile "https://github.com/adah1972/libunibreak/releases/download/libunibreak_4_0/libunibreak-4.0.tar.gz" - call "%VS140COMNTOOLS%\..\..\VC\vcvarsall.bat" %PLATFORM% - appveyor-retry C:\msys64\usr\bin\pacman -Syuu --needed --noconfirm --noprogressbar --ask=127 - appveyor-retry C:\msys64\usr\bin\pacman -S --noconfirm autoconf automake libtool gtk-doc mingw-w64-x86_64-pkg-config mingw-w64-x86_64-harfbuzz mingw-w64-x86_64-fribidi mingw-w64-x86_64-freetype @@ -14,6 +15,9 @@ build_script: - set LD=cccl - set PKG_CONFIG_PATH=%PKG_CONFIG_PATH%:/mingw64/lib/pkgconfig - bash -c "mv cccl /usr/bin" + - bash -c "tar xf libunibreak-4.0.tar.gz && cd libunibreak-4.0 && ./configure --prefix=/usr/local && make && make install" + - set UNIBREAK_CFLAGS=-I/usr/local/include + - set UNIBREAK_LIBS="-L/usr/local/lib/ -lunibreak" - bash -c "exec 0