]> code.ossystems Code Review - openembedded-core.git/commit
avahi-ui: use PACKAGECONFIG for gtk features
authorJackie Huang <jackie.huang@windriver.com>
Tue, 26 Jul 2016 01:54:57 +0000 (21:54 -0400)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 28 Jul 2016 20:30:16 +0000 (21:30 +0100)
commitbb44ef79c1ea9fb1d2e37978bcf964e62caaf4cd
tree130fe88c02828ba72ebe1371fdbdeb9040ee13b5
parenteeb0a912145f8f849d56c04e38616d12ca8be21e
avahi-ui: use PACKAGECONFIG for gtk features

The commit "054ea20 avahi-ui: Build with Gtk+3"
enabled gtk3 and disabled gtk2, which causes failure on
some package depends on gtk2, like gnome-disk-utility
in meta-openembedded/meta-gnome:

| checking for GTK2... yes
| checking for AVAHI_UI... no
| configure: error: Package requirements (avahi-ui >= 0.6.25) were not met:
|
| No package 'avahi-ui' found

The gtk2 and gtk3 feature for avahi-ui is not exclusive, so change
to use PACKAGECONFIG for them so we can easily enable/disable one
of them or both of them as needed.

Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
meta/recipes-connectivity/avahi/avahi-ui_0.6.32.bb
meta/recipes-connectivity/avahi/avahi.inc