diff options
author | Andreas Sturmlechner <asturm@gentoo.org> | 2022-03-29 17:38:59 +0200 |
---|---|---|
committer | Andreas Sturmlechner <asturm@gentoo.org> | 2022-03-29 17:56:29 +0200 |
commit | 7dbdb19b0658e9e3559d9f7506258091fa36554a (patch) | |
tree | aa71b59840405e7040d2fe6b971ff5d1b255ab28 | |
parent | kde-plasma/plasma-meta: 5.24.4 version bump (diff) | |
download | gentoo-7dbdb19b0658e9e3559d9f7506258091fa36554a.tar.gz gentoo-7dbdb19b0658e9e3559d9f7506258091fa36554a.tar.bz2 gentoo-7dbdb19b0658e9e3559d9f7506258091fa36554a.zip |
kde-plasma/plasma-nm: 5.24.4 version bump
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
-rw-r--r-- | kde-plasma/plasma-nm/Manifest | 1 | ||||
-rw-r--r-- | kde-plasma/plasma-nm/plasma-nm-5.24.4.ebuild | 90 |
2 files changed, 91 insertions, 0 deletions
diff --git a/kde-plasma/plasma-nm/Manifest b/kde-plasma/plasma-nm/Manifest index 2117669b46dd..273f51d07052 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.3.tar.xz 925252 BLAKE2B c3153e78d7c24c046980f115f9bab386d53a6839ff8c3187f0244280377e7f085958d319783f598acf321dec24fa44c9c6b4aff8c2959629e9b67530d46b5624 SHA512 f3e197e56d2e27c0d56fc7773426e21a6e2ed080d9e261430725ebe2afc90807d26caca5943e6433cc6aa0306599879ece2cb1fb5add784ace39d55c26a65c17 +DIST plasma-nm-5.24.4.tar.xz 926080 BLAKE2B 4ae2ae273572b60e6c4d88658f2247843921cb59060d1489c00388d4b224e66f6278f47009ba2a866ca7d725bba6c567839a4610c8a8123191511c048998ee42 SHA512 2a28f7879a3e90111ab43d6c30d7f191dfbd58dbcac1e2415387f054674cebc28e2aaeb5beffe448c1bc4f698bb1212b757746dc1e4f5d78a1c2e094895eae85 diff --git a/kde-plasma/plasma-nm/plasma-nm-5.24.4.ebuild b/kde-plasma/plasma-nm/plasma-nm-5.24.4.ebuild new file mode 100644 index 000000000000..2069ad424702 --- /dev/null +++ b/kde-plasma/plasma-nm/plasma-nm-5.24.4.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 +} |