summaryrefslogtreecommitdiff
path: root/libre/digikam/0001-optionally-enable-OpenGL.patch
diff options
context:
space:
mode:
Diffstat (limited to 'libre/digikam/0001-optionally-enable-OpenGL.patch')
-rw-r--r--libre/digikam/0001-optionally-enable-OpenGL.patch34
1 files changed, 0 insertions, 34 deletions
diff --git a/libre/digikam/0001-optionally-enable-OpenGL.patch b/libre/digikam/0001-optionally-enable-OpenGL.patch
deleted file mode 100644
index f87e8e4a8..000000000
--- a/libre/digikam/0001-optionally-enable-OpenGL.patch
+++ /dev/null
@@ -1,34 +0,0 @@
-From 9b37ca152cbae4b86ce2b93f7b1af58f092d1ccf Mon Sep 17 00:00:00 2001
-From: Kevin Mihelich <kevin@archlinuxarm.org>
-Date: Tue, 5 Jul 2016 18:47:56 -0600
-Subject: [PATCH] optionally enable OpenGL
-
-Signed-off-by: Kevin Mihelich <kevin@archlinuxarm.org>
----
- CMakeLists.txt | 3 ++-
- 1 file changed, 2 insertions(+), 1 deletion(-)
-
-diff --git a/CMakeLists.txt b/CMakeLists.txt
-index 89e0682..b60d0b4 100644
---- a/CMakeLists.txt
-+++ b/CMakeLists.txt
-@@ -105,6 +105,7 @@ option(ENABLE_KFILEMETADATASUPPORT "Build digiKam with KDE files indexer suppor
- option(ENABLE_AKONADICONTACTSUPPORT "Build digiKam with KDE Mail Contacts support (default=OFF)" OFF)
- option(ENABLE_MEDIAPLAYER "Build digiKam with Media Player support (default=OFF)" OFF)
- option(ENABLE_DBUS "Build digiKam with DBUS support (default=ON)" ON)
-+option(ENABLE_OPENGL "Build digiKam with OpenGL support (default=ON)" ON)
- option(ENABLE_APPSTYLES "Build digiKam with support for changing the widget application style (default=OFF)" OFF)
-
- # Mysql support options (experimental):
-@@ -293,7 +294,7 @@ else()
- endif()
-
- # decide if Presentation tool can be built with OpenGL
--if(OPENGL_FOUND AND OPENGL_GLU_FOUND AND Qt5OpenGL_FOUND)
-+if(OPENGL_FOUND AND OPENGL_GLU_FOUND AND Qt5OpenGL_FOUND AND ENABLE_OPENGL)
- set(HAVE_OPENGL TRUE)
- elseif()
- set(HAVE_OPENGL FALSE)
---
-2.10.2
-