summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2023-10-24 21:32:32 +0200
committerAndreas Sturmlechner <asturm@gentoo.org>2023-10-24 21:39:19 +0200
commitf98e1371cc1c6b7d218d9ef3abed0d45b1f6fbd2 (patch)
treea8008e487631d5bd70000f8091035fb8808ea4c7 /net-analyzer/nmapsi
parentdev-python/pillow: Stabilize 10.0.1 sparc, #915923 (diff)
downloadgentoo-f98e1371cc1c6b7d218d9ef3abed0d45b1f6fbd2.tar.gz
gentoo-f98e1371cc1c6b7d218d9ef3abed0d45b1f6fbd2.tar.bz2
gentoo-f98e1371cc1c6b7d218d9ef3abed0d45b1f6fbd2.zip
net-analyzer/nmapsi: update EAPI 7 -> 8, drop unused dev-qt/qtscript:5
Required by upstream build system only, but not actually used. Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'net-analyzer/nmapsi')
-rw-r--r--net-analyzer/nmapsi/files/nmapsi-0.5_alpha2-no-qtscript.patch18
-rw-r--r--net-analyzer/nmapsi/nmapsi-0.5_alpha2-r1.ebuild35
2 files changed, 53 insertions, 0 deletions
diff --git a/net-analyzer/nmapsi/files/nmapsi-0.5_alpha2-no-qtscript.patch b/net-analyzer/nmapsi/files/nmapsi-0.5_alpha2-no-qtscript.patch
new file mode 100644
index 000000000000..38c73b68cbb7
--- /dev/null
+++ b/net-analyzer/nmapsi/files/nmapsi-0.5_alpha2-no-qtscript.patch
@@ -0,0 +1,18 @@
+--- a/CMakeLists.txt 2020-05-10 15:37:19.000000000 +0200
++++ b/CMakeLists.txt 2023-10-24 21:28:56.198123618 +0200
+@@ -18,7 +18,6 @@
+ Network
+ WebEngineWidgets
+ DBus
+- Script
+ LinguistTools
+ Quick
+ Qml
+@@ -31,7 +30,6 @@
+ Widgets
+ Network
+ WebEngineWidgets
+- Script
+ LinguistTools
+ Quick
+ Qml
diff --git a/net-analyzer/nmapsi/nmapsi-0.5_alpha2-r1.ebuild b/net-analyzer/nmapsi/nmapsi-0.5_alpha2-r1.ebuild
new file mode 100644
index 000000000000..6cf6b4ca36cc
--- /dev/null
+++ b/net-analyzer/nmapsi/nmapsi-0.5_alpha2-r1.ebuild
@@ -0,0 +1,35 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake
+
+DESCRIPTION="Qt frontend to nmap"
+HOMEPAGE="https://github.com/nmapsi4/nmapsi4"
+SRC_URI="https://github.com/nmapsi4/nmapsi4/archive/v${PV/_/-}.tar.gz -> ${P}.tar.gz"
+S="${WORKDIR}/${PN}4-${PV/_/-}"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+DEPEND="
+ dev-qt/qtcore:5
+ dev-qt/qtdbus:5
+ dev-qt/qtdeclarative:5
+ dev-qt/qtgui:5
+ dev-qt/qtnetwork:5
+ dev-qt/qtwebengine:5[widgets]
+ dev-qt/qtwidgets:5
+"
+RDEPEND="${DEPEND}
+ net-analyzer/nmap
+ net-dns/bind-tools
+"
+BDEPEND="dev-qt/linguist-tools:5"
+
+DOCS=( AUTHORS HACKING README.md TODO Translation )
+
+PATCHES=( "${FILESDIR}/${P}-no-qtscript.patch" )