Allow several components notification

Never understood why we disappoint users by creating packages that behave
differently from what they are used to in non-embedded distributions.

Particularly when not saving build time: xfce4-notifyd which is a center
component of XFCE and should be part of any useful image depends upon libnotify
unconditionally.

Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
Andreas Müller
2022-04-02 00:37:04 +02:00
committed by Khem Raj
parent 9f26743034
commit b304441d36
6 changed files with 6 additions and 4 deletions
@@ -9,5 +9,5 @@ inherit xfce-panel-plugin
SRC_URI[md5sum] = "bde92cbd08f129d517524784e5060816"
SRC_URI[sha256sum] = "f211219f03c9260f624370e18c79e4176c9d35a8247158e77e5d811327610ab2"
PACKAGECONFIG ??= ""
PACKAGECONFIG ??= "notify"
PACKAGECONFIG[notify] = "--enable-notifications,--disable-notifications,libnotify"
@@ -11,7 +11,7 @@ DEPENDS += "dbus-glib pulseaudio"
SRC_URI[md5sum] = "3d86032acb9364d47e0a144350c63e1a"
SRC_URI[sha256sum] = "5a518237e2137341d8ca6584938950525e20c28a0177e30ecaea3ba8e7a2615b"
PACKAGECONFIG ??= ""
PACKAGECONFIG ??= "libnotify"
PACKAGECONFIG[libnotify] = "--enable-libnotify,--disable-libnotify,libnotify"
RRECOMMENDS:${PN} = "pavucontrol"
@@ -17,6 +17,7 @@ do_configure:prepend() {
sed -i 's:LIBSENSORS_CFLAGS=.*:LIBSENSORS_CFLAGS=-I${STAGING_INCDIR}:g' ${S}/configure.ac
}
PACKAGECONFIG ??= "libnotify"
PACKAGECONFIG[libsensors] = "--enable-libsensors,--disable-libsensors, lmsensors"
PACKAGECONFIG[hddtemp] = "--enable-hddtemp,--disable-hddtemp, hddtemp"
PACKAGECONFIG[netcat] = "--enable-netcat,--disable-netcat, netcat"
@@ -10,7 +10,7 @@ REQUIRED_DISTRO_FEATURES = "x11"
SRC_URI[sha256sum] = "d2c0e719b242b7fd3db70bc6678a2df1abf2cfaa899b775a1591a5efa08a547d"
PACKAGECONFIG ??= ""
PACKAGECONFIG ??= "notify"
PACKAGECONFIG[notify] = "--enable-notifications,--disable-notifications,libnotify"
RDEPENDS:${PN} = "eject"
@@ -14,6 +14,7 @@ SRC_URI[sha256sum] = "4dd7cb420860535e687f673c0b5c0274e0d2fb67181281d4b85be9197d
EXTRA_OECONF += "--enable-maintainer-mode --disable-debug"
PACKAGECONFIG ??= " \
notify \
${@bb.utils.contains('DISTRO_FEATURES','alsa','sound-setter', bb.utils.contains('DISTRO_FEATURES','pulseaudio','sound-setter','',d),d)} \
"
PACKAGECONFIG[notify] = "--enable-libnotify,--disable-libnotify,libnotify"
@@ -10,7 +10,7 @@ REQUIRED_DISTRO_FEATURES = "x11"
SRC_URI[sha256sum] = "934ba5affecff21e62d9fac1dd50c50cd94b3a807fefa5f5bff59f3d6f155bae"
PACKAGECONFIG ??= ""
PACKAGECONFIG ??= "notify"
PACKAGECONFIG[notify] = "--enable-notifications,--disable-notifications,libnotify"
FILES:${PN} += "${datadir}/backgrounds"