2018-11-09 03:51:07 +00:00
|
|
|
DESCRIPTION = "libblockdev is a C library supporting GObject introspection for manipulation of \
|
|
|
|
block devices. It has a plugin-based architecture where each technology (like \
|
|
|
|
LVM, Btrfs, MD RAID, Swap,...) is implemented in a separate plugin, possibly \
|
|
|
|
with multiple implementations (e.g. using LVM CLI or the new LVM DBus API)."
|
|
|
|
HOMEPAGE = "http://rhinstaller.github.io/libblockdev/"
|
2022-05-28 15:20:07 +00:00
|
|
|
LICENSE = "LGPL-2.0-or-later"
|
2018-11-09 03:51:07 +00:00
|
|
|
SECTION = "devel/lib"
|
|
|
|
|
|
|
|
LIC_FILES_CHKSUM = "file://LICENSE;md5=c07cb499d259452f324bb90c3067d85c"
|
|
|
|
|
2023-09-29 16:46:16 +00:00
|
|
|
inherit autotools gobject-introspection pkgconfig lib_package
|
2018-11-09 03:51:07 +00:00
|
|
|
|
2023-09-29 16:46:16 +00:00
|
|
|
DEPENDS = "autoconf-archive-native glib-2.0 kmod udev"
|
|
|
|
|
|
|
|
SRC_URI = "git://github.com/storaged-project/libblockdev;branch=2.x-branch;protocol=https \
|
|
|
|
"
|
|
|
|
SRCREV = "1412dc51c8f76bf8d9a6008228737db4a9a26d69"
|
2018-11-09 03:51:07 +00:00
|
|
|
S = "${WORKDIR}/git"
|
|
|
|
|
2022-05-28 15:20:07 +00:00
|
|
|
FILES:${PN} += "${libdir}/python2.7/dist-packages ${libdir}/python3.*/site-packages"
|
2018-11-09 03:51:07 +00:00
|
|
|
|
2023-09-29 16:46:16 +00:00
|
|
|
PACKAGECONFIG ??= "python3 lvm dm kmod parted fs escrow btrfs crypto mdraid kbd mpath nvdimm tools"
|
2018-11-09 03:51:07 +00:00
|
|
|
PACKAGECONFIG[python3] = "--with-python3, --without-python3,,python3"
|
2020-11-02 16:01:58 +00:00
|
|
|
PACKAGECONFIG[python2] = "--with-python2, --without-python2,,python"
|
2018-11-09 03:51:07 +00:00
|
|
|
PACKAGECONFIG[lvm] = "--with-lvm, --without-lvm, multipath-tools, lvm2"
|
|
|
|
PACKAGECONFIG[lvm-dbus] = "--with-lvm_dbus, --without-lvm_dbus, multipath-tools, lvm2"
|
|
|
|
PACKAGECONFIG[dm] = "--with-dm, --without-dm, multipath-tools, lvm2"
|
|
|
|
PACKAGECONFIG[dmraid] = "--with-dmraid, --without-dmraid"
|
2023-09-29 16:46:16 +00:00
|
|
|
PACKAGECONFIG[kmod] = "--with-kbd, --without-kbd,libbytesize"
|
2018-11-09 03:51:07 +00:00
|
|
|
PACKAGECONFIG[parted] = "--with-part, --without-part, parted"
|
|
|
|
PACKAGECONFIG[fs] = "--with-fs, --without-fs, util-linux"
|
|
|
|
PACKAGECONFIG[doc] = "--with-gtk-doc, --without-gtk-doc, gtk-doc-native"
|
2019-01-15 17:34:27 +00:00
|
|
|
PACKAGECONFIG[nvdimm] = "--with-nvdimm, --without-nvdimm, ndctl util-linux"
|
2023-09-29 16:46:16 +00:00
|
|
|
PACKAGECONFIG[vdo] = "--with-vdo, --without-vdo,libbytesize"
|
2018-11-09 03:51:07 +00:00
|
|
|
PACKAGECONFIG[escrow] = "--with-escrow, --without-escrow, nss volume-key"
|
|
|
|
PACKAGECONFIG[btrfs] = "--with-btrfs,--without-btrfs,libbytesize btrfs-tools"
|
|
|
|
PACKAGECONFIG[crypto] = "--with-crypto,--without-crypto,cryptsetup nss volume-key"
|
|
|
|
PACKAGECONFIG[mdraid] = "--with-mdraid,--without-mdraid,libbytesize"
|
|
|
|
PACKAGECONFIG[kbd] = "--with-kbd,--without-kbd,libbytesize"
|
|
|
|
PACKAGECONFIG[mpath] = "--with-mpath,--without-mpath, multipath-tools, lvm2"
|
2023-09-29 16:46:16 +00:00
|
|
|
PACKAGECONFIG[tools] = "--with-tools,--without-tools,libbytesize libdevmapper"
|
2018-11-09 03:51:07 +00:00
|
|
|
|
|
|
|
export GIR_EXTRA_LIBS_PATH="${B}/src/utils/.libs"
|