0
0
mirror of https://github.com/termux/termux-packages.git synced 2024-11-23 14:56:16 +00:00
termux-packages/x11-packages/swaybg/0001-use-cross-wayland-scanner.patch
Biswapriyo Nath da5dac7f36 addpkg(x11/swaybg): 1.2.1
Required for sway. Otherwise, the following warning is shown.
[sway/config/output.c:1071] failed to execute 'swaybg'
(background configuration probably not applied): No such file or directory
2024-11-21 01:25:37 +05:30

21 lines
708 B
Diff

--- a/meson.build
+++ b/meson.build
@@ -36,7 +36,7 @@
gdk_pixbuf = dependency('gdk-pixbuf-2.0', required: get_option('gdk-pixbuf'))
git = find_program('git', required: false, native: true)
-scdoc = find_program('scdoc', required: get_option('man-pages'), native: true)
+scdoc = find_program('scdoc', required: get_option('man-pages'))
version = '"@0@"'.format(meson.project_version())
if git.found()
@@ -54,7 +54,7 @@
wl_protocol_dir = wayland_protos.get_variable('pkgdatadir')
-wayland_scanner_prog = find_program(wayland_scanner.get_variable('wayland_scanner'), native: true)
+wayland_scanner_prog = find_program('wayland-scanner')
wayland_scanner_code = generator(
wayland_scanner_prog,