mirror of
https://github.com/libretro/Lakka-LibreELEC.git
synced 2024-11-24 05:36:17 +00:00
29 lines
886 B
Makefile
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.38"
|
|
PKG_SHA256="0690a91bab86b18868f3eee6d41e9ec4ce6894f655443d490a2184bfac56c872"
|
|
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
|
|
}
|