summaryrefslogtreecommitdiff
path: root/somebar/protocols/meson.build
diff options
context:
space:
mode:
authortslil <tslil@posteo.de>2026-04-04 17:44:21 +0100
committertslil <tslil@posteo.de>2026-04-04 17:47:21 +0100
commit5413fb67d5454666cd4606ac51e8f8d1ae31aa6e (patch)
treeeffd7869b631e1e1a455b65eea1a1f12263b4bba /somebar/protocols/meson.build
parent0c860a57966d4c0f4ef817b9c7f378de4623a236 (diff)
cleanup
Diffstat (limited to 'somebar/protocols/meson.build')
-rw-r--r--somebar/protocols/meson.build22
1 files changed, 0 insertions, 22 deletions
diff --git a/somebar/protocols/meson.build b/somebar/protocols/meson.build
deleted file mode 100644
index 7bd222b..0000000
--- a/somebar/protocols/meson.build
+++ /dev/null
@@ -1,22 +0,0 @@
-# adapted from https://github.com/swaywm/swayidle/blob/0467c1e03a5780ed8e3ba611f099a838822ab550/meson.build
-wayland_scanner = find_program('wayland-scanner')
-wayland_protos_dep = dependency('wayland-protocols')
-wl_protocol_dir = wayland_protos_dep.get_pkgconfig_variable('pkgdatadir')
-wayland_scanner_code = generator(
- wayland_scanner,
- output: '@BASENAME@-protocol.c',
- arguments: ['private-code', '@INPUT@', '@OUTPUT@'])
-wayland_scanner_client = generator(
- wayland_scanner,
- output: '@BASENAME@-client-protocol.h',
- arguments: ['client-header', '@INPUT@', '@OUTPUT@'])
-
-wayland_xmls = [
- wl_protocol_dir + '/stable/xdg-shell/xdg-shell.xml',
- wl_protocol_dir + '/unstable/xdg-output/xdg-output-unstable-v1.xml',
- 'wlr-layer-shell-unstable-v1.xml',
-]
-wayland_sources = [
- wayland_scanner_code.process(wayland_xmls),
- wayland_scanner_client.process(wayland_xmls),
-]