From 0c70a7133709db79fabfb851443c398a3ddab9d0 Mon Sep 17 00:00:00 2001 From: Volker Krause Date: Tue, 2 Jan 2018 19:29:08 +0100 Subject: [PATCH] Add libkscreen recipe --- recipes-plasma/libkscreen.inc | 31 +++++++++++++++++++ recipes-plasma/libkscreen_5.11.3.bb | 2 ++ recipes-plasma/packagegroups/plasma-mobile.bb | 1 + 3 files changed, 34 insertions(+) create mode 100644 recipes-plasma/libkscreen.inc create mode 100644 recipes-plasma/libkscreen_5.11.3.bb diff --git a/recipes-plasma/libkscreen.inc b/recipes-plasma/libkscreen.inc new file mode 100644 index 0000000..95dd10a --- /dev/null +++ b/recipes-plasma/libkscreen.inc @@ -0,0 +1,31 @@ +DESCRIPTION = "KScreen library" +HOMEPAGE = "" +LICENSE = "GPLv2" +LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263" +PR = "r0" + +DEPENDS = " \ + qtbase \ + qtx11extras \ + extra-cmake-modules \ + kwayland \ +" + +SRC_URI = " \ + git://anongit.kde.org/libkscreen;nobranch=1 \ +" +S = "${WORKDIR}/git" + +inherit cmake_qt5 +inherit gettext +inherit python3native + +FILES_${PN} += " \ + ${libdir}/plugins/kf5/kscreen/*.so \ + ${datadir}/dbus-1/services/*.service \ +" + +FILES_${PN}-dev += " \ + ${libdir}/cmake/KF5Screen/*.cmake \ + ${prefix}/mkspecs/modules/qt_*.pri \ +" diff --git a/recipes-plasma/libkscreen_5.11.3.bb b/recipes-plasma/libkscreen_5.11.3.bb new file mode 100644 index 0000000..56169bb --- /dev/null +++ b/recipes-plasma/libkscreen_5.11.3.bb @@ -0,0 +1,2 @@ +require ${PN}.inc +SRCREV = "v${PV}" diff --git a/recipes-plasma/packagegroups/plasma-mobile.bb b/recipes-plasma/packagegroups/plasma-mobile.bb index 1c9e532..61f88b3 100644 --- a/recipes-plasma/packagegroups/plasma-mobile.bb +++ b/recipes-plasma/packagegroups/plasma-mobile.bb @@ -10,6 +10,7 @@ RDEPENDS_${PN} = " \ kdecoration \ kscreenlocker \ kwin \ + libkscreen \ libksysguard \ plasma-phone-components \ plasma-workspace \