summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2022-10-08 20:05:31 +0200
committerAndreas Sturmlechner <asturm@gentoo.org>2022-10-10 10:14:43 +0200
commitf35e55ec19e22894304845f1fdd790aa24bbf917 (patch)
treeedd5c0e0e88a4c9e6bd8c49edf646078d21bcb40 /kde-frameworks/knotifications
parentkde-frameworks/kjobwidgets: drop 5.98.0 (diff)
downloadgentoo-f35e55ec19e22894304845f1fdd790aa24bbf917.tar.gz
gentoo-f35e55ec19e22894304845f1fdd790aa24bbf917.tar.bz2
gentoo-f35e55ec19e22894304845f1fdd790aa24bbf917.zip
kde-frameworks/knotifications: drop 5.98.0-r1
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'kde-frameworks/knotifications')
-rw-r--r--kde-frameworks/knotifications/Manifest1
-rw-r--r--kde-frameworks/knotifications/files/knotifications-5.98.0-without_x11.patch81
-rw-r--r--kde-frameworks/knotifications/knotifications-5.98.0-r1.ebuild52
3 files changed, 0 insertions, 134 deletions
diff --git a/kde-frameworks/knotifications/Manifest b/kde-frameworks/knotifications/Manifest
index aadc8ce8bbcf..f55b1e19cb27 100644
--- a/kde-frameworks/knotifications/Manifest
+++ b/kde-frameworks/knotifications/Manifest
@@ -1,3 +1,2 @@
DIST knotifications-5.96.0.tar.xz 132380 BLAKE2B 6f0ec16faabfbeac68e70257501bf9faf980cb57ebb20a4324c3de7846062fe3cc862a289aff273e5b5cf9557bcafac3cb283d763f684940abfc026bb94a53ef SHA512 a38af9f7fb2d472589846e0b62ee56865f229662167bfc09b7e85ae18619fe67a71f06c4ddfc8da81093736810ba5db82ac91b5fd40bbb88357ff647d91746e9
-DIST knotifications-5.98.0.tar.xz 132164 BLAKE2B b015ae257d76d13fae7670bc6b0cc7f87f3b5fb145b45afbf2417e0d0a409dc8a5f4ab95c5921820e8b51053c16999724c45de01463e12b714ca04d7a57baf69 SHA512 05ed1d4bdb6cfa5d4fec3fbd3fb729bab487965a7ad79a5ba271613bad5ab69cd1e43808e75e504ff46f0d1af3e6c5e489324662529588f37a94ccda5b834efa
DIST knotifications-5.99.0.tar.xz 132248 BLAKE2B bc90dd560da54b9cd200135ce4ba793be8fcf2ae36da4dfa0e18b4aa204c91ad2ffa37dc6840aed30fd6dbda1b79ac5b37f538d8718be202b59592170702e862 SHA512 a648e864ec27b47b48923bd6b3eaf593c76fdd936abb818aa15d944268ff1a3f5c27e6fbe0bad3519f7b0c4f4c21245a24e041f8eeb33114a8fb7baeb77f415e
diff --git a/kde-frameworks/knotifications/files/knotifications-5.98.0-without_x11.patch b/kde-frameworks/knotifications/files/knotifications-5.98.0-without_x11.patch
deleted file mode 100644
index 358b873bb5e2..000000000000
--- a/kde-frameworks/knotifications/files/knotifications-5.98.0-without_x11.patch
+++ /dev/null
@@ -1,81 +0,0 @@
-From 0450e434116acdc640b0c8256228feec8b363e47 Mon Sep 17 00:00:00 2001
-From: Andreas Sturmlechner <asturm@gentoo.org>
-Date: Tue, 2 Aug 2022 10:14:51 +0200
-Subject: [PATCH] Add CMake option to build WITHOUT_X11
-
-We want to be able to build without X11 support even if some of the used
-libraries may not work w/o X11 themselves yet or need to be built with
-X11 support for other reverse dependencies.
-
-HAVE_X11 already exists and is set automagically so far, but using
--DCMAKE_DISABLE_FIND_PACKAGE_X11 will break if any dependencies list X11
-as required in their cmake config.
-
-Introducing this option means there is no behavior change by default,
-cmake will just skip finding X11 or adding unwanted features if the
-option is enabled.
-
-Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
----
- CMakeLists.txt | 15 +++++++++------
- KF5NotificationsConfig.cmake.in | 2 +-
- src/CMakeLists.txt | 2 +-
- 3 files changed, 11 insertions(+), 8 deletions(-)
-
-diff --git a/CMakeLists.txt b/CMakeLists.txt
-index a59f704..8e6763f 100644
---- a/CMakeLists.txt
-+++ b/CMakeLists.txt
-@@ -75,14 +75,17 @@ if (QT_MAJOR_VERSION STREQUAL "5")
- endif()
-
- if (NOT APPLE AND NOT WIN32)
-- find_package(X11)
-+ option(WITHOUT_X11 "Build without X11 support (skips finding X11)." OFF)
-+ if(NOT WITHOUT_X11)
-+ find_package(X11)
-+ set(HAVE_X11 ${X11_FOUND})
-+ set(HAVE_XTEST ${X11_XTest_FOUND})
-+ if(X11_FOUND AND QT_MAJOR_VERSION STREQUAL "5")
-+ find_package(Qt5X11Extras ${REQUIRED_QT_VERSION} NO_MODULE REQUIRED)
-+ endif()
-+ endif()
- endif()
-
--set(HAVE_X11 ${X11_FOUND})
--set(HAVE_XTEST ${X11_XTest_FOUND})
--if(X11_FOUND AND QT_MAJOR_VERSION STREQUAL "5")
-- find_package(Qt5X11Extras ${REQUIRED_QT_VERSION} NO_MODULE REQUIRED)
--endif()
- if(APPLE)
- find_package(Qt5MacExtras ${REQUIRED_QT_VERSION} REQUIRED NO_MODULE)
- endif()
-diff --git a/KF5NotificationsConfig.cmake.in b/KF5NotificationsConfig.cmake.in
-index b0dbea8..dc97209 100644
---- a/KF5NotificationsConfig.cmake.in
-+++ b/KF5NotificationsConfig.cmake.in
-@@ -36,7 +36,7 @@ if (NOT @BUILD_SHARED_LIBS@)
- find_dependency(Qt5TextToSpeech @REQUIRED_QT_VERSION@)
- endif()
-
-- if(@X11_FOUND@)
-+ if(@HAVE_X11@)
- if (NOT TARGET Qt6::Gui)
- find_dependency(Qt5X11Extras @REQUIRED_QT_VERSION@)
- endif()
-diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
-index 7f47f54..8f63201 100644
---- a/src/CMakeLists.txt
-+++ b/src/CMakeLists.txt
-@@ -143,7 +143,7 @@ if (Qt5TextToSpeech_FOUND)
- target_link_libraries(KF5Notifications PRIVATE Qt5::TextToSpeech)
- endif()
-
--if(X11_FOUND)
-+if(HAVE_X11)
- target_link_libraries(KF5Notifications PRIVATE ${X11_X11_LIB})
- if (TARGET Qt5::X11Extras)
- target_link_libraries(KF5Notifications PRIVATE Qt5::X11Extras)
---
-GitLab
-
diff --git a/kde-frameworks/knotifications/knotifications-5.98.0-r1.ebuild b/kde-frameworks/knotifications/knotifications-5.98.0-r1.ebuild
deleted file mode 100644
index bae13cc8e50c..000000000000
--- a/kde-frameworks/knotifications/knotifications-5.98.0-r1.ebuild
+++ /dev/null
@@ -1,52 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-ECM_TEST="false"
-PVCUT=$(ver_cut 1-2)
-QTMIN=5.15.5
-inherit ecm frameworks.kde.org
-
-DESCRIPTION="Framework for notifying the user of an event"
-
-LICENSE="LGPL-2.1+"
-KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc64 ~riscv ~x86"
-IUSE="dbus nls phonon qml speech X"
-
-RDEPEND="
- >=dev-qt/qtdbus-${QTMIN}:5
- >=dev-qt/qtgui-${QTMIN}:5
- >=dev-qt/qtwidgets-${QTMIN}:5
- =kde-frameworks/kconfig-${PVCUT}*:5
- =kde-frameworks/kcoreaddons-${PVCUT}*:5
- =kde-frameworks/kwindowsystem-${PVCUT}*:5[X?]
- dbus? ( dev-libs/libdbusmenu-qt[qt5(+)] )
- !phonon? ( media-libs/libcanberra )
- phonon? ( >=media-libs/phonon-4.11.0 )
- qml? ( >=dev-qt/qtdeclarative-${QTMIN}:5 )
- speech? ( >=dev-qt/qtspeech-${QTMIN}:5 )
- X? (
- >=dev-qt/qtx11extras-${QTMIN}:5
- x11-libs/libX11
- x11-libs/libXtst
- )
-"
-DEPEND="${RDEPEND}
- X? ( x11-base/xorg-proto )
-"
-BDEPEND="nls? ( >=dev-qt/linguist-tools-${QTMIN}:5 )"
-
-PATCHES=( "${FILESDIR}/${P}-without_x11.patch" )
-
-src_configure() {
- local mycmakeargs=(
- $(cmake_use_find_package dbus dbusmenu-qt5)
- $(cmake_use_find_package !phonon Canberra)
- $(cmake_use_find_package qml Qt5Qml)
- $(cmake_use_find_package speech Qt5TextToSpeech)
- -DWITHOUT_X11=$(usex !X)
- )
-
- ecm_src_configure
-}