summaryrefslogtreecommitdiff
path: root/audio/xfce4-mpc-plugin/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'audio/xfce4-mpc-plugin/Makefile')
-rw-r--r--audio/xfce4-mpc-plugin/Makefile24
1 files changed, 11 insertions, 13 deletions
diff --git a/audio/xfce4-mpc-plugin/Makefile b/audio/xfce4-mpc-plugin/Makefile
index 1bf81056fe28..33dde9323872 100644
--- a/audio/xfce4-mpc-plugin/Makefile
+++ b/audio/xfce4-mpc-plugin/Makefile
@@ -1,5 +1,5 @@
PORTNAME= xfce4-mpc-plugin
-PORTVERSION= 0.5.5
+PORTVERSION= 0.6.0
CATEGORIES= audio xfce
MASTER_SITES= XFCE/panel-plugins
DIST_SUBDIR= xfce4
@@ -10,23 +10,21 @@ WWW= https://docs.xfce.org/panel-plugins/xfce4-mpc-plugin/start
LICENSE= ISCL
-LIB_DEPENDS= libharfbuzz.so:print/harfbuzz \
- libmpd.so:audio/libmpd
+LIB_DEPENDS= libmpd.so:audio/libmpd
RUN_DEPENDS= musicpd:audio/musicpd
-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
-GNU_CONFIGURE= yes
-INSTALL_TARGET= install-strip
-CONFIGURE_ARGS+= --with-libmpd=${LOCALBASE}
+MESON_ARGS= -Dlibmpd=enabled
-OPTIONS_DEFINE= NLS
-OPTIONS_SUB= yes
+OPTIONS_DEFINE= NLS
+OPTIONS_SUB= yes
-NLS_CONFIGURE_ENABLE= nls
-NLS_USES= gettext-runtime
+NLS_USES= gettext-runtime
+
+post-patch-NLS-off:
+ @${REINPLACE_CMD} -e "/^subdir('po')/d" ${WRKSRC}/meson.build
.include <bsd.port.mk>