summaryrefslogtreecommitdiff
path: root/misc/xfce4-weather-plugin/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'misc/xfce4-weather-plugin/Makefile')
-rw-r--r--misc/xfce4-weather-plugin/Makefile23
1 files changed, 10 insertions, 13 deletions
diff --git a/misc/xfce4-weather-plugin/Makefile b/misc/xfce4-weather-plugin/Makefile
index 09cb6a2b79e9..14d07fefda4a 100644
--- a/misc/xfce4-weather-plugin/Makefile
+++ b/misc/xfce4-weather-plugin/Makefile
@@ -1,5 +1,5 @@
PORTNAME= xfce4-weather-plugin
-PORTVERSION= 0.11.3
+PORTVERSION= 0.12.0
CATEGORIES= misc xfce geography
MASTER_SITES= XFCE/panel-plugins
DIST_SUBDIR= xfce4
@@ -11,28 +11,25 @@ WWW= https://goodies.xfce.org/projects/panel-plugins/xfce4-weather-plugin
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/COPYING
-LIB_DEPENDS= libharfbuzz.so:print/harfbuzz \
- libjson-c.so:devel/json-c \
+LIB_DEPENDS= libjson-c.so:devel/json-c \
libsoup-2.4.so:devel/libsoup
-USES= compiler:c11 gettext-tools gmake gnome libtool pkgconfig \
- tar:bzip2 xfce
-USE_GNOME= cairo gdkpixbuf glib20 gtk30 intltool libxml2
+USES= compiler:c11 gettext-tools gnome meson pkgconfig tar:xz xfce
+USE_GNOME= glib20 gtk30 libxml2
USE_LDCONFIG= yes
USE_XFCE= libmenu panel xfconf
-GNU_CONFIGURE= yes
-INSTALL_TARGET= install-strip
-
OPTIONS_DEFINE= NLS UPOWER
OPTIONS_SUB= yes
UPOWER_DESC= Power management tasks
-NLS_USES= gettext-runtime
-NLS_CONFIGURE_ENABLE= nls
+NLS_USES= gettext-runtime
+
+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>