2018-11-09 03:51:07 +00:00
|
|
|
SUMMARY = "udisks provides dbus interfaces for disks and storage devices"
|
2022-05-28 15:20:07 +00:00
|
|
|
LICENSE = "GPL-2.0-or-later & LGPL-2.0-or-later"
|
2018-11-09 03:51:07 +00:00
|
|
|
LIC_FILES_CHKSUM = "file://COPYING;md5=dd79f6dbbffdbc8e86b086a8f0c0ef43"
|
|
|
|
|
|
|
|
DEPENDS = " \
|
2021-05-05 12:45:55 +00:00
|
|
|
glib-2.0-native \
|
|
|
|
libxslt-native \
|
2018-11-09 03:51:07 +00:00
|
|
|
acl \
|
|
|
|
libatasmart \
|
|
|
|
polkit \
|
|
|
|
libgudev \
|
|
|
|
glib-2.0 \
|
2021-05-05 12:45:55 +00:00
|
|
|
dbus-glib \
|
2018-11-09 03:51:07 +00:00
|
|
|
libblockdev \
|
|
|
|
"
|
|
|
|
DEPENDS += "${@bb.utils.filter('DISTRO_FEATURES', 'systemd', d)}"
|
|
|
|
|
2022-05-28 15:20:07 +00:00
|
|
|
RDEPENDS:${PN} = "acl"
|
2018-11-09 03:51:07 +00:00
|
|
|
|
2022-05-28 15:20:07 +00:00
|
|
|
SRC_URI = "git://github.com/storaged-project/udisks.git;branch=2.9.x-branch;protocol=https"
|
2021-10-06 19:27:34 +00:00
|
|
|
SRCREV = "c430dd9a27e158693cc783e9ee91bf6e5b2a8819"
|
2018-11-09 03:51:07 +00:00
|
|
|
S = "${WORKDIR}/git"
|
|
|
|
|
|
|
|
CVE_PRODUCT = "udisks"
|
|
|
|
|
2021-05-05 12:45:55 +00:00
|
|
|
inherit autotools-brokensep systemd gtk-doc gobject-introspection gettext features_check
|
2020-07-08 14:42:25 +00:00
|
|
|
|
2021-05-05 12:45:55 +00:00
|
|
|
REQUIRED_DISTRO_FEATURES = "polkit"
|
2018-11-09 03:51:07 +00:00
|
|
|
|
|
|
|
EXTRA_OECONF = "--disable-man --disable-gtk-doc"
|
|
|
|
|
2022-05-28 15:20:07 +00:00
|
|
|
do_configure:prepend() {
|
2020-07-08 14:42:25 +00:00
|
|
|
# | configure.ac:656: error: required file 'build-aux/config.rpath' not found
|
|
|
|
mkdir -p ${S}/build-aux
|
|
|
|
touch ${S}/build-aux/config.rpath
|
|
|
|
}
|
|
|
|
|
2022-05-28 15:20:07 +00:00
|
|
|
FILES:${PN} += " \
|
2018-11-09 03:51:07 +00:00
|
|
|
${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"
|
2022-05-28 15:20:07 +00:00
|
|
|
FILES:${PN}-libs = "${libdir}/lib*${SOLIBS}"
|
|
|
|
FILES:${PN} += "${nonarch_libdir}/tmpfiles.d"
|
2018-11-09 03:51:07 +00:00
|
|
|
|
2022-05-28 15:20:07 +00:00
|
|
|
SYSTEMD_SERVICE:${PN} = "${BPN}.service"
|
2018-11-09 03:51:07 +00:00
|
|
|
SYSTEMD_AUTO_ENABLE = "disable"
|