deskutils/xfce4-notifyd: Correctly depend on canberra for sound support

Upstream configure script does not have a specific canberra knob,
so use the sound knob to really control linking to canberra library
for sound support.

To better describe the option I renamed it to SOUND (still disabled
by default)

PR:		273805
Fixes:		4018c2022b
MFH:		2023Q3

(cherry picked from commit 68465db0de)
This commit is contained in:
Guido Falsi 2023-09-22 09:04:47 +02:00
parent 180f204723
commit d680dedc79

View file

@ -29,14 +29,14 @@ USE_XORG= ice sm x11
GNU_CONFIGURE= yes
INSTALL_TARGET= install-strip
OPTIONS_DEFINE= CANBERRA NLS
OPTIONS_DEFINE= NLS SOUND
OPTIONS_SUB= yes
CANBERRA_DESC= Sound (audio) support via canberra
SOUND_DESC= Sound (audio) support via canberra
CANBERRA_LIB_DEPENDS= libcanberra.so:audio/libcanberra \
libcanberra-gtk3.so:audio/libcanberra-gtk3
CANBERRA_CONFIGURE_ENABLE= canberra
SOUND_LIB_DEPENDS= libcanberra.so:audio/libcanberra \
libcanberra-gtk3.so:audio/libcanberra-gtk3
SOUND_CONFIGURE_ENABLE= sound
NLS_USES= gettext-runtime
NLS_CONFIGURE_ENABLE= nls