summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--kde-misc/kdeconnect/files/kdeconnect-23.04.0-telephony-optional.patch40
-rw-r--r--kde-misc/kdeconnect/kdeconnect-23.04.49.9999.ebuild101
2 files changed, 0 insertions, 141 deletions
diff --git a/kde-misc/kdeconnect/files/kdeconnect-23.04.0-telephony-optional.patch b/kde-misc/kdeconnect/files/kdeconnect-23.04.0-telephony-optional.patch
deleted file mode 100644
index bec66fd6453..00000000000
--- a/kde-misc/kdeconnect/files/kdeconnect-23.04.0-telephony-optional.patch
+++ /dev/null
@@ -1,40 +0,0 @@
-From 97e47efdf6626fa0ae282684ab50ee6fce67d642 Mon Sep 17 00:00:00 2001
-From: Heiko Becker <heiko.becker@kde.org>
-Date: Mon, 20 Mar 2023 20:33:11 +0100
-Subject: [PATCH] Make mmtelephony plugin optional
-
-I see little purpose in pulling that stack in on a desktop computer,
-which doesn't even have a modem.
----
- plugins/CMakeLists.txt | 5 ++++-
- plugins/mmtelephony/CMakeLists.txt | 1 -
- 2 files changed, 4 insertions(+), 2 deletions(-)
-
-diff --git a/plugins/CMakeLists.txt b/plugins/CMakeLists.txt
-index dda19398b..1e304b88e 100644
---- a/plugins/CMakeLists.txt
-+++ b/plugins/CMakeLists.txt
-@@ -39,7 +39,10 @@ if(NOT SAILFISHOS)
- add_subdirectory(virtualmonitor)
-
- if(${CMAKE_SYSTEM_NAME} STREQUAL "Linux")
-- add_subdirectory(mmtelephony)
-+ find_package(KF5ModemManagerQt ${KF5_MIN_VERSION})
-+ if (TARGET KF5::ModemManagerQt)
-+ add_subdirectory(mmtelephony)
-+ endif()
- endif()
-
- if(NOT WIN32)
-diff --git a/plugins/mmtelephony/CMakeLists.txt b/plugins/mmtelephony/CMakeLists.txt
-index 1fd9afe1e..c792b4c7c 100644
---- a/plugins/mmtelephony/CMakeLists.txt
-+++ b/plugins/mmtelephony/CMakeLists.txt
-@@ -1,4 +1,3 @@
--find_package(KF5 ${KF5_MIN_VERSION} REQUIRED COMPONENTS ModemManagerQt)
- set(debug_file_SRCS)
- ecm_qt_declare_logging_category(
- debug_file_SRCS HEADER plugin_mmtelephony_debug.h
---
-GitLab
-
diff --git a/kde-misc/kdeconnect/kdeconnect-23.04.49.9999.ebuild b/kde-misc/kdeconnect/kdeconnect-23.04.49.9999.ebuild
deleted file mode 100644
index c3ec21c4c44..00000000000
--- a/kde-misc/kdeconnect/kdeconnect-23.04.49.9999.ebuild
+++ /dev/null
@@ -1,101 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-ECM_HANDBOOK="optional"
-ECM_TEST="true"
-KDE_ORG_NAME="${PN}-kde"
-KDE_SELINUX_MODULE="${PN}"
-KFMIN=5.106.0
-QTMIN=5.15.9
-inherit ecm gear.kde.org
-
-DESCRIPTION="Adds communication between KDE Plasma and your smartphone"
-HOMEPAGE="https://kdeconnect.kde.org/ https://apps.kde.org/kdeconnect/"
-
-LICENSE="GPL-2+"
-SLOT="5"
-KEYWORDS=""
-IUSE="bluetooth pulseaudio telephony X"
-
-RESTRICT="test"
-
-COMMON_DEPEND="
- >=app-crypt/qca-2.3.0:2[qt5(+),ssl]
- >=dev-libs/wayland-1.15.0
- >=dev-qt/qtdbus-${QTMIN}:5
- >=dev-qt/qtdeclarative-${QTMIN}:5
- >=dev-qt/qtgui-${QTMIN}:5=
- >=dev-qt/qtmultimedia-${QTMIN}:5
- >=dev-qt/qtnetwork-${QTMIN}:5
- >=dev-qt/qtquickcontrols2-${QTMIN}:5
- >=dev-qt/qtwayland-${QTMIN}:5
- >=dev-qt/qtwidgets-${QTMIN}:5
- >=dev-qt/qtx11extras-${QTMIN}:5
- >=kde-frameworks/kcmutils-${KFMIN}:5
- >=kde-frameworks/kconfig-${KFMIN}:5
- >=kde-frameworks/kconfigwidgets-${KFMIN}:5
- >=kde-frameworks/kcoreaddons-${KFMIN}:5
- >=kde-frameworks/kdbusaddons-${KFMIN}:5
- >=kde-frameworks/kguiaddons-${KFMIN}:5
- >=kde-frameworks/ki18n-${KFMIN}:5
- >=kde-frameworks/kiconthemes-${KFMIN}:5
- >=kde-frameworks/kio-${KFMIN}:5
- >=kde-frameworks/kirigami-${KFMIN}:5
- >=kde-frameworks/knotifications-${KFMIN}:5
- >=kde-frameworks/kpeople-${KFMIN}:5
- >=kde-frameworks/kservice-${KFMIN}:5
- >=kde-frameworks/kwidgetsaddons-${KFMIN}:5
- >=kde-frameworks/kwindowsystem-${KFMIN}:5
- >=kde-frameworks/plasma-${KFMIN}:5
- >=kde-frameworks/qqc2-desktop-style-${KFMIN}:5
- >=kde-frameworks/solid-${KFMIN}:5
- x11-libs/libxkbcommon
- bluetooth? ( >=dev-qt/qtbluetooth-${QTMIN}:5 )
- pulseaudio? ( media-libs/pulseaudio-qt:= )
- telephony? ( >=kde-frameworks/modemmanager-qt-${KFMIN}:5 )
- X? (
- x11-libs/libfakekey
- x11-libs/libX11
- x11-libs/libXtst
- )
-"
-DEPEND="${COMMON_DEPEND}
- dev-libs/wayland-protocols
-"
-RDEPEND="${COMMON_DEPEND}
- dev-libs/kpeoplevcard
- >=dev-qt/qtgraphicaleffects-${QTMIN}:5
- >=dev-qt/qtmultimedia-${QTMIN}:5[qml]
- >=kde-frameworks/kdeclarative-${KFMIN}:5
- net-fs/sshfs
-"
-BDEPEND="
- >=dev-qt/qtwaylandscanner-${QTMIN}:5
- dev-util/wayland-scanner
-"
-
-PATCHES=(
- "${FILESDIR}/${PN}-21.07.80-revert-disable-kpeople.patch"
- "${FILESDIR}/${PN}-23.04.0-telephony-optional.patch" # bug 904823
-)
-
-src_configure() {
- local mycmakeargs=(
- -DBLUETOOTH_ENABLED=$(usex bluetooth)
- $(cmake_use_find_package pulseaudio KF5PulseAudioQt)
- $(cmake_use_find_package telephony KF5ModemManagerQt)
- $(cmake_use_find_package X LibFakeKey)
- )
- ecm_src_configure
-}
-
-pkg_postinst() {
- ecm_pkg_postinst
-
- elog "The Android .apk file is available via"
- elog "https://play.google.com/store/apps/details?id=org.kde.kdeconnect_tp"
- elog "or via"
- elog "https://f-droid.org/packages/org.kde.kdeconnect_tp/"
-}