commit:     f98e1371cc1c6b7d218d9ef3abed0d45b1f6fbd2
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Tue Oct 24 19:32:32 2023 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Tue Oct 24 19:39:19 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f98e1371

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 <AT> gentoo.org>

 .../files/nmapsi-0.5_alpha2-no-qtscript.patch      | 18 +++++++++++
 net-analyzer/nmapsi/nmapsi-0.5_alpha2-r1.ebuild    | 35 ++++++++++++++++++++++
 2 files changed, 53 insertions(+)

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" )

Reply via email to