blob: f0aad95384eff6ae44dddd23a41bde16f4e9ee23 [file] [log] [blame]
Brad Bishopc342db32019-05-15 21:57:59 -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 libxslt-native \
14"
15DEPENDS += "${@bb.utils.filter('DISTRO_FEATURES', 'systemd', d)}"
16
17RDEPENDS_${PN} = "acl"
18
19SRC_URI = " \
20 git://github.com/storaged-project/udisks.git;branch=master \
21 file://non-gnu-libc.patch \
22"
23PV = "2.8.2"
24SRCREV = "7a787aa3b340fc7f1ca72d748635d6c5445edc58"
25S = "${WORKDIR}/git"
26
27CVE_PRODUCT = "udisks"
28
Brad Bishop8410d612019-11-25 09:40:59 -050029inherit autotools systemd gtk-doc gobject-introspection gettext features_check
Brad Bishopc342db32019-05-15 21:57:59 -040030
31REQUIRED_DISTRO_FEATURES = "polkit"
32
33EXTRA_OECONF = "--disable-man --disable-gtk-doc"
34
35do_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
41FILES_${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
51PACKAGES =+ "${PN}-libs"
52FILES_${PN}-libs = "${libdir}/lib*${SOLIBS}"
53
54SYSTEMD_SERVICE_${PN} = "${BPN}.service"
55SYSTEMD_AUTO_ENABLE = "disable"