mirror of
https://github.com/NickHu/sway
synced 2024-12-27 21:58:11 +01:00
aa6bd85da1
- Moved ``<sys/capability.h>`` include inside `__linux__` guard, because all uses are similarly guarded. - <sys/capability.h> is part of an optional devel package, at least in fedora. CMake now explicitly checks that libcap devel files are available. - Added libcap to the list of install packages in .travis.yml, to make the dependency explicit. travis-ci installs the package by default, which is why this hasn't surfaced previously.
27 lines
396 B
YAML
27 lines
396 B
YAML
sudo: required
|
|
|
|
language: c
|
|
|
|
compiler:
|
|
- gcc
|
|
- clang
|
|
|
|
arch:
|
|
packages:
|
|
- cmake
|
|
- xorg-server-xwayland
|
|
- asciidoc
|
|
- json-c
|
|
- wayland
|
|
- xcb-util-image
|
|
- pango
|
|
- cairo
|
|
- gdk-pixbuf2
|
|
- wlc-git
|
|
- libcap
|
|
script:
|
|
- "cmake ."
|
|
- "make"
|
|
|
|
script:
|
|
- "curl -s https://raw.githubusercontent.com/mikkeloscar/arch-travis/master/arch-travis.sh | bash"
|