diff options
author | 2025-02-06 17:19:56 +0100 | |
---|---|---|
committer | 2025-02-06 22:41:34 +0100 | |
commit | f452efaa9628598da8d29f36dec62627914b605a (patch) | |
tree | cc145be55f60224ef485bb7fd083c404e8f155b3 /kde-plasma/plasma-firewall | |
parent | kde-plasma/plasma-disks: 6.3.0 version bump (diff) | |
download | kde-f452efaa9628598da8d29f36dec62627914b605a.tar.gz kde-f452efaa9628598da8d29f36dec62627914b605a.tar.bz2 kde-f452efaa9628598da8d29f36dec62627914b605a.zip |
kde-plasma/plasma-firewall: 6.3.0 version bump
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'kde-plasma/plasma-firewall')
-rw-r--r-- | kde-plasma/plasma-firewall/Manifest | 1 | ||||
-rw-r--r-- | kde-plasma/plasma-firewall/plasma-firewall-6.3.0.ebuild | 60 |
2 files changed, 61 insertions, 0 deletions
diff --git a/kde-plasma/plasma-firewall/Manifest b/kde-plasma/plasma-firewall/Manifest index c2035360d5..fa8d25fe6c 100644 --- a/kde-plasma/plasma-firewall/Manifest +++ b/kde-plasma/plasma-firewall/Manifest @@ -1 +1,2 @@ DIST plasma-firewall-6.2.91.tar.xz 382380 BLAKE2B bf60780ac3e063d4d453b35c942a47136fb56fb2dfc68b5df8c25e49619da0a1c95f4cb15266324d46f76172025d132f4d4a75b9aea52027681f94cc8d47d1be SHA512 f90e0038a61dfda1c9fc1c186e60c6778ceb978cd6f47608de13bc49e75982f0e35a440468a053b8cc9205cd4e5ce505ccf194c72263b19e7fe9dcf95d73bdb0 +DIST plasma-firewall-6.3.0.tar.xz 381760 BLAKE2B 0393021936081f7d1adc5d18f4bf4cc9c2c3596e965523eb8be53ad534722da9f5a02d2b0f9bee65af44f58f709c05c93b681637f44e6248cb020a43d9c84726 SHA512 d55aea1d0ffe30542d60569bb64c101cd9e404bbf126ff7643ae9187fe5dbed65d20e2680d01bc172b7474126df3c965afa4c9811142a7ca7c27c0e7a860d276 diff --git a/kde-plasma/plasma-firewall/plasma-firewall-6.3.0.ebuild b/kde-plasma/plasma-firewall/plasma-firewall-6.3.0.ebuild new file mode 100644 index 0000000000..effc0e519c --- /dev/null +++ b/kde-plasma/plasma-firewall/plasma-firewall-6.3.0.ebuild @@ -0,0 +1,60 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +ECM_TEST="forceoptional" +PYTHON_COMPAT=( python3_{10..13} ) +KFMIN=6.10.0 +QTMIN=6.8.1 +inherit ecm plasma.kde.org python-single-r1 xdg + +DESCRIPTION="Plasma frontend for Firewalld or UFW" +HOMEPAGE="https://invent.kde.org/network/plasma-firewall" + +LICENSE="GPL-2+" +SLOT="6" +KEYWORDS="~amd64 ~arm64 ~loong ~ppc64 ~riscv ~x86" +IUSE="firewalld +ufw" + +REQUIRED_USE="${PYTHON_REQUIRED_USE} || ( firewalld ufw )" + +DEPEND=" + >=dev-qt/qtbase-${QTMIN}:6[dbus,gui,network,xml] + >=dev-qt/qtdeclarative-${QTMIN}:6 + >=kde-frameworks/kauth-${KFMIN}:6 + >=kde-frameworks/kcmutils-${KFMIN}:6 + >=kde-frameworks/kconfig-${KFMIN}:6 + >=kde-frameworks/kcoreaddons-${KFMIN}:6 + >=kde-frameworks/ki18n-${KFMIN}:6 +" +RDEPEND="${DEPEND} + ${PYTHON_DEPS} + firewalld? ( net-firewall/firewalld ) + ufw? ( net-firewall/ufw ) +" +BDEPEND=">=kde-frameworks/kcmutils-${KFMIN}:6" + +src_prepare() { + ecm_src_prepare + # this kind of cmake magic doesn't work for us at all. + sed -e "1 s:^.*$:\#\!/usr/bin/env ${EPYTHON}:" \ + -i kcm/backends/ufw/helper/kcm_ufw_helper.py.cmake || die +} + +src_configure() { + local mycmakeargs=( + -DBUILD_FIREWALLD_BACKEND=$(usex firewalld) + -DBUILD_UFW_BACKEND=$(usex ufw) + ) + ecm_src_configure +} + +pkg_postinst () { + xdg_pkg_postinst + + if ! has_version sys-apps/systemd; then + ewarn "${PN} is not functional without sys-apps/systemd at this point." + ewarn "See also: https://bugs.gentoo.org/778527" + fi +} |