blob: 196198c52bda3832bfbdf6fe18a6fd2af6fb9cc5 [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 = " \
Andrew Geisslerbffdb3e2020-08-21 16:13:29 -05006 glib-2.0-native \
7 libxslt-native \
Brad Bishopc342db32019-05-15 21:57:59 -04008 acl \
9 libatasmart \
10 polkit \
11 libgudev \
Brad Bishopc342db32019-05-15 21:57:59 -040012 glib-2.0 \
Andrew Geisslerbffdb3e2020-08-21 16:13:29 -050013 dbus-glib \
Brad Bishopc342db32019-05-15 21:57:59 -040014 libblockdev \
Brad Bishopc342db32019-05-15 21:57:59 -040015"
16DEPENDS += "${@bb.utils.filter('DISTRO_FEATURES', 'systemd', d)}"
17
18RDEPENDS_${PN} = "acl"
19
20SRC_URI = " \
21 git://github.com/storaged-project/udisks.git;branch=master \
Brad Bishopc342db32019-05-15 21:57:59 -040022"
Andrew Geisslerbffdb3e2020-08-21 16:13:29 -050023PV = "2.9.1"
24SRCREV = "95444ab6bf2b8d8c205b540dded4029fcb15f91b"
Brad Bishopc342db32019-05-15 21:57:59 -040025S = "${WORKDIR}/git"
26
27CVE_PRODUCT = "udisks"
28
Andrew Geisslerbffdb3e2020-08-21 16:13:29 -050029inherit autotools-brokensep 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}"
Brad Bishope42b3e32020-01-15 22:08:42 -050053FILES_${PN} += "${nonarch_libdir}/tmpfiles.d"
Brad Bishopc342db32019-05-15 21:57:59 -040054
55SYSTEMD_SERVICE_${PN} = "${BPN}.service"
56SYSTEMD_AUTO_ENABLE = "disable"