summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2022-03-08 13:56:37 +0100
committerAndreas Sturmlechner <asturm@gentoo.org>2022-03-08 18:16:03 +0100
commit6dcea05b4d8731a13b56ce639bc5b057300ffb5d (patch)
treee263e3089e74fdd9043f552610382e08bcc17d66 /kde-plasma/plasma-nm
parentkde-plasma/plasma-meta: 5.24.3 version bump (diff)
downloadgentoo-6dcea05b4d8731a13b56ce639bc5b057300ffb5d.tar.gz
gentoo-6dcea05b4d8731a13b56ce639bc5b057300ffb5d.tar.bz2
gentoo-6dcea05b4d8731a13b56ce639bc5b057300ffb5d.zip
kde-plasma/plasma-nm: 5.24.3 version bump
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'kde-plasma/plasma-nm')
-rw-r--r--kde-plasma/plasma-nm/Manifest1
-rw-r--r--kde-plasma/plasma-nm/plasma-nm-5.24.3.ebuild90
2 files changed, 91 insertions, 0 deletions
diff --git a/kde-plasma/plasma-nm/Manifest b/kde-plasma/plasma-nm/Manifest
index 38c25958cfa1..465426e3a810 100644
--- a/kde-plasma/plasma-nm/Manifest
+++ b/kde-plasma/plasma-nm/Manifest
@@ -1,2 +1,3 @@
DIST plasma-nm-5.23.5.tar.xz 924156 BLAKE2B 5b52aa51a26296fe8599f9746ae1d989f0e0d73d69483881a6a18b81ff737adf9b0e3b968d3e1d0c4777d65612a4675bfc7816dfdd9f9bad23d27249fbaebd65 SHA512 ad28044d06aa8ff6798a0a36fd9b102b03d59859101c1175888dbe5db8f1864b74a6652a00e330658fa26c1215b208484cff4eda5f7a9859587614825c6379bd
DIST plasma-nm-5.24.2.tar.xz 923872 BLAKE2B 987be2a8f53c5794f9b69ff4877741d4cd67014d632d24c22d6e503e50098938ed8433e65036245570ec22e8b52460bdc61b435008e0e2506b43fb3b03433c55 SHA512 2e3401b5069499c1eb23e85f0853706f22a81dd79473fa8035657e7d0764e93c358f8d2114af44ad0e69f82d758927b71156c4e009365a6718bb4e60f8b424e5
+DIST plasma-nm-5.24.3.tar.xz 925252 BLAKE2B c3153e78d7c24c046980f115f9bab386d53a6839ff8c3187f0244280377e7f085958d319783f598acf321dec24fa44c9c6b4aff8c2959629e9b67530d46b5624 SHA512 f3e197e56d2e27c0d56fc7773426e21a6e2ed080d9e261430725ebe2afc90807d26caca5943e6433cc6aa0306599879ece2cb1fb5add784ace39d55c26a65c17
diff --git a/kde-plasma/plasma-nm/plasma-nm-5.24.3.ebuild b/kde-plasma/plasma-nm/plasma-nm-5.24.3.ebuild
new file mode 100644
index 000000000000..2069ad424702
--- /dev/null
+++ b/kde-plasma/plasma-nm/plasma-nm-5.24.3.ebuild
@@ -0,0 +1,90 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+ECM_TEST="true"
+KFMIN=5.90.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 ~riscv ~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
+"
+BDEPEND="virtual/pkgconfig"
+
+src_prepare() {
+ ecm_src_prepare
+
+ # TODO: try to get a build switch upstreamed
+ if ! use openconnect; then
+ sed -e "s/^pkg_check_modules.*openconnect/#&/" -i CMakeLists.txt || die
+ fi
+}
+
+src_configure() {
+ local mycmakeargs=(
+ -DDISABLE_MODEMMANAGER_SUPPORT=$(usex !modemmanager)
+ $(cmake_use_find_package modemmanager KF5ModemManagerQt)
+ )
+
+ 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
+}