Brad Bishop | c342db3 | 2019-05-15 21:57:59 -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 | libxslt-native \ |
| 14 | " |
| 15 | DEPENDS += "${@bb.utils.filter('DISTRO_FEATURES', 'systemd', d)}" |
| 16 | |
| 17 | RDEPENDS_${PN} = "acl" |
| 18 | |
| 19 | SRC_URI = " \ |
| 20 | git://github.com/storaged-project/udisks.git;branch=master \ |
| 21 | file://non-gnu-libc.patch \ |
| 22 | " |
| 23 | PV = "2.8.2" |
| 24 | SRCREV = "7a787aa3b340fc7f1ca72d748635d6c5445edc58" |
| 25 | S = "${WORKDIR}/git" |
| 26 | |
| 27 | CVE_PRODUCT = "udisks" |
| 28 | |
| 29 | inherit autotools systemd gtk-doc gobject-introspection gettext distro_features_check |
| 30 | |
| 31 | REQUIRED_DISTRO_FEATURES = "polkit" |
| 32 | |
| 33 | EXTRA_OECONF = "--disable-man --disable-gtk-doc" |
| 34 | |
| 35 | do_configure_prepend() { |
| 36 | # | configure.ac:656: error: required file 'build-aux/config.rpath' not found |
| 37 | mkdir -p ${S}/build-aux |
| 38 | touch ${S}/build-aux/config.rpath |
| 39 | } |
| 40 | |
| 41 | FILES_${PN} += " \ |
| 42 | ${datadir}/dbus-1/ \ |
| 43 | ${datadir}/polkit-1 \ |
| 44 | ${datadir}/bash-completion \ |
| 45 | ${libdir}/polkit-1/extensions/*.so \ |
| 46 | ${nonarch_base_libdir}/udev/* \ |
| 47 | ${exec_prefix}${nonarch_base_libdir}/udisks2/* \ |
| 48 | ${systemd_system_unitdir} \ |
| 49 | " |
| 50 | |
| 51 | PACKAGES =+ "${PN}-libs" |
| 52 | FILES_${PN}-libs = "${libdir}/lib*${SOLIBS}" |
| 53 | |
| 54 | SYSTEMD_SERVICE_${PN} = "${BPN}.service" |
| 55 | SYSTEMD_AUTO_ENABLE = "disable" |