blob: fff7d25d8d5480902d82a13af51216dd731a0111 [file] [log] [blame]
Andrew Geissler7e0e3c02022-02-25 20:34:39 +00001SUMMARY = "NetworkManager GUI library"
Andrew Geissler9aee5002022-03-30 16:27:02 +00002LICENSE = "GPL-2.0-only"
Andrew Geissler7e0e3c02022-02-25 20:34:39 +00003LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263"
4
Patrick Williamsde0582f2022-04-08 10:23:27 -05005DEPENDS = "glib-2.0 gtk+3 gtk4 networkmanager"
Andrew Geissler7e0e3c02022-02-25 20:34:39 +00006
7GNOMEBASEBUILDCLASS = "meson"
8inherit gnomebase gobject-introspection gtk-doc gettext vala features_check
9
10REQUIRED_DISTRO_FEATURES = "${@bb.utils.contains('PACKAGECONFIG','gcr','x11','',d)}"
11ANY_OF_DISTRO_FEATURES = "${GTK3DISTROFEATURES}"
12
Patrick Williamsde0582f2022-04-08 10:23:27 -050013SRC_URI[archive.sha256sum] = "d99415f4cdff642230019ec5cdd2b1fbf1ec550a8ae865219f75482a642b7b7a"
Andrew Geissler7e0e3c02022-02-25 20:34:39 +000014
15PACKAGECONFIG ?= "gcr iso_codes mobile_broadband_provider_info"
16PACKAGECONFIG[gcr] = "-Dgcr=true,-Dgcr=false,gcr"
17PACKAGECONFIG[iso_codes] = "-Diso_codes=true,-Diso_codes=false,iso-codes,iso-codes"
18PACKAGECONFIG[mobile_broadband_provider_info] = "-Dmobile_broadband_provider_info=true,-Dmobile_broadband_provider_info=false,mobile-broadband-provider-info,mobile-broadband-provider-info"
19
Patrick Williamsde0582f2022-04-08 10:23:27 -050020# for gnome-control-center >= 42
21EXTRA_OEMESON = "-Dlibnma_gtk4=true"
22
Andrew Geissler7e0e3c02022-02-25 20:34:39 +000023# go introspection is not supported for mipsn32/riscv32, but vapi needs it
24#
25EXTRA_OEMESON:append:mipsarchn32 = " -Dvapi=false"
26EXTRA_OEMESON:append:riscv32 = " -Dvapi=false"
27EXTRA_OEMESON:append:powerpc64le = " -Dvapi=false"
28
29GTKDOC_MESON_OPTION = "gtk_doc"