Inherit from cmake_qt5 in order to simplify recipe

This commit is contained in:
Andreas Cord-Landwehr
2020-12-14 16:09:52 +01:00
parent ef7a2fab8f
commit a47347a9b8

View File

@@ -8,22 +8,15 @@ HOMEPAGE = "https://api.kde.org/frameworks/extra-cmake-modules/html/index.html"
LICENSE = "BSD-3-Clause"
PR = "r0"
DEPENDS = "cmake-native qttools"
DEPENDS = "cmake-native qttools qtbase-native qttools-native"
inherit cmake_qt5
inherit reuse_license_checksums
SRC_URI = "git://invent.kde.org/frameworks/${BPN};nobranch=1;protocol=https"
S = "${WORKDIR}/git"
CLEANBROKEN = "1"
do_compile() {
cmake -DCMAKE_INSTALL_PREFIX:PATH=${D}/${prefix}/ .
make
}
do_install() {
make install
}
FILES_${PN}-dev += " ${datadir}/ECM"