Andrew Geissler | 595f630 | 2022-01-24 19:11:47 +0000 | [diff] [blame] | 1 | SUMMARY = "udisks provides dbus interfaces for disks and storage devices" |
Andrew Geissler | 9aee500 | 2022-03-30 16:27:02 +0000 | [diff] [blame] | 2 | LICENSE = "GPL-2.0-or-later & LGPL-2.0-or-later" |
Andrew Geissler | 595f630 | 2022-01-24 19:11:47 +0000 | [diff] [blame] | 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 | |
Andrew Geissler | 220dafd | 2023-10-04 10:18:08 -0500 | [diff] [blame] | 20 | SRC_URI = " \ |
| 21 | git://github.com/storaged-project/udisks.git;branch=2.10.x-branch;protocol=https \ |
| 22 | file://0001-Makefile.am-Dont-include-buildpath.patch \ |
| 23 | " |
| 24 | SRCREV = "18c9faf089e306ad6f3f51f5cb887a6b9aa08350" |
Andrew Geissler | 595f630 | 2022-01-24 19:11:47 +0000 | [diff] [blame] | 25 | S = "${WORKDIR}/git" |
| 26 | |
| 27 | CVE_PRODUCT = "udisks" |
| 28 | |
| 29 | inherit autotools-brokensep systemd gtk-doc gobject-introspection gettext 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 | |
Patrick Williams | 8e7b46e | 2023-05-01 14:19:06 -0500 | [diff] [blame] | 41 | PACKAGECONFIG ?= "" |
| 42 | |
| 43 | PACKAGECONFIG[lvm2] = "--enable-lvm2,--disable-lvm2,lvm2" |
| 44 | PACKAGECONFIG[btrfs] = "--enable-btrfs,--disable-btrfs,,btrfs-tools" |
| 45 | PACKAGECONFIG[lsm] = "--enable-lsm,--disable-lsm,libstoragemgmt" |
| 46 | |
Andrew Geissler | 595f630 | 2022-01-24 19:11:47 +0000 | [diff] [blame] | 47 | FILES:${PN} += " \ |
| 48 | ${datadir}/dbus-1/ \ |
| 49 | ${datadir}/polkit-1 \ |
| 50 | ${datadir}/bash-completion \ |
Andrew Geissler | 220dafd | 2023-10-04 10:18:08 -0500 | [diff] [blame] | 51 | ${datadir}/zsh \ |
Andrew Geissler | 595f630 | 2022-01-24 19:11:47 +0000 | [diff] [blame] | 52 | ${libdir}/polkit-1/extensions/*.so \ |
| 53 | ${nonarch_base_libdir}/udev/* \ |
| 54 | ${exec_prefix}${nonarch_base_libdir}/udisks2/* \ |
| 55 | ${systemd_system_unitdir} \ |
| 56 | " |
| 57 | |
| 58 | PACKAGES =+ "${PN}-libs" |
| 59 | FILES:${PN}-libs = "${libdir}/lib*${SOLIBS}" |
| 60 | FILES:${PN} += "${nonarch_libdir}/tmpfiles.d" |
| 61 | |
| 62 | SYSTEMD_SERVICE:${PN} = "${BPN}.service" |
| 63 | SYSTEMD_AUTO_ENABLE = "disable" |