blob: ec13cfa26b7a6deb07464d2e857da5c281bbb879 [file] [log] [blame]
Andrew Geissler595f6302022-01-24 19:11:47 +00001SUMMARY = "udisks provides dbus interfaces for disks and storage devices"
2LICENSE = "GPLv2+ & LGPLv2+"
3LIC_FILES_CHKSUM = "file://COPYING;md5=dd79f6dbbffdbc8e86b086a8f0c0ef43"
4
5DEPENDS = " \
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"
16DEPENDS += "${@bb.utils.filter('DISTRO_FEATURES', 'systemd', d)}"
17
18RDEPENDS:${PN} = "acl"
19
20SRC_URI = "git://github.com/storaged-project/udisks.git;branch=2.9.x-branch;protocol=https"
21SRCREV = "001c486e6d099ed33e2de4f5c73c03e3ee180f81"
22S = "${WORKDIR}/git"
23
24CVE_PRODUCT = "udisks"
25
26inherit autotools-brokensep systemd gtk-doc gobject-introspection gettext features_check
27
28REQUIRED_DISTRO_FEATURES = "polkit"
29
30EXTRA_OECONF = "--disable-man --disable-gtk-doc"
31
32do_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
38FILES:${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
48PACKAGES =+ "${PN}-libs"
49FILES:${PN}-libs = "${libdir}/lib*${SOLIBS}"
50FILES:${PN} += "${nonarch_libdir}/tmpfiles.d"
51
52SYSTEMD_SERVICE:${PN} = "${BPN}.service"
53SYSTEMD_AUTO_ENABLE = "disable"