mirror of
https://invent.kde.org/packaging/yocto-meta-kf5.git
synced 2026-04-30 21:32:13 +02:00
Inherit from cmake_qt5 in order to simplify recipe
This commit is contained in:
@@ -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"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user