The QMake build system adds comments to the files to show where code is included from. We remove these references to the build machine to avoid QA warnings about unreproducible builds. Signed-off-by: Rob Woolley <rob.woolley@windriver.com>
28 lines
979 B
BlitzBasic
28 lines
979 B
BlitzBasic
SUMMARY = "Hardware integration and detection"
|
|
LICENSE = "BSD-3-Clause & LGPL-2.1-only & LGPL-2.1-or-later & LGPL-3.0-only"
|
|
LIC_FILES_CHKSUM = " \
|
|
file://LICENSES/BSD-3-Clause.txt;md5=954f4d71a37096249f837652a7f586c0 \
|
|
file://LICENSES/LGPL-2.1-only.txt;md5=fabba2a3bfeb22a6483d44e9ae824d3f \
|
|
file://LICENSES/LGPL-2.1-or-later.txt;md5=2a4f4fd2128ea2f65047ee63fbca9f68 \
|
|
file://LICENSES/LGPL-3.0-only.txt;md5=c51d3eef3be114124d11349ca0d7e117 \
|
|
"
|
|
|
|
inherit kde-kf5
|
|
|
|
DEPENDS += "bison-native qtdeclarative"
|
|
|
|
PV = "${KF5_VERSION}"
|
|
SRC_URI[sha256sum] = "7057825d5de721858af9be698a7114cd45e33bee7c06006a8ec68c05bf141a7a"
|
|
|
|
do_install:prepend() {
|
|
# Remove references to buildmachine paths
|
|
sed -i -e "s:${S}:${prefix}:g" ${B}/src/solid/predicate_parser.h
|
|
sed -i -e "s:${S}:${prefix}:g" ${B}/src/solid/predicate_parser.c
|
|
sed -i -e "s:${B}:${prefix}:g" ${B}/src/solid/predicate_lexer.c
|
|
}
|
|
|
|
|
|
FILES:${PN} += "${OE_QMAKE_PATH_QML}"
|
|
|
|
RRECOMMENDS:${PN} += "udisks2"
|