aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKenny Levinsen <kl@kl.wtf>2021-03-16 13:31:37 +0100
committerKenny Levinsen <kl@kl.wtf>2021-03-16 13:36:26 +0100
commit1f457b1df8a7153963974553f5e50e68cb7c24b7 (patch)
treec299b29afbdb1618d3f779256db5c700547f5fc4
parent4e65e1bf471453d99577e6f5a2e72bfed73a3881 (diff)
meson: Disable examples by default
-rw-r--r--.builds/alpine.yml2
-rw-r--r--.builds/archlinux.yml2
-rw-r--r--.builds/freebsd.yml2
-rw-r--r--meson_options.txt2
4 files changed, 4 insertions, 4 deletions
diff --git a/.builds/alpine.yml b/.builds/alpine.yml
index 01db99d..22dd536 100644
--- a/.builds/alpine.yml
+++ b/.builds/alpine.yml
@@ -10,7 +10,7 @@ sources:
- https://git.sr.ht/~kennylevinsen/seatd
tasks:
- prepare: |
- meson -Dseatd=enabled -Dbuiltin=enabled -Dlogind=disabled build seatd
+ meson -Dseatd=enabled -Dbuiltin=enabled -Dlogind=disabled -Dexamples=enabled build seatd
- build: |
ninja -C build
- unittest: |
diff --git a/.builds/archlinux.yml b/.builds/archlinux.yml
index 301e88b..b323894 100644
--- a/.builds/archlinux.yml
+++ b/.builds/archlinux.yml
@@ -9,7 +9,7 @@ sources:
- https://git.sr.ht/~kennylevinsen/seatd
tasks:
- prepare: |
- meson -Db_sanitize=address -Dlogind=enabled -Dseatd=enabled -Dbuiltin=enabled build seatd
+ meson -Db_sanitize=address -Dlogind=enabled -Dseatd=enabled -Dbuiltin=enabled -Dexamples=enabled build seatd
- build: |
ninja -C build
- unittest: |
diff --git a/.builds/freebsd.yml b/.builds/freebsd.yml
index e13566a..b9a9eaa 100644
--- a/.builds/freebsd.yml
+++ b/.builds/freebsd.yml
@@ -12,7 +12,7 @@ tasks:
ninja -C build test
- smoketest: |
rm -rf build
- meson -Db_lundef=false -Db_sanitize=address -Dseatd=enabled -Dbuiltin=enabled -Dlogind=disabled build seatd
+ meson -Db_lundef=false -Db_sanitize=address -Dseatd=enabled -Dbuiltin=enabled -Dexamples=enabled -Dlogind=disabled build seatd
ninja -C build
timeout -s KILL 30s ./seatd/.builds/smoketest-seatd.sh
- smoketest-builtin: |
diff --git a/meson_options.txt b/meson_options.txt
index e32221a..73b9634 100644
--- a/meson_options.txt
+++ b/meson_options.txt
@@ -2,6 +2,6 @@ option('logind', type: 'feature', value: 'disabled', description: 'logind suppor
option('seatd', type: 'feature', value: 'enabled', description: 'seatd support')
option('builtin', type: 'feature', value: 'disabled', description: 'builtin seatd server')
option('server', type: 'feature', value: 'enabled', description: 'seatd server')
-option('examples', type: 'feature', value: 'enabled', description: 'libseat example programs')
+option('examples', type: 'feature', value: 'disabled', description: 'libseat example programs')
option('man-pages', type: 'feature', value: 'auto', description: 'Generate and install man pages')
option('defaultpath', type: 'string', value: '', description: 'Default location for seatd socket (empty for default)')