diff --git a/recipes-kde/plasma/untier/oxygen/files/0001-kstyle-add-an-option-BUILD_OXYGEN_SETTINGS-disabled-.patch b/recipes-kde/plasma/untier/oxygen/files/0001-kstyle-add-an-option-BUILD_OXYGEN_SETTINGS-disabled-.patch new file mode 100644 index 00000000..3f5da827 --- /dev/null +++ b/recipes-kde/plasma/untier/oxygen/files/0001-kstyle-add-an-option-BUILD_OXYGEN_SETTINGS-disabled-.patch @@ -0,0 +1,43 @@ +From 70183d51ee4fe116ffac2c7ef5f2b28e47a68b0a Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Andreas=20M=C3=BCller?= +Date: Tue, 1 Sep 2015 09:57:07 +0200 +Subject: [PATCH] kstyle: add an option BUILD_OXYGEN_SETTINGS disabled by + default +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit + +on machines not supporting x11-egl (Raspberrypi / TI armv7) kdeclarative fails +to build and kcmutils depends on kdeclarative. By this option we get the chance +to build the library for these machines. + +Upstream-Status: Inappropriate [configuration] + +Signed-off-by: Andreas Müller +--- + kstyle/config/CMakeLists.txt | 5 +++++ + 1 file changed, 5 insertions(+) + +diff --git a/kstyle/config/CMakeLists.txt b/kstyle/config/CMakeLists.txt +index 3d5387e..1625a06 100644 +--- a/kstyle/config/CMakeLists.txt ++++ b/kstyle/config/CMakeLists.txt +@@ -53,6 +53,9 @@ else() + + endif() + ++option(BUILD_OXYGEN_SETTINGS "Build oxygen settings" OFF) ++if(BUILD_OXYGEN_SETTINGS) ++ + ########### next target ############### + if(NOT OXYGEN_USE_KDE4) + +@@ -78,3 +81,5 @@ if(NOT OXYGEN_USE_KDE4) + THEME hicolor ) + endif() + endif() ++ ++endif() +-- +2.1.0 + diff --git a/recipes-kde/plasma/untier/oxygen/oxygen.bb b/recipes-kde/plasma/untier/oxygen/oxygen.bb index b7d77f1f..b438ef1f 100644 --- a/recipes-kde/plasma/untier/oxygen/oxygen.bb +++ b/recipes-kde/plasma/untier/oxygen/oxygen.bb @@ -17,13 +17,17 @@ DEPENDS += " \ frameworkintegration \ kwindowsystem \ kdecoration \ - kcmutils \ ${@bb.utils.contains("DISTRO_FEATURES", "x11", "libxcb qtx11extras", "", d)} \ " + PV = "${PLASMA_VERSION}" SRC_URI[md5sum] = "8a8b312d21eed54912a0357df1c4f1ec" SRC_URI[sha256sum] = "de5e0ee8491db19c4483936499d6130757336b8d82de2c929781cdc684853efa" +SRC_URI += "file://0001-kstyle-add-an-option-BUILD_OXYGEN_SETTINGS-disabled-.patch" + +PACKAGECONFIG ??= "" +PACKAGECONFIG[settings] = "-DBUILD_OXYGEN_SETTINGS=ON,-DBUILD_OXYGEN_SETTINGS=OFF,kcmutils" FILES_${PN} += " \ ${datadir}/icons \