diff options
| author | Andreas Müller <schnitzeltony@gmail.com> | 2018-03-23 23:50:54 +0100 |
|---|---|---|
| committer | Armin Kuster <akuster808@gmail.com> | 2018-04-08 17:00:06 -0700 |
| commit | a79beac6dbd4012d3f82c6cfa761a2c6cdedba9e (patch) | |
| tree | b38f24b19c49d57e514efc31be2a3c30cd66e410 /meta-oe/recipes-extended/libblockdev/libblockdev_2.16.bb | |
| parent | 3c468473ded31fe7e88b4da09477e60dceed9180 (diff) | |
| download | meta-openembedded-a79beac6dbd4012d3f82c6cfa761a2c6cdedba9e.tar.gz | |
libblockdev: update 2.10 -> 2.16
I gave my best to rework patches:
* 0005-fix-a-clang-compiling-issue.patch: This was a bit challenging.
Because of I do not use clang I cannot test and confirm that no new breakers
were introduced.
* 0004-fix-compile-failure-against-musl-C-library.patch: Just tested to apply
properly.
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Diffstat (limited to 'meta-oe/recipes-extended/libblockdev/libblockdev_2.16.bb')
| -rw-r--r-- | meta-oe/recipes-extended/libblockdev/libblockdev_2.16.bb | 51 |
1 files changed, 51 insertions, 0 deletions
diff --git a/meta-oe/recipes-extended/libblockdev/libblockdev_2.16.bb b/meta-oe/recipes-extended/libblockdev/libblockdev_2.16.bb new file mode 100644 index 0000000000..0c954aa39b --- /dev/null +++ b/meta-oe/recipes-extended/libblockdev/libblockdev_2.16.bb | |||
| @@ -0,0 +1,51 @@ | |||
| 1 | DESCRIPTION = "libblockdev is a C library supporting GObject introspection for manipulation of \ | ||
| 2 | block devices. It has a plugin-based architecture where each technology (like \ | ||
| 3 | LVM, Btrfs, MD RAID, Swap,...) is implemented in a separate plugin, possibly \ | ||
| 4 | with multiple implementations (e.g. using LVM CLI or the new LVM DBus API)." | ||
| 5 | HOMEPAGE = "http://rhinstaller.github.io/libblockdev/" | ||
| 6 | LICENSE = "LGPLv2+" | ||
| 7 | SECTION = "devel/lib" | ||
| 8 | |||
| 9 | LIC_FILES_CHKSUM = "file://LICENSE;md5=c07cb499d259452f324bb90c3067d85c" | ||
| 10 | |||
| 11 | inherit autotools python3native gobject-introspection | ||
| 12 | |||
| 13 | DEPENDS += " \ | ||
| 14 | cryptsetup \ | ||
| 15 | nss \ | ||
| 16 | volume-key \ | ||
| 17 | libbytesize \ | ||
| 18 | btrfs-tools \ | ||
| 19 | " | ||
| 20 | |||
| 21 | SRCREV = "e2e0899efe8dd3f111ff955fb6c1dc10b0bd2075" | ||
| 22 | SRC_URI = " \ | ||
| 23 | git://github.com/rhinstaller/libblockdev;branch=master \ | ||
| 24 | file://0001-fix-configure-and-compile-failures.patch \ | ||
| 25 | file://0002-remove-python2-support.patch \ | ||
| 26 | file://0003-remove-dmraid-while-compiling-with-with-dm.patch \ | ||
| 27 | file://0005-fix-a-clang-compiling-issue.patch \ | ||
| 28 | " | ||
| 29 | SRC_URI_append_libc-musl = " \ | ||
| 30 | file://0004-fix-compile-failure-against-musl-C-library.patch \ | ||
| 31 | " | ||
| 32 | |||
| 33 | S = "${WORKDIR}/git" | ||
| 34 | |||
| 35 | RDEPENDS_${PN} += " \ | ||
| 36 | lvm2 \ | ||
| 37 | " | ||
| 38 | |||
| 39 | FILES_${PN} += "${PYTHON_SITEPACKAGES_DIR}" | ||
| 40 | |||
| 41 | PACKAGECONFIG ??= "python3 lvm dm kmod parted fs" | ||
| 42 | PACKAGECONFIG[python3] = "--with-python3, --without-python3,,python3" | ||
| 43 | PACKAGECONFIG[lvm] = "--with-lvm, --without-lvm, multipath-tools" | ||
| 44 | PACKAGECONFIG[dm] = "--with-dm, --without-dm" | ||
| 45 | PACKAGECONFIG[kmod] = "--with-kbd, --without-kbd, kmod" | ||
| 46 | PACKAGECONFIG[parted] = "--with-part, --without-part, parted" | ||
| 47 | PACKAGECONFIG[fs] = "--with-fs, --without-fs, util-linux" | ||
| 48 | PACKAGECONFIG[doc] = "--with-gtk-doc, --without-gtk-doc, gtk-doc-native" | ||
| 49 | |||
| 50 | export GIR_EXTRA_LIBS_PATH="${B}/src/utils/.libs" | ||
| 51 | |||
