commit:     325ac04dee85c9df1d8b38eb106700cb3e5712d0
Author:     Nicolas PARLANT <nicolas.parlant <AT> parhuet <DOT> fr>
AuthorDate: Tue Apr  1 22:59:47 2025 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat Apr 26 01:15:11 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=325ac04d

app-misc/socnetv: add 3.2

migrate to cmake

bdep dev-qt/qttools is not really required as translations
are completely unfinished.

qtbase[xml] is not strictly required by package, because
src/parser.h calls two classes provided by dev-qt/qtbase[-xml].
But qt5compat (and cmake) wants it. A patch would be irrelevant.

Signed-off-by: Nicolas PARLANT <nicolas.parlant <AT> parhuet.fr>
Part-of: https://github.com/gentoo/gentoo/pull/41429
Closes: https://github.com/gentoo/gentoo/pull/41429
Signed-off-by: Sam James <sam <AT> gentoo.org>

 app-misc/socnetv/Manifest                       |  1 +
 app-misc/socnetv/files/socnetv-3.2-docdir.patch | 14 ++++++++++++
 app-misc/socnetv/socnetv-3.2.ebuild             | 29 +++++++++++++++++++++++++
 3 files changed, 44 insertions(+)

diff --git a/app-misc/socnetv/Manifest b/app-misc/socnetv/Manifest
index 3392d00ef867..b1b8541fa3b1 100644
--- a/app-misc/socnetv/Manifest
+++ b/app-misc/socnetv/Manifest
@@ -1 +1,2 @@
 DIST socnetv-3.1.tar.gz 808640 BLAKE2B 
377b42cb7420b60f1dc0edc4e000f2d5a5cc230170f7fe39f64c7a6a6147ea5f9797e59c57a3b43abbc4fd7e2bddd7338c87a0e954154d20eb87a70dcc5b2141
 SHA512 
2d18e3262dba71b7bdb4cbe3f453b931923a1b132a98c08046d91b6c535a5f137aedbf581043cb0c8640bbd276aa32801661b443d15fac8e03ab481fbcf9dc5e
+DIST socnetv-3.2.tar.gz 806938 BLAKE2B 
cfd0a27c536e5680278ce8f71a89bf9943adfecadf1644b988674e839a391db1a2258062c9c3ee109d848193f810968f6ba927fd202380f205d446acd76b1b45
 SHA512 
96441b32beafdb616a4dd98e002d8aa4167092f00f871870a659c80aba83a82338369b60821d6c652a33e3b797132a33697ca24848b309b29784cdea94932b7c

diff --git a/app-misc/socnetv/files/socnetv-3.2-docdir.patch 
b/app-misc/socnetv/files/socnetv-3.2-docdir.patch
new file mode 100644
index 000000000000..196467bc7efe
--- /dev/null
+++ b/app-misc/socnetv/files/socnetv-3.2-docdir.patch
@@ -0,0 +1,14 @@
+Use the dedicated variable for doc
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index 65c1fce..8e72300 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -335,7 +341,7 @@ elseif(LINUX)
+ 
+     # Install documentation
+     install(FILES CHANGELOG.md README.md TODO COPYING AUTHORS INSTALL
+-        DESTINATION "${CMAKE_INSTALL_DATADIR}/doc/socnetv"
++        DESTINATION "${CMAKE_INSTALL_DOCDIR}"
+     )
+ 
+ endif()

diff --git a/app-misc/socnetv/socnetv-3.2.ebuild 
b/app-misc/socnetv/socnetv-3.2.ebuild
new file mode 100644
index 000000000000..4c181b2d77b1
--- /dev/null
+++ b/app-misc/socnetv/socnetv-3.2.ebuild
@@ -0,0 +1,29 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake
+
+DESCRIPTION="Qt Social Network Visualizer"
+HOMEPAGE="https://socnetv.org/";
+SRC_URI="https://github.com/socnetv/app/archive/refs/tags/v${PV}.tar.gz -> 
${P}.tar.gz"
+S="${WORKDIR}/app-${PV}"
+
+LICENSE="GPL-3+"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+RDEPEND="
+       dev-qt/qt5compat:6
+       dev-qt/qtbase:6[gui,network,opengl,ssl,widgets,xml]
+       dev-qt/qtcharts:6
+       dev-qt/qtsvg:6
+"
+DEPEND="${RDEPEND}"
+# 0 finished for now
+# BDEPEND="dev-qt/qttools:6[linguist]"
+
+PATCHES=(
+       "${FILESDIR}"/${PN}-3.2-docdir.patch
+)

Reply via email to