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