diff options
author | 2021-05-09 01:55:10 +0200 | |
---|---|---|
committer | 2021-05-09 14:10:08 +0200 | |
commit | 9e040eab9b158b0512a1702be7a7b7747da7a1be (patch) | |
tree | 236f4d031f6880dbcd6fa3a83a0a97b109bfa920 /kde-plasma/plasma-nm | |
parent | kde-plasma/plasma-meta: 5.21.5 version bump (diff) | |
download | gentoo-9e040eab9b158b0512a1702be7a7b7747da7a1be.tar.gz gentoo-9e040eab9b158b0512a1702be7a7b7747da7a1be.tar.bz2 gentoo-9e040eab9b158b0512a1702be7a7b7747da7a1be.zip |
kde-plasma/plasma-nm: 5.21.5 version bump
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'kde-plasma/plasma-nm')
-rw-r--r-- | kde-plasma/plasma-nm/Manifest | 1 | ||||
-rw-r--r-- | kde-plasma/plasma-nm/files/plasma-nm-5.21.5-missing-include.patch | 30 | ||||
-rw-r--r-- | kde-plasma/plasma-nm/plasma-nm-5.21.5.ebuild | 83 |
3 files changed, 114 insertions, 0 deletions
diff --git a/kde-plasma/plasma-nm/Manifest b/kde-plasma/plasma-nm/Manifest index 7cdc779a7d2d..821e1e844bc9 100644 --- a/kde-plasma/plasma-nm/Manifest +++ b/kde-plasma/plasma-nm/Manifest @@ -1,2 +1,3 @@ DIST plasma-nm-5.20.5.tar.xz 865364 BLAKE2B 3a316674e9c9bbe7df09c34610f117bbacfa60515e93077103a7956aa1999cc8bef7e4e5add53d3ccb847557c7fadf17ab23d82e392e1b2822cecb9dc33598bb SHA512 6413dcbc6b8723384ecc6897331947343f399bedba6aff9148bc34485b54c5fd6a91b77d63390b0c398c8bcad8151de3f1746c71f3cfae9476632e2386ab6ff7 DIST plasma-nm-5.21.4.tar.xz 896848 BLAKE2B 65d1d5cc225da5ea2e5d6b8910a47f67f0d52ed2e53cfecf47eb185320249f32d77c8c87d0165beebf0e4b0fe1c3d87d79c3e5adc2566798e82aa6c600f8e208 SHA512 5630ba5c397858e31c18ffb9dce7f3345264f48e0c7821c1ce8f132e006f65fdfbfc92b829d34b30abbfcca8e8dcbf0f9c72ed0978f373bb70d5c3a6443df703 +DIST plasma-nm-5.21.5.tar.xz 902104 BLAKE2B 8b881f39e01b7de0107b897c81fffb7bfa429a0bd7d8eb58026328ac42c411d5dd8e154e843767098731174a492e64b6c8a28c8af474584862f58081d9a5e751 SHA512 ac074e50d5ee3be99bab515b02522e391b14936c1c8152ca067c7513af7a8e8b81cb55ab9b412ca703554f3e35fc9392368159c9872d8c372017089a4a65e3fa diff --git a/kde-plasma/plasma-nm/files/plasma-nm-5.21.5-missing-include.patch b/kde-plasma/plasma-nm/files/plasma-nm-5.21.5-missing-include.patch new file mode 100644 index 000000000000..db8f98b072b7 --- /dev/null +++ b/kde-plasma/plasma-nm/files/plasma-nm-5.21.5-missing-include.patch @@ -0,0 +1,30 @@ +From 8d1720ac924c8453f80ac560470d9d92bdd94b07 Mon Sep 17 00:00:00 2001 +From: Heiko Becker <heiko.becker@kde.org> +Date: Tue, 4 May 2021 20:49:29 +0200 +Subject: [PATCH] Add missing QQueue include + +Used since 64dc6234b6980172bb53084c16a0e4e693d6011a. I suppose it's +implicitly pulled in some cases, but for me the build fails with +"networkmodel.h:126:56: error: field 'm_updateQueue' has incomplete +type 'QQueue<QPair<NetworkModel::ModelChangeType, NetworkModelItem*> >'". + +(cherry picked from commit 2bccd7c3bc3aa12ddd1886b14041f1448c634a69) +--- + libs/models/networkmodel.h | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/libs/models/networkmodel.h b/libs/models/networkmodel.h +index ebe6db52..749cb919 100644 +--- a/libs/models/networkmodel.h ++++ b/libs/models/networkmodel.h +@@ -22,6 +22,7 @@ + #define PLASMA_NM_NETWORK_MODEL_H + + #include <QAbstractListModel> ++#include <QQueue> + + #include "networkitemslist.h" + +-- +GitLab + diff --git a/kde-plasma/plasma-nm/plasma-nm-5.21.5.ebuild b/kde-plasma/plasma-nm/plasma-nm-5.21.5.ebuild new file mode 100644 index 000000000000..a24d6cab271b --- /dev/null +++ b/kde-plasma/plasma-nm/plasma-nm-5.21.5.ebuild @@ -0,0 +1,83 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +ECM_TEST="true" +KFMIN=5.82.0 +PVCUT=$(ver_cut 1-3) +QTMIN=5.15.2 +inherit ecm kde.org + +DESCRIPTION="KDE Plasma applet for NetworkManager" + +LICENSE="GPL-2 LGPL-2.1" +SLOT="5" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86" +IUSE="modemmanager openconnect teamd" + +DEPEND=" + >=app-crypt/qca-2.3.0:2 + >=dev-qt/qtdbus-${QTMIN}:5 + >=dev-qt/qtdeclarative-${QTMIN}:5[widgets] + >=dev-qt/qtgui-${QTMIN}:5 + >=dev-qt/qtnetwork-${QTMIN}:5 + >=dev-qt/qtwidgets-${QTMIN}:5 + >=kde-frameworks/kcompletion-${KFMIN}:5 + >=kde-frameworks/kconfig-${KFMIN}:5 + >=kde-frameworks/kconfigwidgets-${KFMIN}:5 + >=kde-frameworks/kcoreaddons-${KFMIN}:5 + >=kde-frameworks/kdbusaddons-${KFMIN}:5 + >=kde-frameworks/kdeclarative-${KFMIN}:5 + >=kde-frameworks/ki18n-${KFMIN}:5 + >=kde-frameworks/kio-${KFMIN}:5 + >=kde-frameworks/kitemviews-${KFMIN}:5 + >=kde-frameworks/knotifications-${KFMIN}:5 + >=kde-frameworks/kservice-${KFMIN}:5 + >=kde-frameworks/kwallet-${KFMIN}:5 + >=kde-frameworks/kwidgetsaddons-${KFMIN}:5 + >=kde-frameworks/kwindowsystem-${KFMIN}:5 + >=kde-frameworks/kxmlgui-${KFMIN}:5 + >=kde-frameworks/networkmanager-qt-${KFMIN}:5[teamd=] + >=kde-frameworks/plasma-${KFMIN}:5 + >=kde-frameworks/solid-${KFMIN}:5 + net-misc/networkmanager[teamd=] + modemmanager? ( + >=dev-qt/qtxml-${QTMIN}:5 + >=kde-frameworks/modemmanager-qt-${KFMIN}:5 + net-misc/mobile-broadband-provider-info + ) + openconnect? ( + >=dev-qt/qtxml-${QTMIN}:5 + net-vpn/networkmanager-openconnect + net-vpn/openconnect:= + ) +" +RDEPEND="${DEPEND} + >=dev-qt/qtquickcontrols-${QTMIN}:5 + >=dev-qt/qtquickcontrols2-${QTMIN}:5 + >=kde-frameworks/kirigami-${KFMIN}:5 + >=kde-plasma/kde-cli-tools-${PVCUT}:5 +" + +PATCHES=( "${FILESDIR}/${P}-missing-include.patch" ) + +src_configure() { + local mycmakeargs=( + -DDISABLE_MODEMMANAGER_SUPPORT=$(usex !modemmanager) + $(cmake_use_find_package modemmanager KF5ModemManagerQt) + $(cmake_use_find_package openconnect OpenConnect) + ) + + ecm_src_configure +} + +pkg_postinst() { + ecm_pkg_postinst + + if ! has_version "kde-plasma/plasma-workspace:5"; then + elog "${PN} is not terribly useful without kde-plasma/plasma-workspace:5." + elog "However, the networkmanagement KCM can be called from either systemsettings" + elog "or manually: $ kcmshell5 kcm_networkmanagement" + fi +} |