Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame^] | 1 | SUMMARY = "GTK+ applet for NetworkManager" |
| 2 | LICENSE = "GPLv2" |
| 3 | LIC_FILES_CHKSUM = "file://COPYING;md5=59530bdf33659b29e73d4adb9f9f6552" |
| 4 | |
| 5 | DEPENDS = "gtk+3 libnotify libsecret networkmanager dbus-glib gconf libgnome-keyring iso-codes nss" |
| 6 | |
| 7 | inherit gnomebase gsettings gtk-icon-cache gobject-introspection |
| 8 | |
| 9 | GNOME_COMPRESS_TYPE = "xz" |
| 10 | |
| 11 | SRC_URI[archive.md5sum] = "86b17e1bf1a37c649874883b587c6db6" |
| 12 | SRC_URI[archive.sha256sum] = "b045ac3eaa68ccbbefe91510ad67b4002a7e09d1e5ce1c4bf9a67619bd2cf0eb" |
| 13 | |
| 14 | PACKAGECONFIG[bluetooth] = "--with-bluetooth,--without-bluetooth,gnome-bluetooth,gnome-bluetooth" |
| 15 | PACKAGECONFIG[modemmanager] = "--with-modem-manager-1,--without-modem-manager-1,modemmanager" |
| 16 | PACKAGECONFIG ??= "" |
| 17 | |
| 18 | do_configure_append() { |
| 19 | # Sigh... --enable-compile-warnings=no doesn't actually turn off -Werror |
| 20 | for i in $(find ${B} -name "Makefile") ; do |
| 21 | sed -i -e s:-Werror::g $i |
| 22 | done |
| 23 | } |
| 24 | |
| 25 | RDEPENDS_${PN} =+ "networkmanager" |
| 26 | |
| 27 | FILES_${PN} += " \ |
| 28 | ${datadir}/appdata \ |
| 29 | ${datadir}/nm-applet/ \ |
| 30 | ${datadir}/libnm-gtk/wifi.ui \ |
| 31 | " |
| 32 | |
| 33 | FILES_${PN} += "${libdir}/gnome-bluetooth/plugins/*.so" |
| 34 | FILES_${PN}-dev += "${libdir}/gnome-bluetooth/plugins/libnma.la" |
| 35 | FILES_${PN}-staticdev += "${libdir}/gnome-bluetooth/plugins/libnma.a" |
| 36 | FILES_${PN}-dbg += "${libdir}/gnome-bluetooth/plugins/.debug/" |