diff options
-rw-r--r-- | media-gfx/kgraphviewer/Manifest | 1 | ||||
-rw-r--r-- | media-gfx/kgraphviewer/files/kgraphviewer-2.4.0-desktop.patch | 25 | ||||
-rw-r--r-- | media-gfx/kgraphviewer/kgraphviewer-2.4.0.ebuild | 40 |
3 files changed, 66 insertions, 0 deletions
diff --git a/media-gfx/kgraphviewer/Manifest b/media-gfx/kgraphviewer/Manifest index 83501e7c2d62..e1edd6c6225e 100644 --- a/media-gfx/kgraphviewer/Manifest +++ b/media-gfx/kgraphviewer/Manifest @@ -1 +1,2 @@ DIST kgraphviewer-2.2.0.tar.xz 806100 SHA256 85ca4778d428e807a94d9587c5086f7ee8239780f373491bee46f49a46e945ef SHA512 2b3ba671256e4a7d30915dd5d498e2e760729c0783c5c609c50e48b94e985fff86c4cbfb91dd571ab899e4b0db1c4af3604b97c0954db1acde2780b48803c7f7 WHIRLPOOL b9a2b9db63edaaeef308441736db4fdd46cd1a3f70acff3c35a6fd1404394bd5bc3d59f1ed20e57fccc966e5b8562fbd671a169b975e89fbacdd39e833838660 +DIST kgraphviewer-2.4.0.tar.xz 1564876 SHA256 88c2fd6514e49404cfd76cdac8ae910511979768477f77095d2f53dca0f231b4 SHA512 5a5664f19ffef90299d2746600e5f4e37749539f243e7fe4041844ac792d056bb04ebbbd83fa67f06ad63501080dc9f7fed3e841c025527252620b69a2a0a188 WHIRLPOOL d3b5ba1a86db7ce24854c8773df1c52ba9051aa4ab702117be6edef2f3cacfb2bc98e102b74bb5460feb302b799d37c59b48cad3adb31e1cf8fd8f51e1bfa3df diff --git a/media-gfx/kgraphviewer/files/kgraphviewer-2.4.0-desktop.patch b/media-gfx/kgraphviewer/files/kgraphviewer-2.4.0-desktop.patch new file mode 100644 index 000000000000..112ca6e0a001 --- /dev/null +++ b/media-gfx/kgraphviewer/files/kgraphviewer-2.4.0-desktop.patch @@ -0,0 +1,25 @@ +From 9e1f02b3fdb7d6f410ae7563349b7a07544dd3c6 Mon Sep 17 00:00:00 2001 +From: Jonathan Riddell <jr@jriddell.org> +Date: Tue, 12 Sep 2017 16:46:43 +0100 +Subject: desktop-mime-but-no-exec-code + +--- + src/org.kde.kgraphviewer.desktop | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/src/org.kde.kgraphviewer.desktop b/src/org.kde.kgraphviewer.desktop +index 42c6cc2..6e4aa15 100644 +--- a/src/org.kde.kgraphviewer.desktop ++++ b/src/org.kde.kgraphviewer.desktop +@@ -37,7 +37,7 @@ Name[uk]=KGraphViewer + Name[x-test]=xxKGraphViewerxx + Name[zh_TW]=KGraphViewer + MimeType=text/vnd.graphviz +-Exec=kgraphviewer -qwindowtitle %c ++Exec=kgraphviewer -qwindowtitle %c %u + Icon=kgraphviewer + Type=Application + Categories=Qt;KDE;Graphics;Viewer;2DGraphics;DataVisualization; +-- +cgit v0.11.2 + diff --git a/media-gfx/kgraphviewer/kgraphviewer-2.4.0.ebuild b/media-gfx/kgraphviewer/kgraphviewer-2.4.0.ebuild new file mode 100644 index 000000000000..e7eef83a0401 --- /dev/null +++ b/media-gfx/kgraphviewer/kgraphviewer-2.4.0.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +KDE_HANDBOOK="forceoptional" +inherit kde5 + +DESCRIPTION="Graphviz dot graph file viewer" +HOMEPAGE="https://www.kde.org/applications/graphics/kgraphviewer/" +[[ ${PV} != *9999* ]] && SRC_URI="mirror://kde/stable/${PN}/${PV}/${P}.tar.xz" + +LICENSE="GPL-2 FDL-1.2" +KEYWORDS="~amd64 ~x86" +IUSE="" + +COMMON_DEPEND=" + $(add_frameworks_dep kconfig) + $(add_frameworks_dep kconfigwidgets) + $(add_frameworks_dep kcoreaddons) + $(add_frameworks_dep ki18n) + $(add_frameworks_dep kiconthemes) + $(add_frameworks_dep kparts) + $(add_frameworks_dep kwidgetsaddons) + $(add_frameworks_dep kxmlgui) + $(add_qt_dep qtdbus) + $(add_qt_dep qtgui) + $(add_qt_dep qtprintsupport) + $(add_qt_dep qtsvg) + $(add_qt_dep qtwidgets) + >=media-gfx/graphviz-2.30 +" +DEPEND="${COMMON_DEPEND} + dev-libs/boost +" +RDEPEND="${COMMON_DEPEND} + !media-gfx/kgraphviewer:4 +" + +PATCHES=( "${FILESDIR}/${P}-desktop.patch" ) |