Files
Megapixels/.gitlab-ci.yml
xad6 e75eb375de detect rotation directly via X or Wayland
Fixes #44

This commit changes the way that screen rotation is detected. Instead of
using Mutter's DBus interface, we now listen directly for X and Wayland
events indicating the screen has been rotated (RRScreenChangeNotify and
wl_output::geometry events). This has the advantage of working outside
of Phosh.
2022-11-21 20:10:46 +01:00

19 lines
612 B
YAML

build:debian:
image: debian:bookworm-slim
before_script:
- apt-get update && apt-get -y install gcc meson ninja-build git clang-format-14 libgtk-4-dev libtiff-dev libzbar-dev libfeedback-dev libwayland-dev libx11-dev libxrandr-dev
script:
- meson build
- ninja -C build
- ninja -C build test
- ninja -C build clang-format-check
build:alpine:
image: alpine:edge
before_script:
- apk add --no-cache build-base meson samurai gtk4.0-dev tiff-dev zbar-dev feedbackd-dev wayland-dev libx11-dev libxrandr-dev
script:
- meson build
- ninja -C build
- ninja -C build test