Skip to content

Commit

Permalink
x11/xfce4-whiskermenu-plugin: Update to 2.8.0
Browse files Browse the repository at this point in the history
- Add options ACCOUNTS_SERVICE GTK_LAYER_SHELL LTO to allow disabling
  these new features (all enabled by defualt)
- Reorder Makefile variables to pet portfmt and portclippy
- Improve pkg-descr
- Testing shows the .desktop file gets installed only if NLS option
  is enabled
  • Loading branch information
madpilot78 committed Aug 30, 2023
1 parent c8836dc commit 52ea695
Show file tree
Hide file tree
Showing 4 changed files with 25 additions and 10 deletions.
22 changes: 17 additions & 5 deletions x11/xfce4-whiskermenu-plugin/Makefile
@@ -1,5 +1,5 @@
PORTNAME= xfce4-whiskermenu-plugin
PORTVERSION= 2.7.3
PORTVERSION= 2.8.0
CATEGORIES= x11 xfce
MASTER_SITES= XFCE/panel-plugins
DIST_SUBDIR= xfce4
Expand All @@ -11,14 +11,26 @@ WWW= https://goodies.xfce.org/projects/panel-plugins/xfce4-whiskermenu-plugin
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/COPYING

USES= cmake compiler:c++14-lang gettext-tools gnome localbase pkgconfig \
tar:bzip2 xfce
USES= cmake compiler:c++14-lang gettext-tools gnome localbase \
pkgconfig tar:bzip2 xfce
USE_GNOME= cairo gdkpixbuf2 gtk30
USE_XFCE= panel

OPTIONS_DEFINE= NLS
OPTIONS_DEFINE= ACCOUNTS_SERVICE GTK_LAYER_SHELL LTO NLS
OPTIONS_DEFAULT= ACCOUNTS_SERVICE GTK_LAYER_SHELL 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

LTO_CMAKE_BOOL= ENABLE_LINK_TIME_OPTIMIZATION

OPTIONS_SUB= yes
NLS_USES= gettext-runtime

post-patch-NLS-off:
Expand Down
6 changes: 3 additions & 3 deletions x11/xfce4-whiskermenu-plugin/distinfo
@@ -1,3 +1,3 @@
TIMESTAMP = 1682509553
SHA256 (xfce4/xfce4-whiskermenu-plugin-2.7.3.tar.bz2) = da2699ec9665388cf7fa1090088290f78245667fa6846ffca14116264a9fe6e9
SIZE (xfce4/xfce4-whiskermenu-plugin-2.7.3.tar.bz2) = 180287
TIMESTAMP = 1693329985
SHA256 (xfce4/xfce4-whiskermenu-plugin-2.8.0.tar.bz2) = bcf8035ee9080a955b7ad6f2da0fdefa4db283f9ce2d1717ad0faef5c23244e6
SIZE (xfce4/xfce4-whiskermenu-plugin-2.8.0.tar.bz2) = 187093
5 changes: 4 additions & 1 deletion x11/xfce4-whiskermenu-plugin/pkg-descr
@@ -1 +1,4 @@
Whisker Menu is an alternate application launcher for the Xfce Desktop.
Whisker Menu is an alternate application launcher for the Xfce
Desktop. When you open it you are shown a list of applications you
have marked as favorites. You can browse through all of your installed
applications by clicking on the category buttons on the side.
2 changes: 1 addition & 1 deletion x11/xfce4-whiskermenu-plugin/pkg-plist
Expand Up @@ -65,4 +65,4 @@ share/icons/hicolor/scalable/apps/org.xfce.panel.whiskermenu.svg
%%NLS%%share/locale/vi/LC_MESSAGES/xfce4-whiskermenu-plugin.mo
%%NLS%%share/locale/zh_CN/LC_MESSAGES/xfce4-whiskermenu-plugin.mo
%%NLS%%share/locale/zh_TW/LC_MESSAGES/xfce4-whiskermenu-plugin.mo
share/xfce4/panel/plugins/whiskermenu.desktop
%%NLS%%share/xfce4/panel/plugins/whiskermenu.desktop

0 comments on commit 52ea695

Please sign in to comment.