Brad Bishop | 316dfdd | 2018-06-25 12:45:53 -0400 | [diff] [blame] | 1 | SUMMARY = "Libyui is a widget abstraction library providing Qt, GTK and ncurses frontends." |
| 2 | LICENSE = "LGPLv3" |
Andrew Geissler | e34f896 | 2021-04-15 15:53:51 -0500 | [diff] [blame] | 3 | LIC_FILES_CHKSUM = "file://../COPYING.gpl-3;md5=d32239bcb673463ab874e80d47fae504 \ |
| 4 | file://../COPYING.lgpl-2.1;md5=4fbd65380cdd255951079008b364516c \ |
| 5 | file://../COPYING.lgpl-3;md5=e6a600fd5e1d9cbde2d983680233ad02 \ |
Brad Bishop | 316dfdd | 2018-06-25 12:45:53 -0400 | [diff] [blame] | 6 | " |
| 7 | |
| 8 | SRC_URI = "git://github.com/libyui/libyui.git \ |
Brad Bishop | 316dfdd | 2018-06-25 12:45:53 -0400 | [diff] [blame] | 9 | file://0001-Fix-build-with-clang.patch \ |
Brad Bishop | 1a4b7ee | 2018-12-16 17:11:34 -0800 | [diff] [blame] | 10 | file://0001-Use-relative-install-paths-for-CMake.patch \ |
Brad Bishop | 316dfdd | 2018-06-25 12:45:53 -0400 | [diff] [blame] | 11 | " |
| 12 | |
Andrew Geissler | e34f896 | 2021-04-15 15:53:51 -0500 | [diff] [blame] | 13 | SRCREV = "718ac672374a2b0f50cbc7d637d90e6471babc3d" |
Andrew Geissler | 97771a3 | 2021-03-05 15:23:11 -0600 | [diff] [blame] | 14 | |
Andrew Geissler | e34f896 | 2021-04-15 15:53:51 -0500 | [diff] [blame] | 15 | S = "${WORKDIR}/git/libyui" |
Brad Bishop | 316dfdd | 2018-06-25 12:45:53 -0400 | [diff] [blame] | 16 | |
| 17 | inherit cmake gettext pkgconfig |
| 18 | |
| 19 | DEPENDS += "boost" |
| 20 | |
Andrew Geissler | 97771a3 | 2021-03-05 15:23:11 -0600 | [diff] [blame] | 21 | EXTRA_OECMAKE += "-DCMAKE_BUILD_TYPE=RELWITHDEBINFO -DWERROR=OFF" |
Brad Bishop | e42b3e3 | 2020-01-15 22:08:42 -0500 | [diff] [blame] | 22 | |
Brad Bishop | 316dfdd | 2018-06-25 12:45:53 -0400 | [diff] [blame] | 23 | BBCLASSEXTEND = "native nativesdk" |
| 24 | |
Brad Bishop | 316dfdd | 2018-06-25 12:45:53 -0400 | [diff] [blame] | 25 | do_install_append () { |
| 26 | if [ "${libdir}" = "${base_prefix}/usr/lib" ] && [ -d ${D}/usr/lib64 ]; then |
| 27 | mv ${D}/usr/lib64 ${D}/usr/lib |
| 28 | fi |
| 29 | } |
| 30 | |
| 31 | do_install_append_class-nativesdk () { |
| 32 | mkdir -p ${D}/${base_prefix} |
| 33 | mv ${D}/usr ${D}/${base_prefix} |
| 34 | } |
| 35 | |
| 36 | FILES_${PN}-dev = "${libdir}/* ${includedir}/yui*" |