summaryrefslogtreecommitdiff
path: root/kde-apps/pimcommon/files/pimcommon-15.12.0-find-qt5designer.patch
diff options
context:
space:
mode:
authorAndreas Sturmlechner <andreas.sturmlechner@gmail.com>2015-12-19 13:02:03 +0100
committerMichael Palimaka <kensington@gentoo.org>2015-12-21 02:44:00 +1100
commit8f6302b3ab0060219daee5d2371b9deb923868a8 (patch)
tree221420c67e9317fa31e8a647e1c32f2c75948b31 /kde-apps/pimcommon/files/pimcommon-15.12.0-find-qt5designer.patch
parent8f8c66f72c78f69708d2b6ad2771e926a32fceb2 (diff)
downloadkde-8f6302b3ab0060219daee5d2371b9deb923868a8.tar.gz
kde-8f6302b3ab0060219daee5d2371b9deb923868a8.tar.bz2
kde-8f6302b3ab0060219daee5d2371b9deb923868a8.zip
kde-apps/pimcommon: Add USE=designer
Backport patch from git master Package-Manager: portage-2.2.24
Diffstat (limited to 'kde-apps/pimcommon/files/pimcommon-15.12.0-find-qt5designer.patch')
-rw-r--r--kde-apps/pimcommon/files/pimcommon-15.12.0-find-qt5designer.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/kde-apps/pimcommon/files/pimcommon-15.12.0-find-qt5designer.patch b/kde-apps/pimcommon/files/pimcommon-15.12.0-find-qt5designer.patch
new file mode 100644
index 00000000000..f45c6aa1806
--- /dev/null
+++ b/kde-apps/pimcommon/files/pimcommon-15.12.0-find-qt5designer.patch
@@ -0,0 +1,15 @@
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -51,6 +51,11 @@
+ find_package(KF5Libkdepim ${LIBKDEPIM_LIB_VERSION} CONFIG REQUIRED)
+ find_package(KF5PimTextEdit ${KPIMTEXTEDIT_LIB_VERSION} CONFIG REQUIRED)
+
++find_package(Qt5Designer CONFIG)
++set_package_properties(Qt5Designer PROPERTIES
++ PURPOSE "Required to build the Qt Designer plugins"
++ TYPE OPTIONAL
++)
+
+ ecm_setup_version(${PIMCOMMON_LIB_VERSION} VARIABLE_PREFIX PIMCOMMON
+ VERSION_HEADER "${CMAKE_CURRENT_BINARY_DIR}/pimcommon_version.h"
+