summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2021-11-28 14:08:28 +0100
committerAndreas Sturmlechner <asturm@gentoo.org>2021-11-29 14:51:53 +0100
commit40740b2f587a3ea35ed112bfb495b339c72094ca (patch)
tree97b7c5efed1736ea9075b8a4ad10e70d00aa27e3 /kde-apps/kalarm
parentkde-apps/kaddressbook: drop 21.04.3* (diff)
downloadgentoo-40740b2f587a3ea35ed112bfb495b339c72094ca.tar.gz
gentoo-40740b2f587a3ea35ed112bfb495b339c72094ca.tar.bz2
gentoo-40740b2f587a3ea35ed112bfb495b339c72094ca.zip
kde-apps/kalarm: drop 21.04.3*
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'kde-apps/kalarm')
-rw-r--r--kde-apps/kalarm/Manifest1
-rw-r--r--kde-apps/kalarm/files/kalarm-21.08.3-x11-optional.patch34
-rw-r--r--kde-apps/kalarm/kalarm-21.04.3.ebuild82
3 files changed, 34 insertions, 83 deletions
diff --git a/kde-apps/kalarm/Manifest b/kde-apps/kalarm/Manifest
index 16b0ba0c3f7a..8bd95204a3ad 100644
--- a/kde-apps/kalarm/Manifest
+++ b/kde-apps/kalarm/Manifest
@@ -1,2 +1 @@
-DIST kalarm-21.04.3.tar.xz 2137400 BLAKE2B f5ecec13b3a0b7895cb1f815cb8d6dec828574e890ab26a2dc9410ce1fca63dd46a7dda9e6ddb8b690cfe7563b517b5673553a28c91c44f3d3755f30d712be75 SHA512 19a9bb6e185b86fe4710d04a8dc4985b8d0c0e49cc53c5fde24e23e4c0cfa4587aea4400957190606122db1363be7a705c5ca0a716631b0eb3a496b82b550f42
DIST kalarm-21.08.3.tar.xz 2158988 BLAKE2B 45e544bc518a0640760a0af329983ab6b052fcc0cbba43beff5963018cdd4992053aec6fac506784fe826b626591218eb24bb654402e7a00ae009b5234b54d83 SHA512 690c89006598e8e87e1fd4b0f9b5d183280efa3f5f2d1fcda01607498b03ffad75a60e49ef4435f8fd66357231446c187a77d9976a6c04d98519f8ca3747a1b7
diff --git a/kde-apps/kalarm/files/kalarm-21.08.3-x11-optional.patch b/kde-apps/kalarm/files/kalarm-21.08.3-x11-optional.patch
new file mode 100644
index 000000000000..0b92c6fe5803
--- /dev/null
+++ b/kde-apps/kalarm/files/kalarm-21.08.3-x11-optional.patch
@@ -0,0 +1,34 @@
+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
+
diff --git a/kde-apps/kalarm/kalarm-21.04.3.ebuild b/kde-apps/kalarm/kalarm-21.04.3.ebuild
deleted file mode 100644
index 63ca4da95106..000000000000
--- a/kde-apps/kalarm/kalarm-21.04.3.ebuild
+++ /dev/null
@@ -1,82 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-ECM_HANDBOOK="forceoptional"
-PVCUT=$(ver_cut 1-3)
-KFMIN=5.80.0
-QTMIN=5.15.2
-inherit ecm kde.org
-
-DESCRIPTION="Application to manage alarms and other timer based alerts for the desktop"
-HOMEPAGE="https://apps.kde.org/kalarm/ https://userbase.kde.org/KAlarm"
-
-LICENSE="GPL-2+ handbook? ( FDL-1.2+ )"
-SLOT="5"
-KEYWORDS="amd64 arm64 ~ppc64 x86"
-IUSE="X"
-
-DEPEND="
- >=dev-qt/qtdbus-${QTMIN}:5
- >=dev-qt/qtgui-${QTMIN}:5
- >=dev-qt/qtnetwork-${QTMIN}:5
- >=dev-qt/qtwidgets-${QTMIN}:5
- >=kde-apps/akonadi-${PVCUT}:5
- >=kde-apps/akonadi-contacts-${PVCUT}:5
- >=kde-apps/akonadi-mime-${PVCUT}:5
- >=kde-apps/grantleetheme-${PVCUT}:5
- >=kde-apps/kalarmcal-${PVCUT}:5
- >=kde-apps/kcalutils-${PVCUT}:5
- >=kde-apps/kidentitymanagement-${PVCUT}:5
- >=kde-apps/kmailtransport-${PVCUT}:5
- >=kde-apps/kmime-${PVCUT}:5
- >=kde-apps/kontactinterface-${PVCUT}:5
- >=kde-apps/kpimtextedit-${PVCUT}:5
- >=kde-apps/pimcommon-${PVCUT}:5
- >=kde-frameworks/kauth-${KFMIN}:5
- >=kde-frameworks/kcalendarcore-${KFMIN}:5
- >=kde-frameworks/kcmutils-${KFMIN}:5
- >=kde-frameworks/kcodecs-${KFMIN}:5
- >=kde-frameworks/kcompletion-${KFMIN}:5
- >=kde-frameworks/kconfig-${KFMIN}:5
- >=kde-frameworks/kconfigwidgets-${KFMIN}:5
- >=kde-frameworks/kcontacts-${KFMIN}:5
- >=kde-frameworks/kcoreaddons-${KFMIN}:5
- >=kde-frameworks/kcrash-${KFMIN}:5
- >=kde-frameworks/kdbusaddons-${KFMIN}:5
- >=kde-frameworks/kglobalaccel-${KFMIN}:5
- >=kde-frameworks/kguiaddons-${KFMIN}:5
- >=kde-frameworks/kholidays-${KFMIN}:5
- >=kde-frameworks/ki18n-${KFMIN}:5
- >=kde-frameworks/kiconthemes-${KFMIN}:5
- >=kde-frameworks/kidletime-${KFMIN}:5
- >=kde-frameworks/kio-${KFMIN}:5
- >=kde-frameworks/kitemmodels-${KFMIN}:5
- >=kde-frameworks/kjobwidgets-${KFMIN}:5
- >=kde-frameworks/knotifications-${KFMIN}:5
- >=kde-frameworks/knotifyconfig-${KFMIN}:5
- >=kde-frameworks/kservice-${KFMIN}:5
- >=kde-frameworks/ktextwidgets-${KFMIN}:5
- >=kde-frameworks/kwidgetsaddons-${KFMIN}:5
- >=kde-frameworks/kwindowsystem-${KFMIN}:5
- >=kde-frameworks/kxmlgui-${KFMIN}:5
- >=media-libs/phonon-4.11.0
- X? (
- >=dev-qt/qtx11extras-${QTMIN}:5
- x11-libs/libX11
- )
-"
-RDEPEND="${DEPEND}
- >=kde-apps/kdepim-runtime-${PVCUT}:5
-"
-BDEPEND="dev-libs/libxslt"
-
-src_configure() {
- local mycmakeargs=(
- $(cmake_use_find_package X Qt5X11Extras)
- $(cmake_use_find_package X X11)
- )
-
- ecm_src_configure
-}