multimedia/xfce4-parole: Update to 4.20.0

- Move build to meson
This commit is contained in:
Guido Falsi 2025-05-22 23:31:27 +02:00
parent 0b04e3740a
commit 02f1adc8d8
2 changed files with 27 additions and 25 deletions

View File

@ -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>

View File

@ -1,3 +1,3 @@
TIMESTAMP = 1735172090
SHA256 (xfce4/parole-4.18.2.tar.bz2) = 6625288b760d38a15c295051ecf66c556fcad21dd1516d6d661c2a582421ee0e
SIZE (xfce4/parole-4.18.2.tar.bz2) = 1183723
TIMESTAMP = 1747847711
SHA256 (xfce4/parole-4.20.0.tar.xz) = 5cf753e670d6518701133eb860d8bceb3a08a496af6a2b7cc67b93320230c983
SIZE (xfce4/parole-4.20.0.tar.xz) = 481288