summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2021-05-09 01:55:09 +0200
committerAndreas Sturmlechner <asturm@gentoo.org>2021-05-09 14:10:07 +0200
commit8a0039c59441c9eb2177016982e0bd6ce13b5aa8 (patch)
tree997c220caef1bc8d1ecc468942c7e37cc5c85448
parentkde-plasma/plasma-disks: 5.21.5 version bump (diff)
downloadgentoo-8a0039c59441c9eb2177016982e0bd6ce13b5aa8.tar.gz
gentoo-8a0039c59441c9eb2177016982e0bd6ce13b5aa8.tar.bz2
gentoo-8a0039c59441c9eb2177016982e0bd6ce13b5aa8.zip
kde-plasma/plasma-firewall: 5.21.5 version bump
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
-rw-r--r--kde-plasma/plasma-firewall/Manifest1
-rw-r--r--kde-plasma/plasma-firewall/plasma-firewall-5.21.5.ebuild50
2 files changed, 51 insertions, 0 deletions
diff --git a/kde-plasma/plasma-firewall/Manifest b/kde-plasma/plasma-firewall/Manifest
index ac5750ef0bcf..f642de28d919 100644
--- a/kde-plasma/plasma-firewall/Manifest
+++ b/kde-plasma/plasma-firewall/Manifest
@@ -1 +1,2 @@
DIST plasma-firewall-5.21.4.tar.xz 330788 BLAKE2B fbdd1e871783d228dcf7010dcdb6622ffc4d56295ffd95547e79cdbb8aa49849fa51999852105f52870da9cee55cd670da4acc5785a4bd2198a7008c3a865a88 SHA512 421fb28586083c4dc694170720dad1a2176d844bf5e290b04e3bd14140186a02c3a2613bbeed110c849d53fde751f60efeb93badcd77b9795235117d95cd0fc6
+DIST plasma-firewall-5.21.5.tar.xz 331812 BLAKE2B 43a026a198fb61480e90c5a5235de1abbb106e3f78d4a81fe919ec8c65c4f5ca30b340436b28369d8797d9ad1eac87fd0a4e39b5e3670f68150992e6007c4a76 SHA512 93d36b12025f1918892ad02e6b92dc8c44c27d2c6426a19fb77d8b258940a25295acd923b3957d45eb1715dae097097368b0456bf27273c217b79b441dec55fd
diff --git a/kde-plasma/plasma-firewall/plasma-firewall-5.21.5.ebuild b/kde-plasma/plasma-firewall/plasma-firewall-5.21.5.ebuild
new file mode 100644
index 000000000000..064eb692c2e8
--- /dev/null
+++ b/kde-plasma/plasma-firewall/plasma-firewall-5.21.5.ebuild
@@ -0,0 +1,50 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{7,8,9} )
+KFMIN=5.82.0
+QTMIN=5.15.2
+inherit ecm kde.org python-single-r1
+
+DESCRIPTION="Plasma frontend for Firewalld or UFW"
+HOMEPAGE="https://invent.kde.org/network/plasma-firewall"
+
+LICENSE="GPL-2+"
+SLOT="5"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86"
+IUSE=""
+
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+DEPEND="
+ >=dev-qt/qtdbus-${QTMIN}:5
+ >=dev-qt/qtdeclarative-${QTMIN}:5
+ >=dev-qt/qtgui-${QTMIN}:5
+ >=dev-qt/qtnetwork-${QTMIN}:5
+ >=dev-qt/qtx11extras-${QTMIN}:5
+ >=dev-qt/qtxml-${QTMIN}:5
+ >=kde-frameworks/kauth-${KFMIN}:5
+ >=kde-frameworks/kcmutils-${KFMIN}:5
+ >=kde-frameworks/kconfig-${KFMIN}:5
+ >=kde-frameworks/kcoreaddons-${KFMIN}:5
+ >=kde-frameworks/kdeclarative-${KFMIN}:5
+ >=kde-frameworks/ki18n-${KFMIN}:5
+ >=kde-frameworks/plasma-${KFMIN}:5
+"
+RDEPEND="${DEPEND}
+ ${PYTHON_DEPS}
+ sys-apps/systemd
+ || (
+ net-firewall/firewalld
+ net-firewall/ufw
+ )
+"
+
+src_prepare() {
+ ecm_src_prepare
+ # this kind of cmake magic doesn't work for us at all.
+ sed -e "1 s:^.*$:\#\!/usr/bin/env python3.8:" \
+ -i kcm/backends/ufw/helper/kcm_ufw_helper.py.cmake || die
+}