blob: bff9a3360f094a177dde93bb6d6da538ccada72e [file] [log] [blame]
Andrew Geissler517393d2023-01-13 08:55:19 -06001SUMMARY = "NetworkManager GUI library"
2LICENSE = "GPL-2.0-only"
3LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263"
4
5DEPENDS = "glib-2.0 gtk+3 gtk4 networkmanager"
6
7GNOMEBASEBUILDCLASS = "meson"
8inherit gnomebase gobject-introspection gtk-doc gettext vala features_check
9
10REQUIRED_DISTRO_FEATURES = "${@bb.utils.contains('PACKAGECONFIG','gcr','x11','',d)} opengl"
11ANY_OF_DISTRO_FEATURES = "${GTK3DISTROFEATURES}"
12
Andrew Geisslerc5535c92023-01-27 16:10:19 -060013SRC_URI[archive.sha256sum] = "53a6fb2b190ad37c5986caed3e98bede7c3c602399ee4f93c8fc054303d76dab"
Andrew Geissler517393d2023-01-13 08:55:19 -060014
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
20# for gnome-control-center >= 42
21EXTRA_OEMESON = "-Dlibnma_gtk4=true"
22
23# 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"