]> code.ossystems Code Review - openembedded-core.git/commit
libnotify: Make gtk+3 dependency optional
authorMike Crowe <mac@mcrowe.com>
Fri, 14 May 2021 10:38:00 +0000 (11:38 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sun, 16 May 2021 07:29:56 +0000 (08:29 +0100)
commitda15d7cf3e6f31c92232f8dd7272ea9ee41656db
tree99e82d5863521e78e4283ae799e5971cb4b107f6
parent63da9a4f889c5b0e41bc8ec08abe0acea1546479
libnotify: Make gtk+3 dependency optional

libnotify only requires gtk+3 for its tests. Let's disable them by
default and only enable them if "tests" is in PACKAGECONFIG. If gtk+3 is
not available then we need to declare the dependency on gdk-pixbuf
explicitly.

It looks like the tests genuinely do need some sort of desktop
environment to run, so let's maintain the ANY_OF_DISTRO_FEATURES check
added back in 3edf08b38b0af93cef0933b061349264dc86d54c.

Signed-off-by: Mike Crowe <mac@mcrowe.com>
Cc: Khem Raj <raj.khem@gmail.com>
Cc: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-gnome/libnotify/libnotify_0.7.9.bb