diff options
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.1.ebuild | 90 |
2 files changed, 91 insertions, 0 deletions
diff --git a/kde-plasma/plasma-nm/Manifest b/kde-plasma/plasma-nm/Manifest index e7d2f380aad1..a62eb4149c02 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.0.tar.xz 922992 BLAKE2B a52a80cfef2b5e403dd5b456ad2a3a962fea0d2de8e8ba4f2816c8af8d57b7762fb61fccdc150b0924941fdfdd7f039611419ff1970071cd6510e23ee170a798 SHA512 d164db0fa295c6f817079bbc7a6e2894a8aabfdd82c10af5103fbbfa0fac3fda73596f52ff6f3bb1af898df18cdb9266ba143b19dbc6bf09bddc8afd576244d2 +DIST plasma-nm-5.24.1.tar.xz 923220 BLAKE2B 574f48801605e928e3e083ad1079c4cd452f08e0a1f97dfad43bea2cef271abe3d628dc276cdcfb36e20d526be6089fc18f663dccd29a5b5b0fa4d76220302b4 SHA512 44e0ba76ef6ba9a55d52580c09cc5372027e1b002bb3f993a718a0e98579a10c35bd8f9bf6eb972019ee6e01682fbb81adadd628beb8b574517ad844d50359df diff --git a/kde-plasma/plasma-nm/plasma-nm-5.24.1.ebuild b/kde-plasma/plasma-nm/plasma-nm-5.24.1.ebuild new file mode 100644 index 000000000000..2069ad424702 --- /dev/null +++ b/kde-plasma/plasma-nm/plasma-nm-5.24.1.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 +} |