diff options
author | Andreas Sturmlechner <asturm@gentoo.org> | 2019-03-24 00:17:57 +0100 |
---|---|---|
committer | Andreas Sturmlechner <asturm@gentoo.org> | 2019-03-24 13:11:16 +0100 |
commit | 491780ef7015bec19c82344dce49d9e7d64f1dcb (patch) | |
tree | 8795d2bcc23407b743431e9ecca016c3d9db1f02 /dev-util/massif-visualizer | |
parent | mail-filter/procmail: amd64 stable (diff) | |
download | gentoo-491780ef7015bec19c82344dce49d9e7d64f1dcb.tar.gz gentoo-491780ef7015bec19c82344dce49d9e7d64f1dcb.tar.bz2 gentoo-491780ef7015bec19c82344dce49d9e7d64f1dcb.zip |
dev-util/massif-visualizer: Fix window icon for non-desktopfile WM
EAPI-7 bump as well.
Package-Manager: Portage-2.3.62, Repoman-2.3.12
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'dev-util/massif-visualizer')
-rw-r--r-- | dev-util/massif-visualizer/files/massif-visualizer-0.7.0-fix-window-icon.patch | 25 | ||||
-rw-r--r-- | dev-util/massif-visualizer/massif-visualizer-0.7.0-r1.ebuild | 46 |
2 files changed, 71 insertions, 0 deletions
diff --git a/dev-util/massif-visualizer/files/massif-visualizer-0.7.0-fix-window-icon.patch b/dev-util/massif-visualizer/files/massif-visualizer-0.7.0-fix-window-icon.patch new file mode 100644 index 000000000000..57e27fc9b26b --- /dev/null +++ b/dev-util/massif-visualizer/files/massif-visualizer-0.7.0-fix-window-icon.patch @@ -0,0 +1,25 @@ +From 51788c6f295651fecd3bb498236bbcf3c263ee84 Mon Sep 17 00:00:00 2001 +From: "Friedrich W. H. Kossebau" <kossebau@kde.org> +Date: Sun, 20 Jan 2019 09:37:43 +0100 +Subject: Fix window icon for non-desktopfile WM to own icon + "massif-visualizer" + +--- + app/main.cpp | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/app/main.cpp b/app/main.cpp +index c4526ba..21865e0 100644 +--- a/app/main.cpp ++++ b/app/main.cpp +@@ -50,7 +50,7 @@ int main( int argc, char *argv[] ) + aboutData.setOrganizationDomain("kde.org"); + + KAboutData::setApplicationData(aboutData); +- app.setWindowIcon(QIcon::fromTheme(QStringLiteral("office-chart-area"))); ++ app.setWindowIcon(QIcon::fromTheme(QStringLiteral("massif-visualizer"))); + + QCommandLineParser parser; + parser.addVersionOption(); +-- +cgit v1.1 diff --git a/dev-util/massif-visualizer/massif-visualizer-0.7.0-r1.ebuild b/dev-util/massif-visualizer/massif-visualizer-0.7.0-r1.ebuild new file mode 100644 index 000000000000..bf0964314b2a --- /dev/null +++ b/dev-util/massif-visualizer/massif-visualizer-0.7.0-r1.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +KDE_TEST="forceoptional" +inherit kde5 + +DESCRIPTION="Tool visualising massif data" +HOMEPAGE="https://www.linux-apps.com/content/show.php/Massif+Visualizer?content=122409" +SRC_URI="mirror://kde/stable/${PN}/${PV}/src/${P}.tar.xz" + +LICENSE="|| ( GPL-2 GPL-3 )" +KEYWORDS="~amd64" +IUSE="+callgraph" + +RDEPEND=" + $(add_frameworks_dep karchive) + $(add_frameworks_dep kcompletion) + $(add_frameworks_dep kconfig) + $(add_frameworks_dep kconfigwidgets) + $(add_frameworks_dep kcoreaddons) + $(add_frameworks_dep ki18n) + $(add_frameworks_dep kio) + $(add_frameworks_dep kparts) + $(add_frameworks_dep kwidgetsaddons) + $(add_frameworks_dep kxmlgui) + $(add_qt_dep qtgui) + $(add_qt_dep qtprintsupport) + $(add_qt_dep qtsvg) + $(add_qt_dep qtwidgets) + dev-libs/kdiagram:5 + callgraph? ( media-gfx/kgraphviewer:5 ) +" +DEPEND="${RDEPEND} + $(add_qt_dep qtxmlpatterns) +" + +PATCHES=( "${FILESDIR}/${P}-fix-window-icon.patch" ) + +src_configure() { + local mycmakeargs=( + $(cmake-utils_use_find_package callgraph KGraphViewerPart) + ) + kde5_src_configure +} |