mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-29 13:46:49 +00:00
Merge pull request #7092 from HiassofT/le11-xkb-fix
Fix broken xkeyboard-config on gbm
This commit is contained in:
commit
929ae641ce
@ -18,12 +18,10 @@ configure_package() {
|
||||
}
|
||||
|
||||
pre_configure_target() {
|
||||
PKG_MESON_OPTS_TARGET="-Dcompat-rules=true \
|
||||
-Ddatadir=lib"
|
||||
PKG_MESON_OPTS_TARGET="-Dcompat-rules=true"
|
||||
|
||||
if [ "${DISPLAYSERVER}" = "x11" ]; then
|
||||
PKG_MESON_OPTS_TARGET+=" -Dxkb-base=${XORG_PATH_XKB} \
|
||||
-Dxorg-rules-symlinks=true"
|
||||
PKG_MESON_OPTS_TARGET+=" -Dxorg-rules-symlinks=true"
|
||||
else
|
||||
PKG_MESON_OPTS_TARGET+=" -Dxorg-rules-symlinks=false"
|
||||
fi
|
||||
|
@ -1,15 +0,0 @@
|
||||
--- /meson.build
|
||||
+++ /meson.build
|
||||
@@ -4,7 +4,10 @@
|
||||
meson_version: '>= 0.54.0')
|
||||
|
||||
dir_data = join_paths(get_option('prefix'), get_option('datadir'))
|
||||
-dir_xkb_base = join_paths(dir_data, 'X11', 'xkb')
|
||||
+dir_xkb_base = get_option('xkb-base')
|
||||
+if dir_xkb_base == ''
|
||||
+ dir_xkb_base = join_paths(dir_data, 'X11', 'xkb')
|
||||
+endif
|
||||
dir_xkb_rules = join_paths(dir_xkb_base, 'rules')
|
||||
dir_man7 = join_paths(get_option('prefix'), get_option('mandir'), 'man7')
|
||||
dir_pkgconfig = join_paths(dir_data, 'pkgconfig')
|
||||
|
Loading…
x
Reference in New Issue
Block a user