blob: ecaf01e71d038919a2b41afef5f21433c8809170 [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 \
Brad Bishopc342db32019-05-15 21:57:59 -040021"
Brad Bishope42b3e32020-01-15 22:08:42 -050022PV = "2.8.4+git${SRCREV}"
23SRCREV = "db5f487345da2eaa87976450ea51c2c465d9b82e"
Brad Bishopc342db32019-05-15 21:57:59 -040024S = "${WORKDIR}/git"
25
26CVE_PRODUCT = "udisks"
27
Brad Bishop8410d612019-11-25 09:40:59 -050028inherit autotools systemd gtk-doc gobject-introspection gettext features_check
Brad Bishopc342db32019-05-15 21:57:59 -040029
30REQUIRED_DISTRO_FEATURES = "polkit"
31
32EXTRA_OECONF = "--disable-man --disable-gtk-doc"
33
34do_configure_prepend() {
35 # | configure.ac:656: error: required file 'build-aux/config.rpath' not found
36 mkdir -p ${S}/build-aux
37 touch ${S}/build-aux/config.rpath
38}
39
40FILES_${PN} += " \
41 ${datadir}/dbus-1/ \
42 ${datadir}/polkit-1 \
43 ${datadir}/bash-completion \
44 ${libdir}/polkit-1/extensions/*.so \
45 ${nonarch_base_libdir}/udev/* \
46 ${exec_prefix}${nonarch_base_libdir}/udisks2/* \
47 ${systemd_system_unitdir} \
48"
49
50PACKAGES =+ "${PN}-libs"
51FILES_${PN}-libs = "${libdir}/lib*${SOLIBS}"
Brad Bishope42b3e32020-01-15 22:08:42 -050052FILES_${PN} += "${nonarch_libdir}/tmpfiles.d"
Brad Bishopc342db32019-05-15 21:57:59 -040053
54SYSTEMD_SERVICE_${PN} = "${BPN}.service"
55SYSTEMD_AUTO_ENABLE = "disable"