distribution/packages/virtual/x11/package.mk

39 lines
1 KiB
Makefile
Raw Normal View History

2022-02-05 14:23:32 +00:00
# SPDX-License-Identifier: GPL-2.0-or-later
# Copyright (C) 2009-2016 Stephan Raue (stephan@openelec.tv)
PKG_NAME="x11"
PKG_VERSION=""
PKG_LICENSE="OSS"
PKG_SITE="http://www.X.org"
PKG_URL=""
PKG_DEPENDS_TARGET="toolchain xorg-server"
PKG_SECTION="virtual"
PKG_LONGDESC="X11 is the Windowing system"
# Additional packages we need for using xorg-server:
# Fonts
2023-02-24 13:53:43 +00:00
PKG_DEPENDS_TARGET="${PKG_DEPENDS_TARGET} encodings font-xfree86-type1 font-bitstream-type1 font-misc-misc"
2022-02-05 14:23:32 +00:00
# Server
2023-02-24 13:53:43 +00:00
PKG_DEPENDS_TARGET="${PKG_DEPENDS_TARGET} xkeyboard-config xkbcomp"
2022-02-05 14:23:32 +00:00
# Tools
2023-02-24 13:53:43 +00:00
PKG_DEPENDS_TARGET="${PKG_DEPENDS_TARGET} xrandr setxkbmap"
2022-02-05 14:23:32 +00:00
if [ -n "$WINDOWMANAGER" -a "$WINDOWMANAGER" != "none" ]; then
2023-02-24 13:53:43 +00:00
PKG_DEPENDS_TARGET="${PKG_DEPENDS_TARGET} $WINDOWMANAGER"
2022-02-05 14:23:32 +00:00
fi
get_graphicdrivers
# Drivers
if [ -n "$LIBINPUT" ]; then
2023-02-24 13:53:43 +00:00
PKG_DEPENDS_TARGET="${PKG_DEPENDS_TARGET} xf86-input-libinput"
2022-02-05 14:23:32 +00:00
else
2023-02-24 13:53:43 +00:00
PKG_DEPENDS_TARGET="${PKG_DEPENDS_TARGET} xf86-input-evdev xf86-input-synaptics"
2022-02-05 14:23:32 +00:00
fi
for drv in $XORG_DRIVERS; do
2023-02-24 13:53:43 +00:00
PKG_DEPENDS_TARGET="${PKG_DEPENDS_TARGET} xf86-video-$drv"
2022-02-05 14:23:32 +00:00
done