1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-18 00:10:04 +00:00

x11/xfce4-whiskermenu-plugin: rename GTK_LAYER_SHELL to WAYLAND

Allow X11-only users to globally disable Wayland dependencies via
OPTIONS_UNSET+=WAYLAND in make.conf(5). Besides, gtk-layer-shell will
fail to build unless gtk3 is built with WAYLAND enabled.

PR:		281846
Approved by:	madpilot
This commit is contained in:
Jan Beich 2024-10-07 15:45:44 +02:00
parent 75395421f1
commit 9c49c355b9

View File

@ -16,18 +16,17 @@ USES= cmake compiler:c++14-lang gettext-tools gnome localbase \
USE_GNOME= cairo gdkpixbuf2 gtk30
USE_XFCE= garcon libexo panel xfconf
OPTIONS_DEFINE= ACCOUNTS_SERVICE GTK_LAYER_SHELL LTO NLS
OPTIONS_DEFAULT= ACCOUNTS_SERVICE GTK_LAYER_SHELL LTO
OPTIONS_DEFINE= ACCOUNTS_SERVICE WAYLAND LTO NLS
OPTIONS_DEFAULT= ACCOUNTS_SERVICE WAYLAND LTO
OPTIONS_SUB= yes
ACCOUNTS_SERVICE_DESC= Enable AccountsService support
GTK_LAYER_SHELL_DESC= Enable support for positioning in Wayland
ACCOUNTS_SERVICE_LIB_DEPENDS= libaccountsservice.so:sysutils/accountsservice
ACCOUNTS_SERVICE_CMAKE_BOOL= ENABLE_ACCOUNTS_SERVICE
GTK_LAYER_SHELL_LIB_DEPENDS= libgtk-layer-shell.so:x11-toolkits/gtk-layer-shell
GTK_LAYER_SHELL_CMAKE_BOOL= ENABLE_GTK_LAYER_SHELL
WAYLAND_LIB_DEPENDS= libgtk-layer-shell.so:x11-toolkits/gtk-layer-shell
WAYLAND_CMAKE_BOOL= ENABLE_GTK_LAYER_SHELL
LTO_CMAKE_BOOL= ENABLE_LINK_TIME_OPTIMIZATION