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" |
| 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 \ |
| 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-curly-braces-for-MAKE-variable.patch \ |
| 11 | file://0001-Use-relative-install-paths-for-CMake.patch \ |
Brad Bishop | 316dfdd | 2018-06-25 12:45:53 -0400 | [diff] [blame] | 12 | " |
| 13 | |
| 14 | PV = "3.3.3+git" |
Brad Bishop | 1a4b7ee | 2018-12-16 17:11:34 -0800 | [diff] [blame] | 15 | SRCREV = "50672da835ec9d52766320a44a2677e08a24c99c" |
| 16 | SRCREV_FORMAT = "default" |
Brad Bishop | 316dfdd | 2018-06-25 12:45:53 -0400 | [diff] [blame] | 17 | S = "${WORKDIR}/git" |
| 18 | |
| 19 | inherit cmake gettext pkgconfig |
| 20 | |
| 21 | DEPENDS += "boost" |
| 22 | |
| 23 | BBCLASSEXTEND = "native nativesdk" |
| 24 | |
| 25 | do_configure_prepend () { |
Brad Bishop | 1a4b7ee | 2018-12-16 17:11:34 -0800 | [diff] [blame] | 26 | (cd ${S} && |
| 27 | ./bootstrap.sh && |
| 28 | cd -) |
Brad Bishop | 316dfdd | 2018-06-25 12:45:53 -0400 | [diff] [blame] | 29 | } |
| 30 | |
| 31 | do_install_append () { |
| 32 | if [ "${libdir}" = "${base_prefix}/usr/lib" ] && [ -d ${D}/usr/lib64 ]; then |
| 33 | mv ${D}/usr/lib64 ${D}/usr/lib |
| 34 | fi |
| 35 | } |
| 36 | |
| 37 | do_install_append_class-nativesdk () { |
| 38 | mkdir -p ${D}/${base_prefix} |
| 39 | mv ${D}/usr ${D}/${base_prefix} |
| 40 | } |
| 41 | |
| 42 | FILES_${PN}-dev = "${libdir}/* ${includedir}/yui*" |