1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-01 05:45:45 +00:00

x11-wm/gamescope: back to default wlroots

This commit is contained in:
Jan Beich 2023-11-22 16:46:35 +01:00
parent 4b9eecf1ac
commit 956c42a3d4
2 changed files with 11 additions and 2 deletions

View File

@ -1,9 +1,11 @@
PORTNAME= gamescope
DISTVERSION= 3.13.8
PORTREVISION= 1
CATEGORIES= x11-wm wayland
PATCH_SITES= https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/commit/
PATCHFILES+= a618ea074660.patch:-p1 # https://github.com/ValveSoftware/gamescope/issues/120
PATCHFILES+= 4a067fb4ebe2.patch:-p1 # https://github.com/ValveSoftware/gamescope/pull/678
MAINTAINER= jbeich@FreeBSD.org
COMMENT= SteamOS session compositing window manager
@ -18,7 +20,7 @@ BUILD_DEPENDS= evdev-proto>0:devel/evdev-proto \
wayland-protocols>=1.17:graphics/wayland-protocols \
glm>0:math/glm \
hwdata>0:misc/hwdata \
wlroots>=0.16.0<0.17.0:x11-toolkits/wlroots
wlroots>=0.17.0<0.18.0:x11-toolkits/wlroots
LIB_DEPENDS= libdrm.so:graphics/libdrm \
libliftoff.so:graphics/libliftoff \
libvulkan.so:graphics/vulkan-loader \
@ -55,6 +57,12 @@ PIPEWIRE_MESON_ENABLED= pipewire
post-extract:
# Merge patch_directory for subprojects without meson.build
@(cd ${WRKSRC}/subprojects/packagefiles && ${COPYTREE_SHARE} . ..)
.if defined(PATCHFILES) && ${PATCHFILES:M4a067fb4ebe2*}
# Pretend to be a regular file for vendor patch to apply as is
@${RMDIR} ${WRKSRC}/subprojects/wlroots
@${ECHO_CMD} "Subproject commit 1712a7d27444d62f8da8eeedf0840b386a810e96" \
>${WRKSRC}/subprojects/wlroots
.endif
.ifdef GH_TUPLE
post-configure:
@ -87,5 +95,4 @@ bundled-libcxx:
.endif
.endif # exists(/usr/lib/libc++.so)
.include "${.CURDIR:H:H}/x11-toolkits/wlroots016/override.mk"
.include <bsd.port.mk>

View File

@ -13,3 +13,5 @@ SHA256 (llvm-llvm-project-llvmorg-16.0.1_GH0.tar.gz) = b5a9ff1793b1e2d388a3819bf
SIZE (llvm-llvm-project-llvmorg-16.0.1_GH0.tar.gz) = 179289803
SHA256 (a618ea074660.patch) = c79b4b7a231d9c6e34912b8f4a301c6c60b921b6be5fb9c132d999e9a6930424
SIZE (a618ea074660.patch) = 2589
SHA256 (4a067fb4ebe2.patch) = fb12df8318e06a77ead4aa5752e32eec48efc70de43f069369a4c6a83a590152
SIZE (4a067fb4ebe2.patch) = 4823