Brad Bishop | 1932369 | 2019-04-05 15:28:33 -0400 | [diff] [blame] | 1 | SUMMARY = "GTK+ applet for NetworkManager" |
| 2 | LICENSE = "GPLv2" |
| 3 | LIC_FILES_CHKSUM = "file://COPYING;md5=59530bdf33659b29e73d4adb9f9f6552" |
| 4 | |
Brad Bishop | c8f4712 | 2019-06-24 09:36:18 -0400 | [diff] [blame] | 5 | DEPENDS = "gtk+3 libnotify libsecret networkmanager \ |
Brad Bishop | 26bdd44 | 2019-08-16 17:08:17 -0400 | [diff] [blame^] | 6 | libgnome-keyring iso-codes nss \ |
Brad Bishop | 1932369 | 2019-04-05 15:28:33 -0400 | [diff] [blame] | 7 | intltool-native \ |
| 8 | " |
| 9 | |
| 10 | GNOMEBASEBUILDCLASS = "autotools-brokensep" |
Brad Bishop | 26bdd44 | 2019-08-16 17:08:17 -0400 | [diff] [blame^] | 11 | inherit distro_features_check gnomebase gsettings gtk-icon-cache gobject-introspection gettext |
Brad Bishop | 1932369 | 2019-04-05 15:28:33 -0400 | [diff] [blame] | 12 | |
| 13 | REQUIRED_DISTRO_FEATURES = "x11" |
| 14 | |
Brad Bishop | 26bdd44 | 2019-08-16 17:08:17 -0400 | [diff] [blame^] | 15 | SRC_URI[archive.md5sum] = "e0373f4c0d0637716e6e385799a9080f" |
| 16 | SRC_URI[archive.sha256sum] = "ebef1c1050ff6d94cad060e8d259f2a88ae159cf83ca75cb71d9f76867877eed" |
Brad Bishop | 1932369 | 2019-04-05 15:28:33 -0400 | [diff] [blame] | 17 | |
| 18 | PACKAGECONFIG[modemmanager] = "--with-wwan,--without-wwan,modemmanager" |
| 19 | PACKAGECONFIG[mobile-provider-info] = "--enable-mobile-broadband-provider-info,--disable-mobile-broadband-provider-info,mobile-broadband-provider-info,mobile-broadband-provider-info" |
| 20 | PACKAGECONFIG ??= "" |
| 21 | |
| 22 | EXTRA_OECONF = " \ |
| 23 | --without-selinux \ |
| 24 | " |
| 25 | |
Brad Bishop | 1932369 | 2019-04-05 15:28:33 -0400 | [diff] [blame] | 26 | # gobject-introspection related |
| 27 | GI_DATA_ENABLED_libc-musl = "False" |
| 28 | |
| 29 | do_compile_prepend() { |
Brad Bishop | c8f4712 | 2019-06-24 09:36:18 -0400 | [diff] [blame] | 30 | export GIR_EXTRA_LIBS_PATH="${B}/src/libnma/.libs" |
Brad Bishop | 1932369 | 2019-04-05 15:28:33 -0400 | [diff] [blame] | 31 | } |
| 32 | |
| 33 | RDEPENDS_${PN} =+ "networkmanager" |
| 34 | |
| 35 | FILES_${PN} += " \ |
| 36 | ${datadir}/nm-applet/ \ |
Brad Bishop | 1932369 | 2019-04-05 15:28:33 -0400 | [diff] [blame] | 37 | ${datadir}/libnma/wifi.ui \ |
| 38 | ${datadir}/metainfo \ |
| 39 | " |
| 40 | |
| 41 | # musl builds generate gir files which otherwise go un-packaged |
| 42 | FILES_${PN}-dev += " \ |
| 43 | ${datadir}/gir-1.0 \ |
| 44 | " |