distribution/packages/virtual/x86/package.mk

28 lines
859 B
Makefile
Raw Normal View History

2023-03-04 12:51:54 +00:00
# SPDX-License-Identifier: Apache-2.0
# Copyright (C) 2022 - Fewtarius
PKG_NAME="x86"
PKG_LICENSE="Apache-2.0"
PKG_SITE="www.jelos.org"
PKG_DEPENDS_TARGET="toolchain squashfs-tools:host dosfstools:host fakeroot:host kmod:host mtools:host populatefs:host libc gcc linux linux-drivers linux-firmware libusb unzip socat p7zip file SDL2 SDL2_gfx SDL2_image SDL2_mixer SDL2_net SDL2_ttf"
2023-03-04 12:51:54 +00:00
PKG_SECTION="virtual"
PKG_LONGDESC="Root package used to build and create 32-bit userland"
### Display Drivers
2023-03-04 12:51:54 +00:00
if [ ! "${OPENGL}" = "no" ]; then
PKG_DEPENDS_TARGET+=" ${OPENGL} glu libglvnd glew"
fi
if [ "${OPENGLES_SUPPORT}" = yes ]; then
PKG_DEPENDS_TARGET+=" ${OPENGLES}"
fi
if [ "${VULKAN_SUPPORT}" = "yes" ]
then
PKG_DEPENDS_TARGET+=" vulkan-loader vulkan-headers"
fi
if [ "${DISPLAYSERVER}" = "wl" ]; then
PKG_DEPENDS_TARGET+=" wayland ${WINDOWMANAGER}"
fi