Brad Bishop | 1932369 | 2019-04-05 15:28:33 -0400 | [diff] [blame] | 1 | SUMMARY = "udisks provides dbus interfaces for disks and storage devices" |
| 2 | LICENSE = "GPLv2+ & LGPLv2+" |
| 3 | LIC_FILES_CHKSUM = "file://COPYING;md5=dd79f6dbbffdbc8e86b086a8f0c0ef43" |
| 4 | |
| 5 | DEPENDS = " \ |
| 6 | acl \ |
| 7 | libatasmart \ |
| 8 | polkit \ |
| 9 | libgudev \ |
| 10 | dbus-glib \ |
| 11 | glib-2.0 \ |
| 12 | libblockdev \ |
| 13 | intltool-native \ |
| 14 | gnome-common-native \ |
| 15 | libxslt-native \ |
| 16 | " |
| 17 | DEPENDS += "${@bb.utils.filter('DISTRO_FEATURES', 'systemd', d)}" |
| 18 | |
| 19 | RDEPENDS_${PN} = "acl" |
| 20 | |
| 21 | SRC_URI = " \ |
| 22 | git://github.com/storaged-project/udisks.git;branch=master \ |
| 23 | file://non-gnu-libc.patch \ |
| 24 | " |
| 25 | SRCREV = "05ae471be3c2adf2255b3a01edb00bba06e02afb" |
| 26 | S = "${WORKDIR}/git" |
| 27 | |
| 28 | CVE_PRODUCT = "udisks" |
| 29 | |
| 30 | inherit autotools systemd gtk-doc gobject-introspection distro_features_check |
| 31 | |
| 32 | REQUIRED_DISTRO_FEATURES = "polkit" |
| 33 | |
| 34 | EXTRA_OECONF = "--disable-man --disable-gtk-doc" |
| 35 | |
| 36 | FILES_${PN} += " \ |
| 37 | ${datadir}/dbus-1/ \ |
| 38 | ${datadir}/polkit-1 \ |
| 39 | ${datadir}/bash-completion \ |
| 40 | ${libdir}/polkit-1/extensions/*.so \ |
| 41 | ${nonarch_base_libdir}/udev/* \ |
| 42 | ${exec_prefix}${nonarch_base_libdir}/udisks2/* \ |
| 43 | ${systemd_system_unitdir} \ |
| 44 | " |
| 45 | |
| 46 | PACKAGES =+ "${PN}-libs" |
| 47 | FILES_${PN}-libs = "${libdir}/lib*${SOLIBS}" |
| 48 | |
| 49 | SYSTEMD_SERVICE_${PN} = "${BPN}.service" |
| 50 | SYSTEMD_AUTO_ENABLE = "disable" |