diff options
author | Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com> | 2019-09-16 01:42:21 +0200 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2019-09-16 07:10:03 -0700 |
commit | de75c63254e2c2e4fd12ab9d4530c3e3cf6ba203 (patch) | |
tree | ddbc8d2b5a3a5b58aebf7e7d68dd94814abc64f3 /meta-oe/recipes-extended/libblockdev/libblockdev_2.23.bb | |
parent | 438356facb6fed462fdfac3e598d9c782518273f (diff) | |
download | meta-openembedded-contrib-de75c63254e2c2e4fd12ab9d4530c3e3cf6ba203.tar.gz |
libblockdev: update to 2.23
Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-oe/recipes-extended/libblockdev/libblockdev_2.23.bb')
-rw-r--r-- | meta-oe/recipes-extended/libblockdev/libblockdev_2.23.bb | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/meta-oe/recipes-extended/libblockdev/libblockdev_2.23.bb b/meta-oe/recipes-extended/libblockdev/libblockdev_2.23.bb new file mode 100644 index 0000000000..761619d9af --- /dev/null +++ b/meta-oe/recipes-extended/libblockdev/libblockdev_2.23.bb @@ -0,0 +1,43 @@ +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/" +LICENSE = "LGPLv2+" +SECTION = "devel/lib" + +LIC_FILES_CHKSUM = "file://LICENSE;md5=c07cb499d259452f324bb90c3067d85c" + +inherit autotools gobject-introspection + +SRCREV = "f5d2458e9e52d8c55b609ae8cf46ef0673b4a02a" +SRC_URI = " \ + git://github.com/rhinstaller/libblockdev;branch=master \ +" + +S = "${WORKDIR}/git" + +FILES_${PN} += "${libdir}/python2.7/dist-packages ${libdir}/python3.7/site-packages" + +PACKAGECONFIG ??= "python3 lvm dm kmod parted fs escrow btrfs crypto mdraid kbd mpath nvdimm" +PACKAGECONFIG[python3] = "--with-python3, --without-python3,,python3" +PACKAGECONFIG[python2] = "--with-python2, --without-python2,,python" +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" +PACKAGECONFIG[kmod] = "--with-kbd, --without-kbd, kmod" +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" +PACKAGECONFIG[nvdimm] = "--with-nvdimm, --without-nvdimm, ndctl util-linux" +PACKAGECONFIG[vdo] = "--with-vdo, --without-vdo" +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" + +export GIR_EXTRA_LIBS_PATH="${B}/src/utils/.libs" + |