mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 17:59:20 -04:00
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
This commit is contained in:
parent
d45ea8db94
commit
4018c2022b
1 changed files with 8 additions and 2 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue