forked from joshgiesbrecht/Glimpse
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
108 lines (101 loc) · 2.38 KB
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
language: c
os: linux
dist: bionic
addons:
apt:
update: true
packages:
# Build tools
- autoconf
- automake
- autopoint
- build-essential
- git
- gtk-doc-tools
- intltool
- iso-codes
- libtool
- libxml2-utils
- perl
- xsltproc
# Desktop app toolkit
- libasound-dev
- libatk1.0-dev
- libcairo-dev
- libfontconfig1-dev
- libfreetype6-dev
- libgdk-pixbuf2.0-dev
- libglib2.0-dev
- libgtk2.0-dev
- libharfbuzz-dev
- libjson-glib-dev
- libpango1.0-dev
- libwebkitgtk-dev
- libxcursor-dev
- libxext-dev
- libxmu-dev
- libxt-dev
- shared-mime-info
# Image libraries
- libaa1-dev
- libgexiv2-dev
- libgs-dev
- libheif-dev
- libjpeg-dev
- libmng-dev
- libopenexr-dev
- libopenjp2-7-dev
- libpng-dev
- libpoppler-glib-dev
- libraw-dev
- librsvg2-dev
- libtiff-dev
- libwebp-dev
- libwmf-dev
- libxpm-dev
# Compression libraries
- libbz2-dev
- liblzma-dev
- zlib1g-dev
# Misc libraries
- libjson-c-dev
- libspiro-dev
- libsuitesparse-dev
- libumfpack5
# Python support
- python-cairo-dev
- python-dev
- python-gtk2-dev
# For the tests
- appstream-util
- desktop-file-utils
env:
- INSTALL_PREFIX=/tmp/glimpse-prefix
SRC_PREFIX=$TRAVIS_BUILD_DIR
PATH=$INSTALL_PREFIX/bin:$PATH
PKG_CONFIG_PATH=$INSTALL_PREFIX/lib/pkgconfig:$INSTALL_PREFIX/lib/x86_64-linux-gnu/pkgconfig:$INSTALL_PREFIX/share/pkgconfig:$PKG_CONFIG_PATH
LD_LIBRARY_PATH=$INSTALL_PREFIX/lib:$INSTALL_PREFIX/lib/x86_64-linux-gnu:$LD_LIBRARY_PATH
ACLOCAL_FLAGS="-I $INSTALL_PREFIX/share/aclocal $ACLOCAL_FLAGS"
before_install:
- mkdir -p $INSTALL_PREFIX/share/aclocal
- git submodule update --init
before_script:
- cd $SRC_PREFIX/babl
- "./autogen.sh --prefix=$INSTALL_PREFIX --disable-docs"
- make && make install
- cd $SRC_PREFIX/mypaint-brushes
- ./autogen.sh
- "./configure --prefix=$INSTALL_PREFIX"
- make && make install
- cd $SRC_PREFIX/libmypaint
- ./autogen.sh
- "./configure --prefix=$INSTALL_PREFIX"
- make && make install
- cd $SRC_PREFIX/gegl
- "./autogen.sh --prefix=$INSTALL_PREFIX --enable-gtk-doc-html=no --disable-docs"
- make && make install
script:
- cd $SRC_PREFIX
- "./autogen.sh --prefix=$INSTALL_PREFIX --disable-gtk-doc --without-xvfb-run"
- make && make install
- make check