Skip to content

Commit 9054ec3

Browse files
committed
Build libunibreak
1 parent 0e6a3b9 commit 9054ec3

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

.appveyor.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ os:
44
install:
55
- set PATH=C:\msys64\usr\bin;C:\msys64\mingw64\bin;%PATH%
66
- appveyor DownloadFile "https://raw.githubusercontent.com/swig/cccl/master/cccl"
7+
- appveyor DownloadFile "https://github.com/adah1972/libunibreak/releases/download/libunibreak_4_0/libunibreak-4.0.tar.gz"
78
- call "%VS140COMNTOOLS%\..\..\VC\vcvarsall.bat" %PLATFORM%
89
- appveyor-retry bash -c "pacman -Syu --noconfirm"
910
- appveyor-retry bash -c "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:
1415
- set LD=cccl
1516
- set PKG_CONFIG_PATH=%PKG_CONFIG_PATH%:/mingw64/lib/pkgconfig
1617
- bash -c "mv cccl /usr/bin"
18+
- bash -c "tar xf libunibreak-4.0.tar.gz && cd libunibreak-4.0 && ./configure --prefix=/usr/local && make && make install"
19+
# - set UNIBREAK_CFLAGS=-I/usr/local/include
20+
# - set UNIBREAK_LIBS="-L/usr/local/lib/ -lunibreak"
1721
- bash -c "exec 0</dev/null; ./autogen.sh"
1822
- bash -c "exec 0</dev/null; ./configure"
1923
- bash -c "exec 0</dev/null; make CFLAGS='/W4 /WX /wd4068'"

.travis.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,9 @@ before_install:
3030
- if [ "${TRAVIS_OS_NAME}" == "osx" -a "${CC}" == "gcc" ]; then export CC=gcc-4.8; fi
3131

3232
script:
33+
- wget https://github.com/adah1972/libunibreak/releases/download/libunibreak_4_0/libunibreak-4.0.tar.gz
34+
- (tar xf libunibreak-4.0.tar.gz && cd libunibreak-4.0 && ./configure && make && sudo make install)
35+
- if [ "$TRAVIS_OS_NAME" == "linux" ]; then sudo ldconfig; fi
3336
- ./autogen.sh
3437
- ./configure --enable-gtk-doc
3538
- make

0 commit comments

Comments
 (0)