Andrew Geissler | 82c905d | 2020-04-13 13:39:40 -0500 | [diff] [blame] | 1 | SUMMARY = "GNOME bluetooth manager" |
Andrew Geissler | 9aee500 | 2022-03-30 16:27:02 +0000 | [diff] [blame] | 2 | LICENSE = "GPL-2.0-only & LGPL-2.1-only" |
Andrew Geissler | 82c905d | 2020-04-13 13:39:40 -0500 | [diff] [blame] | 3 | LIC_FILES_CHKSUM = "file://COPYING;md5=eb723b61539feef013de476e68b5c50a \ |
| 4 | file://COPYING.LIB;md5=a6f89e2100d9b6cdffcea4f398e37343 \ |
| 5 | " |
| 6 | |
| 7 | SECTION = "x11/gnome" |
| 8 | |
| 9 | DEPENDS = "udev gtk+3 libnotify libcanberra bluez5" |
| 10 | |
Patrick Williams | 03907ee | 2022-05-01 06:28:52 -0500 | [diff] [blame] | 11 | GNOMEBN = "gnome-bluetooth" |
| 12 | S = "${WORKDIR}/${GNOMEBN}-${PV}" |
| 13 | |
Andrew Geissler | 82c905d | 2020-04-13 13:39:40 -0500 | [diff] [blame] | 14 | GTKDOC_MESON_OPTION = "gtk_doc" |
| 15 | |
| 16 | inherit features_check gnomebase gtk-icon-cache gtk-doc gobject-introspection upstream-version-is-even |
| 17 | |
| 18 | REQUIRED_DISTRO_FEATURES = "x11" |
| 19 | |
| 20 | # gtk-icon-cache bbclass will take care of this for us. |
| 21 | EXTRA_OEMESON = "-Dicon_update=false" |
| 22 | |
Andrew Geissler | 595f630 | 2022-01-24 19:11:47 +0000 | [diff] [blame] | 23 | SRC_URI += " file://0001-build-Fix-build-for-newer-versions-of-meson.patch" |
William A. Kennington III | b95905d | 2021-06-02 12:40:56 -0700 | [diff] [blame] | 24 | SRC_URI[archive.md5sum] = "d83faa54abaf64bb40b5313bc233e74e" |
| 25 | SRC_URI[archive.sha256sum] = "6c949e52c8becc2054daacd604901f66ce5cf709a5fa91c4bb7cacc939b53ea9" |
Andrew Geissler | 82c905d | 2020-04-13 13:39:40 -0500 | [diff] [blame] | 26 | |
Patrick Williams | 03907ee | 2022-05-01 06:28:52 -0500 | [diff] [blame] | 27 | # avoid clashes with gnome-bluetooth |
| 28 | do_install:append() { |
| 29 | # just bluetooth-sendto / bluetooth-sendto.desktop only |
| 30 | rm -rf ${D}${bindir} |
| 31 | rm -rf ${D}${datadir}/applications |
| 32 | } |
| 33 | |
| 34 | FILES:${PN} += "${datadir}/gnome-bluetooth" |
| 35 | |
| 36 | # offer alternate bluetooth-sendto |
| 37 | RRECOMMENS:${PN} += "gnome-bluetooth" |
| 38 | |
Patrick Williams | 213cb26 | 2021-08-07 19:21:33 -0500 | [diff] [blame] | 39 | RDEPENDS:${PN} += "bluez5" |