libreport: add PACKCONFIG for gtk

needed when no X11 in DISTRO_FEATURES

[V2]
fix typo in PACKAGECONFIG

Signed-off-by: Armin Kuster <akuster808@gmail.com>
This commit is contained in:
Armin Kuster
2018-04-09 08:18:37 -07:00
parent ef3aae15b0
commit e32313fab9
@@ -5,7 +5,7 @@ HOMEPAGE = "https://abrt.readthedocs.org/"
LICENSE = "GPLv2+"
DEPENDS = "xmlrpc-c xmlrpc-c-native intltool-native \
json-c libtar libnewt libproxy rpm \
augeas satyr systemd gtk+3 \
augeas satyr systemd \
"
LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe"
@@ -26,6 +26,9 @@ REQUIRED_DISTRO_FEATURES = "systemd"
inherit gettext autotools python3native pkgconfig
PACKAGECONFIG ??= "${@bb.utils.contains('DISTRO_FEATURES','x11','gtk','',d)}"
PACKAGECONFIG[gtk] = "--with-gtk, --without-gtk, gtk+3,"
RDEPENDS_python3-libreport += "${PN}"
do_patch[prefuncs] += "do_gen_version"