Andrew Geissler | 595f630 | 2022-01-24 19:11:47 +0000 | [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 | glib-2.0-native \ |
| 7 | libxslt-native \ |
| 8 | acl \ |
| 9 | libatasmart \ |
| 10 | polkit \ |
| 11 | libgudev \ |
| 12 | glib-2.0 \ |
| 13 | dbus-glib \ |
| 14 | libblockdev \ |
| 15 | " |
| 16 | DEPENDS += "${@bb.utils.filter('DISTRO_FEATURES', 'systemd', d)}" |
| 17 | |
| 18 | RDEPENDS:${PN} = "acl" |
| 19 | |
| 20 | SRC_URI = "git://github.com/storaged-project/udisks.git;branch=2.9.x-branch;protocol=https" |
| 21 | SRCREV = "001c486e6d099ed33e2de4f5c73c03e3ee180f81" |
| 22 | S = "${WORKDIR}/git" |
| 23 | |
| 24 | CVE_PRODUCT = "udisks" |
| 25 | |
| 26 | inherit autotools-brokensep systemd gtk-doc gobject-introspection gettext features_check |
| 27 | |
| 28 | REQUIRED_DISTRO_FEATURES = "polkit" |
| 29 | |
| 30 | EXTRA_OECONF = "--disable-man --disable-gtk-doc" |
| 31 | |
| 32 | do_configure:prepend() { |
| 33 | # | configure.ac:656: error: required file 'build-aux/config.rpath' not found |
| 34 | mkdir -p ${S}/build-aux |
| 35 | touch ${S}/build-aux/config.rpath |
| 36 | } |
| 37 | |
| 38 | FILES:${PN} += " \ |
| 39 | ${datadir}/dbus-1/ \ |
| 40 | ${datadir}/polkit-1 \ |
| 41 | ${datadir}/bash-completion \ |
| 42 | ${libdir}/polkit-1/extensions/*.so \ |
| 43 | ${nonarch_base_libdir}/udev/* \ |
| 44 | ${exec_prefix}${nonarch_base_libdir}/udisks2/* \ |
| 45 | ${systemd_system_unitdir} \ |
| 46 | " |
| 47 | |
| 48 | PACKAGES =+ "${PN}-libs" |
| 49 | FILES:${PN}-libs = "${libdir}/lib*${SOLIBS}" |
| 50 | FILES:${PN} += "${nonarch_libdir}/tmpfiles.d" |
| 51 | |
| 52 | SYSTEMD_SERVICE:${PN} = "${BPN}.service" |
| 53 | SYSTEMD_AUTO_ENABLE = "disable" |