2024-01-08 23:14:18 +01:00
|
|
|
SUMMARY = "gamescope: the micro-compositor formerly known as steamcompmgr"
|
|
|
|
HOMEPAGE = "https://github.com/ValveSoftware/gamescope"
|
|
|
|
LICENSE = "BSD-2-Clause"
|
|
|
|
LIC_FILES_CHKSUM = "file://LICENSE;md5=a0fe8e93fee55f3a3a8cc0681c48448a"
|
|
|
|
|
|
|
|
REQUIRED_DISTRO_FEATURES = "x11 wayland"
|
|
|
|
|
|
|
|
DEPENDS += " \
|
2024-01-20 08:28:02 +01:00
|
|
|
aom \
|
2024-01-08 23:14:18 +01:00
|
|
|
glm \
|
|
|
|
glslang-native \
|
|
|
|
hwdata \
|
2024-04-14 17:34:35 +02:00
|
|
|
libei \
|
|
|
|
libdecor \
|
2024-01-08 23:14:18 +01:00
|
|
|
libdisplay-info \
|
2024-06-23 21:13:11 +02:00
|
|
|
libdrm \
|
2024-04-14 17:34:35 +02:00
|
|
|
libinput \
|
2024-01-08 23:14:18 +01:00
|
|
|
libx11\
|
|
|
|
libxcomposite \
|
|
|
|
libxcursor \
|
|
|
|
libxkbcommon \
|
|
|
|
libxres \
|
|
|
|
libxmu \
|
2024-01-20 08:28:02 +01:00
|
|
|
libxrender \
|
|
|
|
libxtst \
|
2024-06-23 21:13:11 +02:00
|
|
|
libxxf86vm \
|
|
|
|
libxfixes \
|
|
|
|
libxext \
|
|
|
|
libxdamage \
|
2024-04-14 17:34:35 +02:00
|
|
|
seatd \
|
2024-02-12 16:41:18 +01:00
|
|
|
stb \
|
2024-05-21 18:23:19 +02:00
|
|
|
vulkan-loader \
|
2024-01-08 23:14:18 +01:00
|
|
|
vulkan-headers \
|
|
|
|
wayland \
|
|
|
|
wayland-native \
|
|
|
|
wayland-protocols \
|
2024-04-14 17:34:35 +02:00
|
|
|
xcb-util-wm \
|
|
|
|
xwayland \
|
2024-01-08 23:14:18 +01:00
|
|
|
"
|
|
|
|
|
2024-02-13 08:24:44 +01:00
|
|
|
RDEPENDS:${PN} = "xwayland hwdata"
|
2024-02-12 16:41:18 +01:00
|
|
|
|
2024-01-08 23:14:18 +01:00
|
|
|
CXXFLAGS:append = " -I${STAGING_INCDIR}/stb"
|
|
|
|
|
2024-06-23 21:13:11 +02:00
|
|
|
PACKAGECONFIG ?= "${@bb.utils.filter('DISTRO_FEATURES', 'pipewire', d)} rt_cap avif_screenshots openvr input_emulation drm_backend"
|
2024-05-15 08:56:27 +02:00
|
|
|
PACKAGECONFIG[benchmark] = "-Dbenchmark=enabled,-Dbenchmark=disabled"
|
|
|
|
PACKAGECONFIG[input_emulation] = "-Dinput_emulation=enabled,-Dinput_emulation=disabled,libei"
|
2024-02-13 08:24:44 +01:00
|
|
|
PACKAGECONFIG[openvr] = "-Denable_openvr_support=true,-Denable_openvr_support=false"
|
2024-01-20 08:28:02 +01:00
|
|
|
PACKAGECONFIG[pipewire] = "-Dpipewire=enabled,-Dpipewire=disabled,pipewire"
|
2024-02-29 14:12:48 +01:00
|
|
|
PACKAGECONFIG[avif_screenshots] = "-Davif_screenshots=enabled,-Davif_screenshots=disabled,libavif"
|
|
|
|
PACKAGECONFIG[rt_cap] = "-Drt_cap=enabled,-Drt_cap=disabled,libcap"
|
|
|
|
PACKAGECONFIG[sdl2_backend] = "-Dsdl2_backend=enabled,-Dsdl2_backend=disabled,libsdl2"
|
2024-06-23 21:13:11 +02:00
|
|
|
PACKAGECONFIG[drm_backend] = "-Ddrm_backend=enabled,-Ddrm_backend=disabled"
|
2024-02-12 16:41:18 +01:00
|
|
|
|
2024-01-08 23:14:18 +01:00
|
|
|
SRC_URI = " \
|
2024-10-17 02:06:49 +02:00
|
|
|
gitsm://github.com/ValveSoftware/gamescope.git;branch=jupiter-3.6;protocol=https \
|
2024-01-08 23:14:18 +01:00
|
|
|
file://0001-meson.build-dont-fail-if-stb-is-not-found.patch \
|
2024-02-12 16:41:18 +01:00
|
|
|
file://0001-meson.build-dont-leak-buildpath.patch \
|
2024-01-08 23:14:18 +01:00
|
|
|
"
|
2024-12-23 08:23:59 +01:00
|
|
|
SRCREV = "a4278b065d10f11007a0af8ed9cea2fbebd2bb3a"
|
|
|
|
PV = "3.15.15"
|
2024-01-08 23:14:18 +01:00
|
|
|
|
|
|
|
S = "${WORKDIR}/git"
|
|
|
|
|
|
|
|
inherit meson pkgconfig features_check
|
|
|
|
|
|
|
|
EXTRA_OEMESON += "--buildtype release"
|
|
|
|
|
|
|
|
FILES:${PN} += "${datadir} ${libdir}"
|
|
|
|
FILES:${PN}-dev = "${includedir} ${libdir}/pkgconfig"
|