rk3568_ubuntu_r60_v1.3.2/yocto/meta-qt5/recipes-qt/qtchooser/qtchooser_git.bb

30 lines
1.0 KiB
BlitzBasic
Raw Normal View History

2023-11-03 14:12:44 +08:00
DESCRIPTION = "Wrapper to select between Qt development binary versions"
HOMEPAGE = "http://macieira.org/qtchooser"
LICENSE = "LGPL-2.1 & Digia-Qt-LGPL-Exception-1.1 | GPL-3.0"
SRC_URI = "git://code.qt.io/qtsdk/qtchooser.git;branch=master"
LIC_FILES_CHKSUM = " \
file://LGPL_EXCEPTION.txt;md5=0145c4d1b6f96a661c2c139dfb268fb6 \
file://LICENSE.GPL;md5=d32239bcb673463ab874e80d47fae504 \
file://LICENSE.LGPL;md5=4193e7f1d47a858f6b7c0f1ee66161de \
"
S = "${WORKDIR}/git"
SRCREV = "71750df4f0c6bbadcd422cdf7fe360ad033bbd14"
PV = "39+git${SRCPV}"
inherit pkgconfig
do_compile() {
oe_runmake LFLAGS='${LDFLAGS}'
}
do_install() {
oe_runmake install INSTALL_ROOT=${D}
#install configure file
install -d ${D}${sysconfdir}/xdg/qtchooser/
install -m 0644 ${S}/tests/auto/qtchooser/testdata/config2/qtchooser/*.conf \
${D}${sysconfdir}/xdg/qtchooser/
install -m 0644 ${S}/tests/auto/qtchooser/testdata/default/qtchooser/default.conf \
${D}${sysconfdir}/xdg/qtchooser/
}