summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2022-11-08 16:56:20 +0100
committerAndreas Sturmlechner <asturm@gentoo.org>2022-11-08 16:59:58 +0100
commit998d75c3638cd1ca7961a8eb7bc2ef99c9f04514 (patch)
tree6f3d6d4a4b73c02b747586ea889488d0ab3482df /kde-plasma/plasma-nm
parentkde-plasma/plasma-meta: 5.26.3 version bump (diff)
downloadgentoo-998d75c3638cd1ca7961a8eb7bc2ef99c9f04514.tar.gz
gentoo-998d75c3638cd1ca7961a8eb7bc2ef99c9f04514.tar.bz2
gentoo-998d75c3638cd1ca7961a8eb7bc2ef99c9f04514.zip
kde-plasma/plasma-nm: 5.26.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.26.3.ebuild96
2 files changed, 97 insertions, 0 deletions
diff --git a/kde-plasma/plasma-nm/Manifest b/kde-plasma/plasma-nm/Manifest
index 268c8a508d9c..9ce192e6be4e 100644
--- a/kde-plasma/plasma-nm/Manifest
+++ b/kde-plasma/plasma-nm/Manifest
@@ -1,2 +1,3 @@
DIST plasma-nm-5.25.5.tar.xz 950520 BLAKE2B 4dfd8bcff7bb6c176c5ead81f5e667df3411e89b15aff5f5e2615b0ad58084748b70585be81c82510c704bdd04269ef3348760bd69c6e5830bc1480837e158e8 SHA512 5aa1fc85e8f6b373419d188145d5501764f9aa8d246c2de7f7463483565216c6c0069d9a413993a861a083d55a504c01ea967888d9ac1ea2a7fae26b7bee06f4
DIST plasma-nm-5.26.2.tar.xz 970544 BLAKE2B b3f81aaecd748bf5c71dadc66e1677bfa3923bebad4cd4aa043ade986b1cabbbbc818cf91b8d7d86fb6c425c3b5bf619f7f4a43bead6560474c7850f3f7bc874 SHA512 24385f9765f04a2b54c3cea716e35fc7d210b369dd17c5378a398b95e7e9abc998662ed067ca592f43e81ab6785de85a7fd2aa85ff27050fc05064e1da0341e3
+DIST plasma-nm-5.26.3.tar.xz 972396 BLAKE2B df285aa373d6a410bba1be281f39a087c43c5b5a241c2f7ebf3355f2d12f3ddde03637203e3e21502ef1f66cf9dd9d8447b38b9f8b7718850c0d5ea8d1c6757b SHA512 3c5f9d10a92cc214d1fff4238c5441000b538228df452cb12d5086377947d4c4e16ae8a91f8609cf3854a419d6afcc589974089c380255a6a8668714990dff7a
diff --git a/kde-plasma/plasma-nm/plasma-nm-5.26.3.ebuild b/kde-plasma/plasma-nm/plasma-nm-5.26.3.ebuild
new file mode 100644
index 000000000000..e01460cd0d51
--- /dev/null
+++ b/kde-plasma/plasma-nm/plasma-nm-5.26.3.ebuild
@@ -0,0 +1,96 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+ECM_TEST="true"
+KFMIN=5.99.0
+PVCUT=$(ver_cut 1-3)
+QTMIN=5.15.5
+inherit ecm plasma.kde.org
+
+DESCRIPTION="KDE Plasma applet for NetworkManager"
+
+LICENSE="GPL-2 LGPL-2.1"
+SLOT="5"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv"
+IUSE="modemmanager openconnect teamd"
+
+DEPEND="
+ >=app-crypt/qca-2.3.0:2[qt5(+)]
+ >=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/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/kdeclarative-${KFMIN}:5
+ >=kde-frameworks/kirigami-${KFMIN}:5
+ >=kde-frameworks/kquickcharts-${KFMIN}:5
+ >=kde-plasma/kde-cli-tools-${PVCUT}:5
+"
+BDEPEND="
+ >=kde-frameworks/kcmutils-${KFMIN}:5
+ virtual/pkgconfig
+"
+
+PATCHES=( "${FILESDIR}/${PN}-5.26.0-unused-dep.patch" )
+
+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
+}