diff options
Diffstat (limited to 'kde-plasma/plasma-nm')
-rw-r--r-- | kde-plasma/plasma-nm/Manifest | 2 | ||||
-rw-r--r-- | kde-plasma/plasma-nm/plasma-nm-5.27.8.ebuild | 82 |
2 files changed, 84 insertions, 0 deletions
diff --git a/kde-plasma/plasma-nm/Manifest b/kde-plasma/plasma-nm/Manifest index 58be17868843..462f8a23c13a 100644 --- a/kde-plasma/plasma-nm/Manifest +++ b/kde-plasma/plasma-nm/Manifest @@ -1,3 +1,5 @@ DIST plasma-nm-5.27.7.tar.xz 1155720 BLAKE2B 2961134be502823bf2111c81917dbf49d2f5a7b44b5ee4421506a9be603e1e7f1f68798e7bbef9e4abdf2003536dc8adbb63442d453a987a0cee5b27786311e8 SHA512 b4b1269de1b4fa2644e27161351b00309c6d03eee752d2b4afe3d1f1bee6f325431d759eca90e7f7f1282a4f2065616bad8c5688759228b9636d969025493b0e +DIST plasma-nm-5.27.8.tar.xz 1155896 BLAKE2B 55d51243956623d742165ce94c2b521b63fed50de36e9a2fb5e94db4cbd0c2f08fd2c538fcaaf74cf62e16a3f0244a35d97e1287c5750313e2d813c7f7392d52 SHA512 4c74e952dfa1a6d08bd4a2ac6a8e9492fb2d26e282363728cfbe531366b10daeca7b32dd6927b18c83610f33069d5da1fec7e944ea631a346c9c19b0894ea8b5 EBUILD plasma-nm-5.27.7.ebuild 2314 BLAKE2B e338ca445f4e0685e70b0dcdb3d5398d2e7a4898eb2ad6602d5a4def7f5ca2d7f5565f6a464fc3078b2ea54222969d59b5c5e5f5a15f8b6a9e32a0c6cc25ea8a SHA512 6e8d2496188d2bb7761bdc03dc397b374dce52215de542c6199c6c897e1ecba63afdeea9c62f4132b8c621736a46476873a97cc81a3806c4bb0de8f1674fb66e +EBUILD plasma-nm-5.27.8.ebuild 2317 BLAKE2B 94f84025e4c17f95ea174e4ee55a7a344ada1a5deb7298cccbb8f3de15952f6987809d1421727853782a0677992c2adeb3dfb180dda07c547c8b448cac7e8538 SHA512 2215dcc84a93d91694b50bdf86df7792e608cac395d9e1286f43e626d1c26db71194e233b4871e4105397413746b06520936e7e9a0c2a4b1f36b6b5cbb71fac6 MISC metadata.xml 469 BLAKE2B 4d7fd7a809aa0e7f0aa9126ba2aada1aa2326bffaa3cbdaad633c9cbfc7f59b3dde4f4e0b05af0300aae9660a27f983d8c0d4b75b0f09eb88d0c8896430feec7 SHA512 3c7e0687338f1be630bc620131da7b86b537ae47e7ba5d7571392efa51f02f849982a0414871247a9fb5e167f234e3a5ee90d3a2ce667225ea7fed9369ce8ea8 diff --git a/kde-plasma/plasma-nm/plasma-nm-5.27.8.ebuild b/kde-plasma/plasma-nm/plasma-nm-5.27.8.ebuild new file mode 100644 index 000000000000..b8d087c175c6 --- /dev/null +++ b/kde-plasma/plasma-nm/plasma-nm-5.27.8.ebuild @@ -0,0 +1,82 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +ECM_TEST="true" +KFMIN=5.106.0 +PVCUT=$(ver_cut 1-3) +QTMIN=5.15.9 +inherit ecm plasma.kde.org + +DESCRIPTION="KDE Plasma applet for NetworkManager" + +LICENSE="GPL-2 LGPL-2.1" +SLOT="5" +KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc64 ~riscv ~x86" +IUSE="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 + >=dev-qt/qtxml-${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/modemmanager-qt-${KFMIN}:5 + >=kde-frameworks/networkmanager-qt-${KFMIN}:5[teamd=] + >=kde-frameworks/plasma-${KFMIN}:5 + >=kde-frameworks/solid-${KFMIN}:5 + net-misc/mobile-broadband-provider-info + net-misc/networkmanager[teamd=] + openconnect? ( + 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 +" + +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 +} + +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 +} |