audio/xfce4-pulseaudio-plugin: Update to 0.5.0

- Convert to meson build
This commit is contained in:
Guido Falsi 2025-04-12 22:53:38 +02:00
parent a40ee5aec6
commit 0d3d89ff5b
3 changed files with 20 additions and 20 deletions

View file

@ -1,6 +1,5 @@
PORTNAME= xfce4-pulseaudio-plugin
PORTVERSION= 0.4.9
PORTREVISION= 1
PORTVERSION= 0.5.0
CATEGORIES= audio xfce
MASTER_SITES= XFCE/panel-plugins
DIST_SUBDIR= xfce4
@ -12,25 +11,21 @@ WWW= https://gitlab.xfce.org/panel-plugins/xfce4-pulseaudio-plugin
LICENSE= GPLv2
LIB_DEPENDS= libcanberra.so:audio/libcanberra \
libharfbuzz.so:print/harfbuzz \
libnotify.so:devel/libnotify \
libpulse-mainloop-glib.so:audio/pulseaudio
RUN_DEPENDS= pavucontrol>=2.0:audio/pavucontrol
USES= compiler:c11 gettext-tools gmake gnome libtool pkgconfig \
tar:bzip2 xfce xorg
USE_GNOME= cairo gdkpixbuf glib20 gtk30 libwnck3
USES= compiler:c11 gettext-tools gnome libtool meson pkgconfig tar:xz \
xfce xorg
USE_GNOME= cairo gdkpixbuf glib20 gtk30
USE_XFCE= libexo panel windowing xfconf
USE_XORG= x11
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --enable-libxfce4windowing \
--enable-mpris2 \
--enable-wnck \
--with-mixer-command=${LOCALBASE}/bin/pavucontrol
INSTALL_TARGET= install-strip
CFLAGS+= -Wno-return-type
MESON_ARGS= -Dlibcanberra=enabled \
-Dlibnotify=enabled \
-Dlibxfce4windowing=enabled \
-Dmixer-command=${LOCALBASE}/bin/pavucontrol \
-Dmpris2=enabled
OPTIONS_DEFINE= KEYBINDER NLS
OPTIONS_DEFAULT= KEYBINDER
@ -38,9 +33,11 @@ OPTIONS_SUB= yes
KEYBINDER_DESC= Keyboard shortcuts
KEYBINDER_LIB_DEPENDS= libkeybinder-3.0.so:x11/keybinder-gtk3
KEYBINDER_CONFIGURE_ENABLE= keybinder
KEYBINDER_MESON_ENABLED= keybinder
NLS_USES= gettext-runtime
NLS_CONFIGURE_ENABLE= nls
NLS_USES= gettext-runtime
post-patch-NLS-off:
@${REINPLACE_CMD} -e "/^subdir('po')/d" ${WRKSRC}/meson.build
.include <bsd.port.mk>

View file

@ -1,3 +1,3 @@
TIMESTAMP = 1733504367
SHA256 (xfce4/xfce4-pulseaudio-plugin-0.4.9.tar.bz2) = a0807615fb2848d0361b7e4568a44f26d189fda48011c7ba074986c8bfddc99a
SIZE (xfce4/xfce4-pulseaudio-plugin-0.4.9.tar.bz2) = 483722
TIMESTAMP = 1744407647
SHA256 (xfce4/xfce4-pulseaudio-plugin-0.5.0.tar.xz) = 3fe69bc6f9c0dd68bd317c0a7813975cf162ba1dd64e23c2ffef372d4b4f808a
SIZE (xfce4/xfce4-pulseaudio-plugin-0.5.0.tar.xz) = 117632

View file

@ -1,4 +1,5 @@
lib/xfce4/panel/plugins/libpulseaudio-plugin.so
share/icons/hicolor/32x32/apps/xfce4-pulseaudio-plugin.png
share/icons/hicolor/48x48/apps/xfce4-pulseaudio-plugin.png
share/icons/hicolor/scalable/apps/xfce4-pulseaudio-plugin.svg
share/icons/hicolor/scalable/status/audio-volume-high-symbolic.svg
@ -47,6 +48,7 @@ share/icons/hicolor/scalable/status/microphone-sensitivity-muted-symbolic.svg
%%NLS%%share/locale/pl/LC_MESSAGES/xfce4-pulseaudio-plugin.mo
%%NLS%%share/locale/pt/LC_MESSAGES/xfce4-pulseaudio-plugin.mo
%%NLS%%share/locale/pt_BR/LC_MESSAGES/xfce4-pulseaudio-plugin.mo
%%NLS%%share/locale/ro/LC_MESSAGES/xfce4-pulseaudio-plugin.mo
%%NLS%%share/locale/ru/LC_MESSAGES/xfce4-pulseaudio-plugin.mo
%%NLS%%share/locale/sk/LC_MESSAGES/xfce4-pulseaudio-plugin.mo
%%NLS%%share/locale/sl/LC_MESSAGES/xfce4-pulseaudio-plugin.mo
@ -56,6 +58,7 @@ share/icons/hicolor/scalable/status/microphone-sensitivity-muted-symbolic.svg
%%NLS%%share/locale/th/LC_MESSAGES/xfce4-pulseaudio-plugin.mo
%%NLS%%share/locale/tr/LC_MESSAGES/xfce4-pulseaudio-plugin.mo
%%NLS%%share/locale/uk/LC_MESSAGES/xfce4-pulseaudio-plugin.mo
%%NLS%%share/locale/vi/LC_MESSAGES/xfce4-pulseaudio-plugin.mo
%%NLS%%share/locale/zh_CN/LC_MESSAGES/xfce4-pulseaudio-plugin.mo
%%NLS%%share/locale/zh_TW/LC_MESSAGES/xfce4-pulseaudio-plugin.mo
share/xfce4/panel/plugins/pulseaudio.desktop