diff options
author | Andreas Sturmlechner <asturm@gentoo.org> | 2022-02-22 17:48:05 +0100 |
---|---|---|
committer | Andreas Sturmlechner <asturm@gentoo.org> | 2022-02-22 17:52:48 +0100 |
commit | ec297e48530443943b2eca35dd7efae42c837e04 (patch) | |
tree | 9f1ce6fed42f3b8bca8e12517a7afed4cbc45dcc /kde-plasma/plasma-nm | |
parent | kde-plasma/plasma-meta: 5.24.2 version bump (diff) | |
download | gentoo-ec297e48530443943b2eca35dd7efae42c837e04.tar.gz gentoo-ec297e48530443943b2eca35dd7efae42c837e04.tar.bz2 gentoo-ec297e48530443943b2eca35dd7efae42c837e04.zip |
kde-plasma/plasma-nm: 5.24.2 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/plasma-nm-5.24.2.ebuild | 90 |
2 files changed, 91 insertions, 0 deletions
diff --git a/kde-plasma/plasma-nm/Manifest b/kde-plasma/plasma-nm/Manifest index 0d2b3819ee81..bbcc6094a5ab 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.1.tar.xz 923220 BLAKE2B 574f48801605e928e3e083ad1079c4cd452f08e0a1f97dfad43bea2cef271abe3d628dc276cdcfb36e20d526be6089fc18f663dccd29a5b5b0fa4d76220302b4 SHA512 44e0ba76ef6ba9a55d52580c09cc5372027e1b002bb3f993a718a0e98579a10c35bd8f9bf6eb972019ee6e01682fbb81adadd628beb8b574517ad844d50359df +DIST plasma-nm-5.24.2.tar.xz 923872 BLAKE2B 987be2a8f53c5794f9b69ff4877741d4cd67014d632d24c22d6e503e50098938ed8433e65036245570ec22e8b52460bdc61b435008e0e2506b43fb3b03433c55 SHA512 2e3401b5069499c1eb23e85f0853706f22a81dd79473fa8035657e7d0764e93c358f8d2114af44ad0e69f82d758927b71156c4e009365a6718bb4e60f8b424e5 diff --git a/kde-plasma/plasma-nm/plasma-nm-5.24.2.ebuild b/kde-plasma/plasma-nm/plasma-nm-5.24.2.ebuild new file mode 100644 index 000000000000..2069ad424702 --- /dev/null +++ b/kde-plasma/plasma-nm/plasma-nm-5.24.2.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 +} |