1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-21 08:42:23 +00:00
freebsd-ports/x11-wm/gamescope/Makefile
Jan Beich e92349ca0c multimedia/pipewire: force rebuild consumers after 8691df3a51
ABI has changed: pw_{,de}init -> pipewire_{,de}init. As PipeWire
support is often runtime-optional the breakage maybe hard to notice.

 ERROR kooha::backend::screencast_portal > Error from screencast call: Zbus(MethodError(OwnedInterfaceName(InterfaceName(Str("org.freedesktop.DBus.Error.UnknownMethod"))), Some("No such interface “org.freedesktop.portal.ScreenCast” on object at path /org/freedesktop/portal/desktop"), Msg { type: Error, sender: UniqueName(Str(":1.397")), reply-serial: 18, body: Signature: [
        s (115),
] }))

ld-elf.so.1: /usr/local/libexec/xdg-desktop-portal-wlr: Undefined symbol "pw_init"

PR:		259621
2021-11-20 22:41:23 +00:00

53 lines
1.8 KiB
Makefile

PORTNAME= gamescope
DISTVERSION= 3.9.5
PORTREVISION= 1
CATEGORIES= x11-wm
PATCH_SITES= https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/commit/
PATCHFILES+= ec8e547be135.patch:-p1 # https://github.com/Plagman/gamescope/pull/119
PATCHFILES+= ea415ae28442.patch:-p1 # https://github.com/Plagman/gamescope/pull/119
PATCHFILES+= 7c188b24afaa.patch:-p1 # https://github.com/Plagman/gamescope/pull/119
PATCHFILES+= a618ea074660.patch:-p1 # https://github.com/Plagman/gamescope/issues/120
MAINTAINER= jbeich@FreeBSD.org
COMMENT= Micro-compositor from SteamOS
LICENSE= BSD2CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE
BUILD_DEPENDS= glslangValidator:graphics/glslang \
evdev-proto>0:devel/evdev-proto \
vulkan-headers>0:graphics/vulkan-headers \
wayland-protocols>=1.17:graphics/wayland-protocols \
wlroots>=0.15.0<0.16.0:x11-toolkits/wlroots
LIB_DEPENDS= libepoll-shim.so:devel/libepoll-shim \
libdrm.so:graphics/libdrm \
libvulkan.so:graphics/vulkan-loader \
libwayland-server.so:graphics/wayland \
libwlroots.so:x11-toolkits/wlroots \
libxkbcommon.so:x11/libxkbcommon
USES= compiler:c++11-lib meson pkgconfig sdl xorg
USE_GITHUB= yes
USE_GITLAB= nodefault
USE_SDL= sdl2
USE_XORG= x11 xcomposite xdamage xext xfixes xrender xres xtst xxf86vm
GH_ACCOUNT= Plagman
GH_TUPLE= nothings:stb:af1a5bc:stb/subprojects/stb
GL_TUPLE= https://gitlab.freedesktop.org:emersion:libliftoff:b7a6958bcacdedf6e451d8821c807299943ef150:libliftoff/subprojects/libliftoff
PLIST_FILES= bin/${PORTNAME}
OPTIONS_DEFINE= PIPEWIRE
OPTIONS_DEFAULT=PIPEWIRE
PIPEWIRE_DESC= Screen capture via PipeWire
PIPEWIRE_LIB_DEPENDS= libpipewire-0.3.so:multimedia/pipewire
PIPEWIRE_MESON_ENABLED= pipewire
post-extract:
# Merge patch_directory for subprojects without meson.build
@(cd ${WRKSRC}/subprojects/packagefiles && ${COPYTREE_SHARE} . ..)
.include "${.CURDIR}/Makefile.wlroots"
.include <bsd.port.mk>