git: 4018c2022be4 - main - deskutils/xfce4-notifyd: Properly handle libcanberra dependency
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 15 Sep 2023 11:04:13 UTC
The branch main has been updated by madpilot: URL: https://cgit.FreeBSD.org/ports/commit/?id=4018c2022be41e2e634d970655cfe78c4b997dc0 commit 4018c2022be41e2e634d970655cfe78c4b997dc0 Author: Guido Falsi <madpilot@FreeBSD.org> AuthorDate: 2023-09-15 11:03:25 +0000 Commit: Guido Falsi <madpilot@FreeBSD.org> CommitDate: 2023-09-15 11:03:25 +0000 deskutils/xfce4-notifyd: Properly handle libcanberra dependency xfce4-notifyd configure script automatically adds a dependency on libcanberra-gtk3 if found on the system. To have control on this I added a new CANBERRA option (disabled by default) to the port to control configure behavior and ensure that the port does not link to it if the option is disabled. PR: 273805 MFH: 2023Q3 --- deskutils/xfce4-notifyd/Makefile | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/deskutils/xfce4-notifyd/Makefile b/deskutils/xfce4-notifyd/Makefile index 5357a2e2d4a0..a4403cbf81c4 100644 --- a/deskutils/xfce4-notifyd/Makefile +++ b/deskutils/xfce4-notifyd/Makefile @@ -5,7 +5,7 @@ PORTNAME= xfce4-notifyd PORTVERSION= 0.8.2 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= deskutils xfce MASTER_SITES= XFCE/apps DIST_SUBDIR= xfce4 @@ -29,9 +29,15 @@ USE_XORG= ice sm x11 GNU_CONFIGURE= yes INSTALL_TARGET= install-strip -OPTIONS_DEFINE= NLS +OPTIONS_DEFINE= CANBERRA NLS OPTIONS_SUB= yes +CANBERRA_DESC= Sound (audio) support via canberra + +CANBERRA_LIB_DEPENDS= libcanberra.so:audio/libcanberra \ + libcanberra-gtk3.so:audio/libcanberra-gtk3 +CANBERRA_CONFIGURE_ENABLE= canberra + NLS_USES= gettext-runtime NLS_CONFIGURE_ENABLE= nls