0
0
mirror of https://github.com/libretro/Lakka-LibreELEC.git synced 2025-01-31 14:12:31 +00:00
2024-10-03 10:10:01 +00:00

29 lines
886 B
Makefile

# SPDX-License-Identifier: GPL-2.0-or-later
# Copyright (C) 2009-2016 Stephan Raue (stephan@openelec.tv)
# Copyright (C) 2019-present Team LibreELEC (https://libreelec.tv)
PKG_NAME="xkeyboard-config"
PKG_VERSION="2.43"
PKG_SHA256="c810f362c82a834ee89da81e34cd1452c99789339f46f6037f4b9e227dd06c01"
PKG_LICENSE="MIT"
PKG_SITE="https://www.X.org"
PKG_URL="https://www.x.org/releases/individual/data/${PKG_NAME}/${PKG_NAME}-${PKG_VERSION}.tar.xz"
PKG_DEPENDS_TARGET="toolchain util-macros"
PKG_LONGDESC="X keyboard extension data files."
configure_package() {
if [ "${DISPLAYSERVER}" = "x11" ]; then
PKG_DEPENDS_TARGET+=" xkbcomp"
fi
}
pre_configure_target() {
PKG_MESON_OPTS_TARGET="-Dcompat-rules=true"
if [ "${DISPLAYSERVER}" = "x11" ]; then
PKG_MESON_OPTS_TARGET+=" -Dxorg-rules-symlinks=true"
else
PKG_MESON_OPTS_TARGET+=" -Dxorg-rules-symlinks=false"
fi
}