summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2021-03-02 19:27:58 +0100
committerAndreas Sturmlechner <asturm@gentoo.org>2021-03-02 21:23:49 +0100
commit84374f13e8d0e624602b2ea99deaea63153afef1 (patch)
treeb7a489dbce1b8f6ad4f96136c13fc1554335c712 /kde-plasma/plasma-firewall
parentkde-plasma/plasma-disks: 5.21.2 version bump (diff)
downloadgentoo-84374f13e8d0e624602b2ea99deaea63153afef1.tar.gz
gentoo-84374f13e8d0e624602b2ea99deaea63153afef1.tar.bz2
gentoo-84374f13e8d0e624602b2ea99deaea63153afef1.zip
kde-plasma/plasma-firewall: 5.21.2 version bump
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'kde-plasma/plasma-firewall')
-rw-r--r--kde-plasma/plasma-firewall/Manifest1
-rw-r--r--kde-plasma/plasma-firewall/plasma-firewall-5.21.2.ebuild49
2 files changed, 50 insertions, 0 deletions
diff --git a/kde-plasma/plasma-firewall/Manifest b/kde-plasma/plasma-firewall/Manifest
index f79b3250375c..3540c1f90163 100644
--- a/kde-plasma/plasma-firewall/Manifest
+++ b/kde-plasma/plasma-firewall/Manifest
@@ -1 +1,2 @@
DIST plasma-firewall-5.21.1.tar.xz 329136 BLAKE2B 906d891ef9507830f0e7981bbebac10a11f1acd86b38dcbc0debf8f3d7db1cdcbc58201e567351b4615133458da45db32ad426e9ff4d5f56b6841ba6efceafef SHA512 0900a2dfa1df50d2011b6f6ffa48ecc963136befadc235522b24c8d945b398365902ffce492b78844c1e80527b4fc9ba76453a3737f5692b0d16ffeb5d3e2429
+DIST plasma-firewall-5.21.2.tar.xz 329812 BLAKE2B 218ec0e8db734515b28f7fd5a6d9baad740bf2265cf243afc82d67c29d3e34a312c9c41febd5bdf99903178a9be5a2c923992de8e8889ffa5717fb11861f16a9 SHA512 6163c7367cc376f7f291e8b175b3d4df8e209199cc393c9d4d9246926a5f275dcb6181411d3d4a969293c6a7ec3c4bc8723fdfc4b79bfd15bf022421fc76e170
diff --git a/kde-plasma/plasma-firewall/plasma-firewall-5.21.2.ebuild b/kde-plasma/plasma-firewall/plasma-firewall-5.21.2.ebuild
new file mode 100644
index 000000000000..96551e71e55c
--- /dev/null
+++ b/kde-plasma/plasma-firewall/plasma-firewall-5.21.2.ebuild
@@ -0,0 +1,49 @@
+# 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.78.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}
+ || (
+ 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
+}