forked from gentoo/gentoo
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
kde-plasma/plasma-firewall: 5.21.3 version bump
Signed-off-by: Andreas Sturmlechner <[email protected]>
- Loading branch information
Showing
2 changed files
with
50 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
DIST plasma-firewall-5.21.2.tar.xz 329812 BLAKE2B 218ec0e8db734515b28f7fd5a6d9baad740bf2265cf243afc82d67c29d3e34a312c9c41febd5bdf99903178a9be5a2c923992de8e8889ffa5717fb11861f16a9 SHA512 6163c7367cc376f7f291e8b175b3d4df8e209199cc393c9d4d9246926a5f275dcb6181411d3d4a969293c6a7ec3c4bc8723fdfc4b79bfd15bf022421fc76e170 | ||
DIST plasma-firewall-5.21.3.tar.xz 330072 BLAKE2B fa05c2633f8076deba11b990aca565a931a908c5a7587f6f5b593da0aa71c65b48f2f401b58f0a91ab1860b5d0510986e3f1561f25023627b7f6c957f63c63d2 SHA512 2b0094dd6f0af41f1ad68f9ec2a1d3738af6ed0021678285082a23588d198cc08adeabc776b227204b3b780114dec64f7747b0c8dd2244948a97e3889cbcc087 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 | ||
} |