diff options
Diffstat (limited to 'meta-oe/recipes-graphics/libyui/libyui_3.6.0.bb')
-rw-r--r-- | meta-oe/recipes-graphics/libyui/libyui_3.6.0.bb | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/meta-oe/recipes-graphics/libyui/libyui_3.6.0.bb b/meta-oe/recipes-graphics/libyui/libyui_3.6.0.bb new file mode 100644 index 000000000..d8a921925 --- /dev/null +++ b/meta-oe/recipes-graphics/libyui/libyui_3.6.0.bb | |||
@@ -0,0 +1,40 @@ | |||
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 \ | ||
9 | file://0001-Fix-build-with-clang.patch \ | ||
10 | file://0001-Use-relative-install-paths-for-CMake.patch \ | ||
11 | " | ||
12 | |||
13 | SRCREV = "8459235919f592b1bc099ecf9a947cb6344b6fa5" | ||
14 | SRCREV_FORMAT = "default" | ||
15 | S = "${WORKDIR}/git" | ||
16 | |||
17 | inherit cmake gettext pkgconfig | ||
18 | |||
19 | DEPENDS += "boost" | ||
20 | |||
21 | BBCLASSEXTEND = "native nativesdk" | ||
22 | |||
23 | do_configure_prepend () { | ||
24 | (cd ${S} && | ||
25 | ./bootstrap.sh && | ||
26 | cd -) | ||
27 | } | ||
28 | |||
29 | do_install_append () { | ||
30 | if [ "${libdir}" = "${base_prefix}/usr/lib" ] && [ -d ${D}/usr/lib64 ]; then | ||
31 | mv ${D}/usr/lib64 ${D}/usr/lib | ||
32 | fi | ||
33 | } | ||
34 | |||
35 | do_install_append_class-nativesdk () { | ||
36 | mkdir -p ${D}/${base_prefix} | ||
37 | mv ${D}/usr ${D}/${base_prefix} | ||
38 | } | ||
39 | |||
40 | FILES_${PN}-dev = "${libdir}/* ${includedir}/yui*" | ||