Gentoo Archives: gentoo-commits

From: Andreas Sturmlechner <asturm@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/kde:master commit in: kde-plasma/plasma-firewall/
Date: Tue, 04 May 2021 21:12:19
Message-Id: 1620159469.6f53509730500f38bd7055b0db1b22a9aedec0bf.asturm@gentoo
1 commit: 6f53509730500f38bd7055b0db1b22a9aedec0bf
2 Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
3 AuthorDate: Tue May 4 16:45:27 2021 +0000
4 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
5 CommitDate: Tue May 4 20:17:49 2021 +0000
6 URL: https://gitweb.gentoo.org/proj/kde.git/commit/?id=6f535097
7
8 kde-plasma/plasma-firewall: 5.21.5 version bump
9
10 Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>
11
12 .../plasma-firewall/plasma-firewall-5.21.5.ebuild | 50 ++++++++++++++++++++++
13 1 file changed, 50 insertions(+)
14
15 diff --git a/kde-plasma/plasma-firewall/plasma-firewall-5.21.5.ebuild b/kde-plasma/plasma-firewall/plasma-firewall-5.21.5.ebuild
16 new file mode 100644
17 index 0000000000..064eb692c2
18 --- /dev/null
19 +++ b/kde-plasma/plasma-firewall/plasma-firewall-5.21.5.ebuild
20 @@ -0,0 +1,50 @@
21 +# Copyright 1999-2021 Gentoo Authors
22 +# Distributed under the terms of the GNU General Public License v2
23 +
24 +EAPI=7
25 +
26 +PYTHON_COMPAT=( python3_{7,8,9} )
27 +KFMIN=5.82.0
28 +QTMIN=5.15.2
29 +inherit ecm kde.org python-single-r1
30 +
31 +DESCRIPTION="Plasma frontend for Firewalld or UFW"
32 +HOMEPAGE="https://invent.kde.org/network/plasma-firewall"
33 +
34 +LICENSE="GPL-2+"
35 +SLOT="5"
36 +KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86"
37 +IUSE=""
38 +
39 +REQUIRED_USE="${PYTHON_REQUIRED_USE}"
40 +
41 +DEPEND="
42 + >=dev-qt/qtdbus-${QTMIN}:5
43 + >=dev-qt/qtdeclarative-${QTMIN}:5
44 + >=dev-qt/qtgui-${QTMIN}:5
45 + >=dev-qt/qtnetwork-${QTMIN}:5
46 + >=dev-qt/qtx11extras-${QTMIN}:5
47 + >=dev-qt/qtxml-${QTMIN}:5
48 + >=kde-frameworks/kauth-${KFMIN}:5
49 + >=kde-frameworks/kcmutils-${KFMIN}:5
50 + >=kde-frameworks/kconfig-${KFMIN}:5
51 + >=kde-frameworks/kcoreaddons-${KFMIN}:5
52 + >=kde-frameworks/kdeclarative-${KFMIN}:5
53 + >=kde-frameworks/ki18n-${KFMIN}:5
54 + >=kde-frameworks/plasma-${KFMIN}:5
55 +"
56 +RDEPEND="${DEPEND}
57 + ${PYTHON_DEPS}
58 + sys-apps/systemd
59 + || (
60 + net-firewall/firewalld
61 + net-firewall/ufw
62 + )
63 +"
64 +
65 +src_prepare() {
66 + ecm_src_prepare
67 + # this kind of cmake magic doesn't work for us at all.
68 + sed -e "1 s:^.*$:\#\!/usr/bin/env python3.8:" \
69 + -i kcm/backends/ufw/helper/kcm_ufw_helper.py.cmake || die
70 +}