2018-11-09 03:51:07 +00:00
|
|
|
SUMMARY = "udisks provides dbus interfaces for disks and storage devices"
|
|
|
|
LICENSE = "GPLv2+ & LGPLv2+"
|
|
|
|
LIC_FILES_CHKSUM = "file://COPYING;md5=dd79f6dbbffdbc8e86b086a8f0c0ef43"
|
|
|
|
|
|
|
|
DEPENDS = " \
|
|
|
|
acl \
|
|
|
|
libatasmart \
|
|
|
|
polkit \
|
|
|
|
libgudev \
|
|
|
|
dbus-glib \
|
|
|
|
glib-2.0 \
|
|
|
|
libblockdev \
|
|
|
|
libxslt-native \
|
|
|
|
"
|
|
|
|
DEPENDS += "${@bb.utils.filter('DISTRO_FEATURES', 'systemd', d)}"
|
|
|
|
|
|
|
|
RDEPENDS_${PN} = "acl"
|
|
|
|
|
|
|
|
SRC_URI = " \
|
2020-07-08 14:42:25 +00:00
|
|
|
git://github.com/storaged-project/udisks.git;branch=master \
|
2018-11-09 03:51:07 +00:00
|
|
|
"
|
2020-07-08 14:42:25 +00:00
|
|
|
PV = "2.8.4+git${SRCREV}"
|
|
|
|
SRCREV = "db5f487345da2eaa87976450ea51c2c465d9b82e"
|
2018-11-09 03:51:07 +00:00
|
|
|
S = "${WORKDIR}/git"
|
|
|
|
|
|
|
|
CVE_PRODUCT = "udisks"
|
|
|
|
|
2020-07-08 14:42:25 +00:00
|
|
|
inherit autotools systemd gtk-doc gobject-introspection gettext
|
|
|
|
|
2018-11-09 03:51:07 +00:00
|
|
|
|
|
|
|
EXTRA_OECONF = "--disable-man --disable-gtk-doc"
|
|
|
|
|
2020-07-08 14:42:25 +00:00
|
|
|
do_configure_prepend() {
|
|
|
|
# | configure.ac:656: error: required file 'build-aux/config.rpath' not found
|
|
|
|
mkdir -p ${S}/build-aux
|
|
|
|
touch ${S}/build-aux/config.rpath
|
|
|
|
}
|
|
|
|
|
2018-11-09 03:51:07 +00:00
|
|
|
FILES_${PN} += " \
|
|
|
|
${datadir}/dbus-1/ \
|
|
|
|
${datadir}/polkit-1 \
|
|
|
|
${datadir}/bash-completion \
|
|
|
|
${libdir}/polkit-1/extensions/*.so \
|
|
|
|
${nonarch_base_libdir}/udev/* \
|
|
|
|
${exec_prefix}${nonarch_base_libdir}/udisks2/* \
|
|
|
|
${systemd_system_unitdir} \
|
|
|
|
"
|
|
|
|
|
|
|
|
PACKAGES =+ "${PN}-libs"
|
|
|
|
FILES_${PN}-libs = "${libdir}/lib*${SOLIBS}"
|
2020-07-08 14:42:25 +00:00
|
|
|
FILES_${PN} += "${nonarch_libdir}/tmpfiles.d"
|
2018-11-09 03:51:07 +00:00
|
|
|
|
|
|
|
SYSTEMD_SERVICE_${PN} = "${BPN}.service"
|
|
|
|
SYSTEMD_AUTO_ENABLE = "disable"
|