blob: 3f2130ecda9050b75abe2c0417c702c9fa85aef1 [file] [log] [blame]
Brad Bishop19323692019-04-05 15:28:33 -04001SUMMARY = "udisks provides dbus interfaces for disks and storage devices"
2LICENSE = "GPLv2+ & LGPLv2+"
3LIC_FILES_CHKSUM = "file://COPYING;md5=dd79f6dbbffdbc8e86b086a8f0c0ef43"
4
5DEPENDS = " \
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"
17DEPENDS += "${@bb.utils.filter('DISTRO_FEATURES', 'systemd', d)}"
18
19RDEPENDS_${PN} = "acl"
20
21SRC_URI = " \
22 git://github.com/storaged-project/udisks.git;branch=master \
23 file://non-gnu-libc.patch \
24"
25SRCREV = "05ae471be3c2adf2255b3a01edb00bba06e02afb"
26S = "${WORKDIR}/git"
27
28CVE_PRODUCT = "udisks"
29
30inherit autotools systemd gtk-doc gobject-introspection distro_features_check
31
32REQUIRED_DISTRO_FEATURES = "polkit"
33
34EXTRA_OECONF = "--disable-man --disable-gtk-doc"
35
36FILES_${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
46PACKAGES =+ "${PN}-libs"
47FILES_${PN}-libs = "${libdir}/lib*${SOLIBS}"
48
49SYSTEMD_SERVICE_${PN} = "${BPN}.service"
50SYSTEMD_AUTO_ENABLE = "disable"