summaryrefslogtreecommitdiff
path: root/kde-plasma/kde-gtk-config/files/kde-gtk-config-5.4.2-gtk3-optional.patch
diff options
context:
space:
mode:
authorAndreas Sturmlechner <andreas.sturmlechner@gmail.com>2015-10-03 00:22:55 +0200
committerMichael Palimaka <kensington@gentoo.org>2015-10-06 21:58:18 +1100
commit17da4ae478249970aa074219d754d45925cad6a1 (patch)
tree20ac18b1e8414d525e57c99087e2ce889aa0abbc /kde-plasma/kde-gtk-config/files/kde-gtk-config-5.4.2-gtk3-optional.patch
parent2ede8b701e3ece2361bdeed7640da6e8a78cd07b (diff)
downloadkde-17da4ae478249970aa074219d754d45925cad6a1.tar.gz
kde-17da4ae478249970aa074219d754d45925cad6a1.tar.bz2
kde-17da4ae478249970aa074219d754d45925cad6a1.zip
kde-plasma/kde-gtk-config: Make gtk+3 optional
gtk3proxies depends on a ui file from gtkproxies, so gtk+2 is kept unconditionally. Package-Manager: portage-2.2.20.1
Diffstat (limited to 'kde-plasma/kde-gtk-config/files/kde-gtk-config-5.4.2-gtk3-optional.patch')
-rw-r--r--kde-plasma/kde-gtk-config/files/kde-gtk-config-5.4.2-gtk3-optional.patch19
1 files changed, 19 insertions, 0 deletions
diff --git a/kde-plasma/kde-gtk-config/files/kde-gtk-config-5.4.2-gtk3-optional.patch b/kde-plasma/kde-gtk-config/files/kde-gtk-config-5.4.2-gtk3-optional.patch
new file mode 100644
index 00000000000..e1e8de2b174
--- /dev/null
+++ b/kde-plasma/kde-gtk-config/files/kde-gtk-config-5.4.2-gtk3-optional.patch
@@ -0,0 +1,19 @@
+--- a/CMakeLists.txt 2015-10-02 22:36:55.186480671 +0200
++++ b/CMakeLists.txt 2015-10-02 22:38:40.048169719 +0200
+@@ -17,6 +17,7 @@
+ include(ECMSetupVersion)
+ include(ECMInstallIcons)
+ include(ECMMarkAsTest)
++include(ECMOptionalAddSubdirectory)
+ include(GenerateExportHeader)
+ include(FeatureSummary)
+ include(KDEInstallDirs)
+@@ -62,7 +63,7 @@
+ install(FILES kde-gtk-config.desktop DESTINATION ${SERVICES_INSTALL_DIR})
+
+ add_subdirectory(gtkproxies)
+-add_subdirectory(gtk3proxies)
++ecm_optional_add_subdirectory(gtk3proxies)
+ add_subdirectory(icons)
+ add_subdirectory(tests)
+