summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2017-01-28 15:11:26 +0100
committerAndreas Sturmlechner <asturm@gentoo.org>2017-01-28 15:44:56 +0100
commiteeb97de2e93276b74f5f14df8130f3adf70d934b (patch)
treefdc999a2cb8b6a4b2516c0ef7733e1b4290a14ce /app-misc/socnetv
parentnet-fs/libnfs: Drop to ~mips; mips doesn't do stable keywords right now (diff)
downloadgentoo-eeb97de2e93276b74f5f14df8130f3adf70d934b.tar.gz
gentoo-eeb97de2e93276b74f5f14df8130f3adf70d934b.tar.bz2
gentoo-eeb97de2e93276b74f5f14df8130f3adf70d934b.zip
app-misc/socnetv: 2.2 version bump, switch to Qt5, EAPI 6
Package-Manager: portage-2.3.3
Diffstat (limited to 'app-misc/socnetv')
-rw-r--r--app-misc/socnetv/Manifest1
-rw-r--r--app-misc/socnetv/files/socnetv-2.2-deps.patch10
-rw-r--r--app-misc/socnetv/socnetv-2.2.ebuild46
3 files changed, 57 insertions, 0 deletions
diff --git a/app-misc/socnetv/Manifest b/app-misc/socnetv/Manifest
index 9a1c2a8032e8..05389871c9aa 100644
--- a/app-misc/socnetv/Manifest
+++ b/app-misc/socnetv/Manifest
@@ -1 +1,2 @@
DIST SocNetV-0.90.tar.gz 371285 SHA256 044988db0cb068c61f8310fa6e51fe2db098cc9a040694b69cab495066b35744 SHA512 a2f6972486d5437977f76539ae00fa6400d979285926398629209199d2fb8b8758c1fd18dc88d89e19865072b9749d5183151c93b6714f802589b0fe10ea7791 WHIRLPOOL bec2654fb2c2141d55e4dee4ea41880d451de8f30d23292abf064df3fec691a3df15a2dcd76961685b5ed0a39e4b9ca979227e2be3d120cbd8865c24d7c4ea7b
+DIST SocNetV-2.2.tar.gz 745086 SHA256 736fa636e888638874deaf356b1ebc400bbef6a4dc94b069dc257ba3a247025f SHA512 12f490fd1f7fc1a6b45f77d23d8825117def0b7720595cd203d171fd88c41d5a0194a70359f55cbe2dab9e545f300156b31bb0680e46d7ab584e070e128e457b WHIRLPOOL af271d9e1e4c5179e1e6629a55f23ffad2035f707ac22d202d4a11dbbfc3dc94160e5c3393f62dcf1f72b0d648d50dcb45ef4ffa848518430dae6396f67deda3
diff --git a/app-misc/socnetv/files/socnetv-2.2-deps.patch b/app-misc/socnetv/files/socnetv-2.2-deps.patch
new file mode 100644
index 000000000000..080ff93564a6
--- /dev/null
+++ b/app-misc/socnetv/files/socnetv-2.2-deps.patch
@@ -0,0 +1,10 @@
+--- a/socnetv.pro 2017-01-21 16:50:53.000000000 +0100
++++ b/socnetv.pro 2017-01-28 15:05:26.462351261 +0100
+@@ -34,7 +34,6 @@
+ LANGUAGE = C++
+
+ # support
+-QT += xml
+ QT += network
+ QT += widgets
+ QT += printsupport
diff --git a/app-misc/socnetv/socnetv-2.2.ebuild b/app-misc/socnetv/socnetv-2.2.ebuild
new file mode 100644
index 000000000000..131268545401
--- /dev/null
+++ b/app-misc/socnetv/socnetv-2.2.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+inherit eutils qmake-utils toolchain-funcs
+
+MY_PN="SocNetV"
+MY_P="${MY_PN}-${PV}"
+
+DESCRIPTION="Qt Social Network Visualizer"
+HOMEPAGE="http://socnetv.sourceforge.net/"
+SRC_URI="mirror://sourceforge/socnetv/${MY_P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="examples"
+
+DEPEND="
+ dev-qt/qtcore:5
+ dev-qt/qtgui:5
+ dev-qt/qtnetwork:5
+ dev-qt/qtprintsupport:5
+ dev-qt/qtwidgets:5
+"
+RDEPEND="${DEPEND}"
+
+PATCHES=( "${FILESDIR}/${P}"-deps.patch )
+
+src_configure() {
+ eqmake5 socnetv.pro
+}
+
+src_install() {
+ default
+ dobin socnetv
+ doicon src/images/socnetv.png
+ domenu ${PN}.desktop
+ if use examples; then
+ insinto /usr/share/${PN}/examples
+ doins nets/*
+ fi
+ doman "${S}/man/${PN}.1.gz"
+}