commit: e83e1493c129c1da7e561cbe333697aae7aa2457
Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Mon Feb 10 23:31:24 2025 +0000
Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Tue Feb 11 17:58:33 2025 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e83e1493
kde-plasma/plasma-firewall: 6.3.0 version bump
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>
kde-plasma/plasma-firewall/Manifest | 1 +
.../plasma-firewall/plasma-firewall-6.3.0.ebuild | 60 ++++++++++++++++++++++
2 files changed, 61 insertions(+)
diff --git a/kde-plasma/plasma-firewall/Manifest
b/kde-plasma/plasma-firewall/Manifest
index 04aff8d11639..f3df79f55ad3 100644
--- a/kde-plasma/plasma-firewall/Manifest
+++ b/kde-plasma/plasma-firewall/Manifest
@@ -1 +1,2 @@
DIST plasma-firewall-6.2.5.tar.xz 375988 BLAKE2B
20662364af172d7832bf914a39d94008e58383af5071fc605015da52936a34e82f15ab466e87538e5b53a889de0f66559568a9e3b4d384ff0160241dcb797aad
SHA512
4655764d4644dc09d98e3408574a9ffda333211dbd7b939cb4280976f456c7fcc69913a765aaa6bb1c381e64c3e3d0d2155f092f8701c81a483655f32463344a
+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 000000000000..effc0e519cdc
--- /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
+}