diff --git a/x11/libxkbcommon/Makefile b/x11/libxkbcommon/Makefile index fe07f14f6c7e..ebacd5c2495d 100644 --- a/x11/libxkbcommon/Makefile +++ b/x11/libxkbcommon/Makefile @@ -1,32 +1,36 @@ PORTNAME= libxkbcommon PORTVERSION= 1.1.0 +PORTREVISION= 1 CATEGORIES= x11 MASTER_SITES= https://xkbcommon.org/download/ DIST_SUBDIR= xorg/lib 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 gnome meson pkgconfig tar:xz USE_GNOME= libxml2 USE_LDCONFIG= yes MESON_ARGS= -Denable-docs=false \ - -Denable-wayland=false \ -Dx-locale-root="${PREFIX}/lib/X11/locale" \ ${MESON_ARGS_${OPSYS}_${OSREL:R}} MESON_ARGS_FreeBSD_11= -Ddefault-rules=xorg -OPTIONS_DEFINE= X11 -OPTIONS_DEFAULT=X11 +OPTIONS_DEFINE= WAYLAND X11 +OPTIONS_DEFAULT=WAYLAND X11 OPTIONS_SUB= yes +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 diff --git a/x11/libxkbcommon/pkg-plist b/x11/libxkbcommon/pkg-plist index f8a09642270f..131517a33ab8 100644 --- a/x11/libxkbcommon/pkg-plist +++ b/x11/libxkbcommon/pkg-plist @@ -1,29 +1,31 @@ bin/xkbcli include/xkbcommon/xkbcommon.h include/xkbcommon/xkbcommon-compat.h include/xkbcommon/xkbcommon-compose.h include/xkbcommon/xkbcommon-keysyms.h include/xkbcommon/xkbcommon-names.h include/xkbcommon/xkbregistry.h %%X11%%include/xkbcommon/xkbcommon-x11.h lib/libxkbcommon.so lib/libxkbcommon.so.0 lib/libxkbcommon.so.0.0.0 %%X11%%lib/libxkbcommon-x11.so %%X11%%lib/libxkbcommon-x11.so.0 %%X11%%lib/libxkbcommon-x11.so.0.0.0 lib/libxkbregistry.so lib/libxkbregistry.so.0 lib/libxkbregistry.so.0.0.0 libdata/pkgconfig/xkbcommon.pc %%X11%%libdata/pkgconfig/xkbcommon-x11.pc libdata/pkgconfig/xkbregistry.pc libexec/xkbcommon/xkbcli-compile-keymap libexec/xkbcommon/xkbcli-how-to-type +%%WAYLAND%%libexec/xkbcommon/xkbcli-interactive-wayland %%X11%%libexec/xkbcommon/xkbcli-interactive-x11 libexec/xkbcommon/xkbcli-list man/man1/xkbcli-compile-keymap.1.gz man/man1/xkbcli-how-to-type.1.gz +%%WAYLAND%%man/man1/xkbcli-interactive-wayland.1.gz %%X11%%man/man1/xkbcli-interactive-x11.1.gz man/man1/xkbcli-list.1.gz man/man1/xkbcli.1.gz