freebsd-ports/x11/libxkbcommon/Makefile
Jan Beich 2948687622 wayland: add more mostly leaf ports to virtual category
Caveats:
- emulators/rpcs3: install qt5-wayland and ensure Renderer is Vulkan (default)
- mail/thunderbird: add MOZ_ENABLE_WAYLAND=1 via environ(7)
- www/chromium: add --ozone-platform=wayland on command line
- www/firefox-esr: add MOZ_ENABLE_WAYLAND=1 via environ(7)
- www/firefox: add MOZ_ENABLE_WAYLAND=1 via environ(7)
2022-07-20 12:48:14 +00:00

38 lines
1,019 B
Makefile

PORTNAME= libxkbcommon
PORTVERSION= 1.4.1
CATEGORIES= x11 wayland
MASTER_SITES= https://xkbcommon.org/download/
MAINTAINER= x11@FreeBSD.org
COMMENT= Keymap handling library for toolkits and window systems
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
RUN_DEPENDS= xkeyboard-config>0:x11/xkeyboard-config
USES= bison compiler:c11 cpe gnome meson pkgconfig tar:xz
USE_GNOME= libxml2
USE_LDCONFIG= yes
MESON_ARGS= -Denable-docs=false \
-Dx-locale-root="${PREFIX}/lib/X11/locale" \
${MESON_ARGS_${OPSYS}_${OSREL:R}}
CPE_VENDOR= xkbcommon
OPTIONS_DEFINE= EVDEV WAYLAND X11
OPTIONS_DEFAULT=EVDEV WAYLAND X11
OPTIONS_SUB= yes
EVDEV_DESC= Interactive debugger for XKB keymaps for evdev
EVDEV_BUILD_DEPENDS= evdev-proto>0:devel/evdev-proto
EVDEV_USES= localbase
WAYLAND_BUILD_DEPENDS= wayland-protocols>=1.12:graphics/wayland-protocols
WAYLAND_LIB_DEPENDS= libwayland-client.so:graphics/wayland
WAYLAND_MESON_TRUE= enable-wayland
X11_USES= xorg
X11_USE= XORG=xcb
X11_MESON_TRUE= enable-x11
.include <bsd.port.mk>