diff options
| author | Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com> | 2019-09-25 23:04:36 +0200 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2019-09-25 14:45:20 -0700 |
| commit | 13e0f3364e0381f4952e381ca9e4e76e7947463e (patch) | |
| tree | 3f5aed8c2c370665929cb0a0fb23b74ba7a48f61 /meta-oe/recipes-graphics/libyui/libyui-ncurses_2.52.0.bb | |
| parent | b544304c7cb50d55b28f0083ccfc23cc9fec8bc6 (diff) | |
| download | meta-openembedded-13e0f3364e0381f4952e381ca9e4e76e7947463e.tar.gz | |
libyui-ncurses: udpate to 2.52.0
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-graphics/libyui/libyui-ncurses_2.52.0.bb')
| -rw-r--r-- | meta-oe/recipes-graphics/libyui/libyui-ncurses_2.52.0.bb | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/meta-oe/recipes-graphics/libyui/libyui-ncurses_2.52.0.bb b/meta-oe/recipes-graphics/libyui/libyui-ncurses_2.52.0.bb new file mode 100644 index 0000000000..dae5c342de --- /dev/null +++ b/meta-oe/recipes-graphics/libyui/libyui-ncurses_2.52.0.bb | |||
| @@ -0,0 +1,48 @@ | |||
| 1 | SUMMARY = "Character Based User Interface for libyui" | ||
| 2 | LICENSE = "LGPLv3" | ||
| 3 | LIC_FILES_CHKSUM = "file://COPYING.lgpl-3;md5=e6a600fd5e1d9cbde2d983680233ad02 \ | ||
| 4 | file://COPYING.lgpl-2.1;md5=4fbd65380cdd255951079008b364516c \ | ||
| 5 | " | ||
| 6 | |||
| 7 | SRC_URI = "git://github.com/libyui/libyui-ncurses.git \ | ||
| 8 | file://0003-Simplify-ncurses-finding-module.patch \ | ||
| 9 | " | ||
| 10 | |||
| 11 | SRC_URI_append_class-target = " file://0001-Fix-the-error-of-can-t-find-header-file.patch" | ||
| 12 | |||
| 13 | SRCREV = "d5b64b6291b6f292871ad5c6df25c4f6896f7d50" | ||
| 14 | |||
| 15 | S = "${WORKDIR}/git" | ||
| 16 | |||
| 17 | inherit cmake gettext pkgconfig | ||
| 18 | |||
| 19 | DEPENDS += "boost libyui ncurses" | ||
| 20 | |||
| 21 | BBCLASSEXTEND = "nativesdk" | ||
| 22 | |||
| 23 | do_configure_prepend () { | ||
| 24 | cd ${S} | ||
| 25 | git checkout bootstrap.sh | ||
| 26 | sed -i "s#/usr#${PKG_CONFIG_SYSROOT_DIR}${base_prefix}&#" bootstrap.sh | ||
| 27 | ./bootstrap.sh | ||
| 28 | mkdir -p ${PKG_CONFIG_SYSROOT_DIR}${base_prefix}/usr/lib64/ | ||
| 29 | cp ${PKG_CONFIG_SYSROOT_DIR}${base_prefix}/usr/lib/libyui.so* ${PKG_CONFIG_SYSROOT_DIR}${base_prefix}/usr/lib64/ | ||
| 30 | cd - | ||
| 31 | sed -i -e "s#\${YPREFIX}#\${PKG_CONFIG_SYSROOT_DIR}${base_prefix}&#" ${S}/CMakeLists.txt | ||
| 32 | sed -i -e "s#/usr#${PKG_CONFIG_SYSROOT_DIR}${base_prefix}&#" ${PKG_CONFIG_SYSROOT_DIR}${libdir}/cmake/libyui/LibyuiLibraryDepends-release.cmake | ||
| 33 | } | ||
| 34 | |||
| 35 | do_install_append () { | ||
| 36 | if [ "${libdir}" = "${base_prefix}/usr/lib" ] && [ -d ${D}/usr/lib64 ]; then | ||
| 37 | mv ${D}/usr/lib64 ${D}/usr/lib | ||
| 38 | fi | ||
| 39 | } | ||
| 40 | |||
| 41 | do_install_append_class-nativesdk () { | ||
| 42 | mkdir -p ${D}/${base_prefix} | ||
| 43 | mv ${D}/usr ${D}/${base_prefix} | ||
| 44 | } | ||
| 45 | |||
| 46 | FILES_${PN} += "${datadir}/*" | ||
| 47 | |||
| 48 | FILES_${PN}-dev += "${libdir}/*" | ||
