summaryrefslogtreecommitdiff
path: root/sysutils/xfce4-systemload-plugin/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'sysutils/xfce4-systemload-plugin/Makefile')
-rw-r--r--sysutils/xfce4-systemload-plugin/Makefile33
1 files changed, 14 insertions, 19 deletions
diff --git a/sysutils/xfce4-systemload-plugin/Makefile b/sysutils/xfce4-systemload-plugin/Makefile
index 98f99720f19d..aa5cf680823d 100644
--- a/sysutils/xfce4-systemload-plugin/Makefile
+++ b/sysutils/xfce4-systemload-plugin/Makefile
@@ -1,5 +1,5 @@
PORTNAME= xfce4-systemload-plugin
-PORTVERSION= 1.3.3
+PORTVERSION= 1.4.0
CATEGORIES= sysutils xfce
MASTER_SITES= XFCE/panel-plugins
DIST_SUBDIR= xfce4
@@ -10,34 +10,29 @@ WWW= https://docs.xfce.org/panel-plugins/xfce4-systemload-plugin/start
LICENSE= BSD2CLAUSE
-LIB_DEPENDS= libharfbuzz.so:print/harfbuzz \
- libpolkit-gobject-1.so:sysutils/polkit
+LIB_DEPENDS= libpolkit-gobject-1.so:sysutils/polkit
-USES= compiler:c11 gettext-tools gmake gnome libtool pkgconfig \
- tar:bzip2 xfce
-USE_GNOME= cairo gdkpixbuf gtk30
+USES= compiler:c11 gettext-tools gnome meson pkgconfig tar:xz xfce
+USE_GNOME= gtk30
USE_XFCE= libmenu panel xfconf
-
-GNU_CONFIGURE= yes
-CONFIGURE_ARGS= --disable-libgtop
-INSTALL_TARGET= install-strip
SSP_UNSAFE= yes
-OPTIONS_DEFINE= NLS UPOWER # LIBGTOP
+OPTIONS_DEFINE= LIBGTOP NLS UPOWER
OPTIONS_DEFAULT= UPOWER
OPTIONS_SUB= yes
-# Enabling libgtop causes crashes, needs investigation
-#LIBGTOP_DESC= Use libgtop for network utilization monitoring
+LIBGTOP_DESC= Use libgtop for network utilization monitoring
UPOWER_DESC= Use upower for adapting update interval to power state
-#LIBGTOP_LIB_DEPENDS= libgtop-2.0.so:devel/libgtop
-#LIBGTOP_CONFIGURE_ENABLE= libgtop
+LIBGTOP_LIB_DEPENDS= libgtop-2.0.so:devel/libgtop
+LIBGTOP_MESON_ENABLED= libgtop
+
+NLS_USES= gettext-runtime
-NLS_USES= gettext-runtime
-NLS_CONFIGURE_ENABLE= nls
+UPOWER_LIB_DEPENDS= libupower-glib.so:sysutils/upower
+UPOWER_MESON_ENABLED= upower-glib
-UPOWER_LIB_DEPENDS= libupower-glib.so:sysutils/upower
-UPOWER_CONFIGURE_ENABLE= upower
+post-patch-NLS-off:
+ @${REINPLACE_CMD} -e "/^subdir('po')/d" ${WRKSRC}/meson.build
.include <bsd.port.mk>