summaryrefslogtreecommitdiff
path: root/multimedia/xfce4-parole/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'multimedia/xfce4-parole/Makefile')
-rw-r--r--multimedia/xfce4-parole/Makefile46
1 files changed, 24 insertions, 22 deletions
diff --git a/multimedia/xfce4-parole/Makefile b/multimedia/xfce4-parole/Makefile
index 184210f81f73..7c9d739e42b1 100644
--- a/multimedia/xfce4-parole/Makefile
+++ b/multimedia/xfce4-parole/Makefile
@@ -1,6 +1,5 @@
PORTNAME= parole
-PORTVERSION= 4.18.2
-PORTREVISION= 1
+PORTVERSION= 4.20.0
CATEGORIES= multimedia xfce
MASTER_SITES= XFCE/apps
DIST_SUBDIR= xfce4
@@ -15,44 +14,47 @@ LICENSE_FILE= ${WRKSRC}/COPYING
LIB_DEPENDS= libdbus-1.so:devel/dbus \
libdbus-glib-1.so:devel/dbus-glib \
libnotify.so:devel/libnotify \
- libtag_c.so:audio/taglib \
- libharfbuzz.so:print/harfbuzz
+ libtag_c.so:audio/taglib
RUN_DEPENDS= xdg-screensaver:devel/xdg-utils
-USES= compiler:c++11-lang desktop-file-utils gettext-tools \
- gmake gnome gstreamer libtool pkgconfig tar:bzip2 xfce xorg
-USE_GNOME= cairo gdkpixbuf gtk30 glib20
+USES= compiler:c++11-lang desktop-file-utils gettext-tools gnome \
+ gstreamer meson pkgconfig tar:xz xfce xorg
+USE_GNOME= glib20 gtk30
USE_GSTREAMER= core faad flac wavpack x
USE_XFCE= libmenu xfconf
USE_XORG= ice sm x11
-GNU_CONFIGURE= yes
-CONFIGURE_ARGS= --enable-notify-plugin \
- --enable-tray-plugin \
- --enable-taglib \
- --enable-mpris2-plugin \
- --without-html-dir
-INSTALL_TARGET= install-strip
+MESON_ARGS= -Dgtk-doc=false \
+ -Dmpris2-plugin=enabled \
+ -Dnotify-plugin=enabled \
+ -Dtaglib=enabled \
+ -Dtray-plugin=enabled \
+ -Dx11=enabled
-OPTIONS_DEFINE= NLS
-OPTIONS_DEFAULT= HTTP
+OPTIONS_DEFINE= NLS WAYLAND
+OPTIONS_DEFAULT= HTTP WAYLAND
OPTIONS_GROUP= GST_PLUG
OPTIONS_GROUP_GST_PLUG= CDDA HTTP
OPTIONS_SUB= yes
-GST_PLUG_DESC= Additional GStreamer plugins
-HTTP_DESC= HTTP streaming (libsoup)
+GST_PLUG_DESC= Additional GStreamer plugins
+HTTP_DESC= HTTP streaming (libsoup)
-CDDA_USE= gstreamer=cdparanoia
+CDDA_USE= GSTREAMER=cdparanoia
-HTTP_USE= gstreamer=soup
+HTTP_USE= GSTREAMER=soup
-NLS_USES= gettext-runtime
-NLS_CONFIGURE_ENABLE= nls
+NLS_USES= gettext-runtime
+
+WAYLAND_LIB_DEPENDS= libgtk-layer-shell.so:x11-toolkits/gtk-layer-shell
+WAYLAND_MESON_ENABLED= wayland
post-patch:
# Fix .rc files path
@${REINPLACE_CMD} -e 's|xfce4/src/misc|${PORTNAME}|g' \
${WRKSRC}/src/common/parole-rc-utils.h
+post-patch-NLS-off:
+ @${REINPLACE_CMD} -e "/^subdir('po')/d" ${WRKSRC}/meson.build
+
.include <bsd.port.mk>