gamescope: fix typo

- add dependencies
- build opengl depending on DISTRO_FEATURE
This commit is contained in:
Markus Volk 2024-01-20 08:28:02 +01:00
parent 7f6d9a1dba
commit bef39004fa

View File

@ -6,6 +6,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=a0fe8e93fee55f3a3a8cc0681c48448a"
REQUIRED_DISTRO_FEATURES = "x11 wayland" REQUIRED_DISTRO_FEATURES = "x11 wayland"
DEPENDS += " \ DEPENDS += " \
aom \
glm \ glm \
glslang-native \ glslang-native \
hwdata \ hwdata \
@ -21,8 +22,9 @@ DEPENDS += " \
libxkbcommon \ libxkbcommon \
libxres \ libxres \
libxmu \ libxmu \
libxrender \
libxtst \
vulkan-headers \ vulkan-headers \
vulkan-loader \
wayland \ wayland \
wayland-native \ wayland-native \
wayland-protocols \ wayland-protocols \
@ -31,9 +33,10 @@ DEPENDS += " \
CXXFLAGS:append = " -I${STAGING_INCDIR}/stb" CXXFLAGS:append = " -I${STAGING_INCDIR}/stb"
PACKAGECONFIG ?= "${@bb.utils.filter('DISTRO_FEATURES', 'pipewire', d)}" PACKAGECONFIG ?= "${@bb.utils.filter('DISTRO_FEATURES', 'opengl pipewire', d)}"
PACKAGECONFIG[openvr] = "-Denable_openvr_support=true,-Denable_openvr_support=false,openvr" PACKAGECONFIG[openvr] = "-Denable_openvr_support=true,-Denable_openvr_support=false,openvr"
PACKAGECONFIG[pipewire] = "-Dpipewire=enabled,-Dpipwire=disabled,pipewire" PACKAGECONFIG[pipewire] = "-Dpipewire=enabled,-Dpipewire=disabled,pipewire"
PACKAGECONFIG[opengl] = ",,mesa-glut"
SRC_URI = " \ SRC_URI = " \
gitsm://github.com/ValveSoftware/gamescope.git;branch=master;protocol=https \ gitsm://github.com/ValveSoftware/gamescope.git;branch=master;protocol=https \