diff options
| author | Zheng Ruoqin <zhengrq.fnst@cn.fujitsu.com> | 2017-12-20 22:35:09 +0800 |
|---|---|---|
| committer | Armin Kuster <akuster808@gmail.com> | 2017-12-27 07:25:03 -0800 |
| commit | 4d0e833dd964e8b43971f01d9fb153b05be6a86c (patch) | |
| tree | 9bd0206caf79a602a871a7db4bb720d87361751a | |
| parent | f918d9fa547b73a738548d05a9c2e3aa15367e59 (diff) | |
| download | meta-openembedded-4d0e833dd964e8b43971f01d9fb153b05be6a86c.tar.gz | |
libyui: new add
Add a new recipe libyui, which is a rdepend for dnfdragora.
Signed-off-by: Zheng Ruoqin <zhengrq.fnst@cn.fujitsu.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
| -rw-r--r-- | meta-oe/recipes-graphics/libyui/libyui_git.bb | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/meta-oe/recipes-graphics/libyui/libyui_git.bb b/meta-oe/recipes-graphics/libyui/libyui_git.bb new file mode 100644 index 0000000000..9b1d1d8184 --- /dev/null +++ b/meta-oe/recipes-graphics/libyui/libyui_git.bb | |||
| @@ -0,0 +1,39 @@ | |||
| 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 | " | ||
| 10 | |||
| 11 | PV = "3.3.3+git" | ||
| 12 | SRCREV = "f4ccea39f6b6f37eabd0a4df49db5f9bcb3c013a" | ||
| 13 | |||
| 14 | S = "${WORKDIR}/git" | ||
| 15 | |||
| 16 | inherit cmake gettext pkgconfig | ||
| 17 | |||
| 18 | DEPENDS += "boost" | ||
| 19 | |||
| 20 | BBCLASSEXTEND = "native nativesdk" | ||
| 21 | |||
| 22 | do_configure_prepend () { | ||
| 23 | cd ${S} | ||
| 24 | ./bootstrap.sh | ||
| 25 | cd - | ||
| 26 | } | ||
| 27 | |||
| 28 | do_install_append () { | ||
| 29 | if [ "${libdir}" = "${base_prefix}/usr/lib" ] && [ -d ${D}/usr/lib64 ]; then | ||
| 30 | mv ${D}/usr/lib64 ${D}/usr/lib | ||
| 31 | fi | ||
| 32 | } | ||
| 33 | |||
| 34 | do_install_append_class-nativesdk () { | ||
| 35 | mkdir -p ${D}/${base_prefix} | ||
| 36 | mv ${D}/usr ${D}/${base_prefix} | ||
| 37 | } | ||
| 38 | |||
| 39 | FILES_${PN}-dev = "${libdir}/* ${includedir}/yui*" | ||
