Files
Martin Jansa d59f6e6e1b libyui: switch to libyui-old repo which still has this SRCREV
* af06143017fc5f18c4b6488ba4aed26bcc43ff6e doesn't exist in current repo:
  libyui$ git branch -a --contains af06143017fc5f18c4b6488ba4aed26bcc43ff6e
  error: no such commit af06143017fc5f18c4b6488ba4aed26bcc43ff6e

* there are no common commits in the new libyui repo, but luckily old
  repo is kept as
  https://github.com/libyui/libyui-old
  similarly libyui-ncurses now contains only README about being obsolete in:
  https://github.com/libyui/libyui-ncurses
  but at least it wasn't rewritten to have the new content

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit 902919167a)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2021-04-08 18:40:49 -07:00

43 lines
1.2 KiB
BlitzBasic

SUMMARY = "Libyui is a widget abstraction library providing Qt, GTK and ncurses frontends."
LICENSE = "LGPLv3"
LIC_FILES_CHKSUM = "file://COPYING.gpl-3;md5=d32239bcb673463ab874e80d47fae504 \
file://COPYING.lgpl-2.1;md5=4fbd65380cdd255951079008b364516c \
file://COPYING.lgpl-3;md5=e6a600fd5e1d9cbde2d983680233ad02 \
"
SRC_URI = "git://github.com/libyui/libyui-old.git \
file://0001-Fix-build-with-clang.patch \
file://0001-Use-relative-install-paths-for-CMake.patch \
"
SRCREV = "de9134007d2d029fe5809ce48f57fe218e6ffe16"
SRCREV_FORMAT = "default"
S = "${WORKDIR}/git"
inherit cmake gettext pkgconfig
DEPENDS += "boost"
EXTRA_OECMAKE += "-DENABLE_WERROR=OFF"
BBCLASSEXTEND = "native nativesdk"
do_configure_prepend () {
(cd ${S} &&
./bootstrap.sh &&
cd -)
}
do_install_append () {
if [ "${libdir}" = "${base_prefix}/usr/lib" ] && [ -d ${D}/usr/lib64 ]; then
mv ${D}/usr/lib64 ${D}/usr/lib
fi
}
do_install_append_class-nativesdk () {
mkdir -p ${D}/${base_prefix}
mv ${D}/usr ${D}/${base_prefix}
}
FILES_${PN}-dev = "${libdir}/* ${includedir}/yui*"