kde-plasma/plasma-firewall: 6.7.0 version bump

Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
This commit is contained in:
Andreas Sturmlechner
2026-06-16 21:17:18 +02:00
parent 992cf9742a
commit b5394c1cd4
2 changed files with 61 additions and 0 deletions
+1
View File
@@ -1 +1,2 @@
DIST plasma-firewall-6.6.5.tar.xz 384304 BLAKE2B 771c032739ee115380f55f71c5cc0aac241c7f551267d1b225719f6c7ef043f3927c933c5ae5751149ac2e078199992cff0c3905a7b8778e79a4615305a4c0c6 SHA512 aca002d2cbcb92f174b811d18b695df95787039d02883e8b9fb437deacc32949f56073299aca03fd9bffd33c4088ae77ffaec536bfa7ae3d691ecd130842e0ab
DIST plasma-firewall-6.7.0.tar.xz 384856 BLAKE2B 236ff848bbb8369db8a95aeb4b958265fe7c9a22f44751f802f758c94dd7fa28776dd500e9ee13aaeaac1345fc71b7c2811abf71d55e4746e769b15a9d4a72d6 SHA512 f2033a8b8669492afa982c1ebe30b22120ea41083178a5f6bf0238039feb458d2cd1366165ea21d7a564e294702d03d53c5a7b7a878071906ff4a83d11e0ebff
@@ -0,0 +1,60 @@
# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
ECM_TEST="forceoptional"
PYTHON_COMPAT=( python3_{11..14} )
KFMIN=6.26.0
QTMIN=6.10.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 ~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
}