mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
kde-apps/kalarm: remove unused patch(es)
Closes: https://github.com/gentoo/gentoo/pull/23165 Package-Manager: Portage-3.0.28, Repoman-3.0.3 Signed-off-by: Michael Mair-Keimberger <mmk@levelnine.at> Signed-off-by: Conrad Kostecki <conikost@gentoo.org>
This commit is contained in:
committed by
Conrad Kostecki
parent
11e7eb4e80
commit
6d4e288f1e
@@ -1,34 +0,0 @@
|
||||
From 1e5edd84cea5cac4dea2c488cea47766c1a33745 Mon Sep 17 00:00:00 2001
|
||||
From: Andreas Sturmlechner <asturm@gentoo.org>
|
||||
Date: Thu, 25 Nov 2021 18:33:30 +0100
|
||||
Subject: [PATCH] Add WITH_X11 switch
|
||||
|
||||
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
|
||||
---
|
||||
CMakeLists.txt | 3 ++-
|
||||
1 file changed, 2 insertions(+), 1 deletion(-)
|
||||
|
||||
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
||||
index fa699213..f928bf8b 100644
|
||||
--- a/CMakeLists.txt
|
||||
+++ b/CMakeLists.txt
|
||||
@@ -58,6 +58,7 @@ find_package(Qt5 ${QT_REQUIRED_VERSION} CONFIG REQUIRED DBus Gui Network Widgets
|
||||
set(CALENDARUTILS_LIB_VERSION "5.19.40")
|
||||
|
||||
option(FILE_RESOURCES "Use file system resources instead of Akonadi resources." TRUE)
|
||||
+option(WITH_X11 "Build with X11 support" TRUE)
|
||||
|
||||
# Find KF5 packages
|
||||
find_package(KF5Auth ${KF5_MIN_VERSION} CONFIG REQUIRED)
|
||||
@@ -106,7 +107,7 @@ find_package(KF5PimTextEdit ${KPIMTEXTEDIT_LIB_VERSION} CONFIG REQUIRED)
|
||||
|
||||
configure_file(kalarm-version-string.h.cmake ${CMAKE_CURRENT_BINARY_DIR}/kalarm-version-string.h @ONLY)
|
||||
|
||||
-if (NOT APPLE)
|
||||
+if (NOT APPLE AND WITH_X11)
|
||||
find_package(X11)
|
||||
endif()
|
||||
if (X11_FOUND)
|
||||
--
|
||||
2.33.1
|
||||
|
||||
Reference in New Issue
Block a user