summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorvitalogy <vitalogy_github@milaw.biz>2017-02-20 11:07:45 +0100
committerPatrice Clement <monsieurp@gentoo.org>2017-05-01 23:12:52 +0200
commit2b9c8fffe7725da40293a51002016eda9277208e (patch)
tree2a04afb4f6116aeea167604409629b9434725c9f /sci-electronics/pulseview
parentdev-ada/gps-bin: Needs gnatinspect from gnatcoll (diff)
downloadgentoo-2b9c8fffe7725da40293a51002016eda9277208e.tar.gz
gentoo-2b9c8fffe7725da40293a51002016eda9277208e.tar.bz2
gentoo-2b9c8fffe7725da40293a51002016eda9277208e.zip
sci-electronics/pulseview: add a .desktop file and use the sigrok icon.
Closes: https://github.com/gentoo/gentoo/pull/4044
Diffstat (limited to 'sci-electronics/pulseview')
-rw-r--r--sci-electronics/pulseview/files/pulseview.desktop10
-rw-r--r--sci-electronics/pulseview/pulseview-0.3.0.ebuild6
2 files changed, 16 insertions, 0 deletions
diff --git a/sci-electronics/pulseview/files/pulseview.desktop b/sci-electronics/pulseview/files/pulseview.desktop
new file mode 100644
index 000000000000..aa0e9312eb5d
--- /dev/null
+++ b/sci-electronics/pulseview/files/pulseview.desktop
@@ -0,0 +1,10 @@
+[Desktop Entry]
+Version=1.0
+Name=Pulseview
+GenericName=Pulseview
+Comment=Qt based logic analyzer GUI for sigrok
+Exec=pulseview
+Icon=pulseview
+Terminal=false
+Type=Application
+Categories=Development;Electronics;
diff --git a/sci-electronics/pulseview/pulseview-0.3.0.ebuild b/sci-electronics/pulseview/pulseview-0.3.0.ebuild
index 8b4a6b2c36ac..16f8ee75d76d 100644
--- a/sci-electronics/pulseview/pulseview-0.3.0.ebuild
+++ b/sci-electronics/pulseview/pulseview-0.3.0.ebuild
@@ -57,3 +57,9 @@ src_configure() {
)
cmake-utils_src_configure
}
+
+src_install() {
+ cmake-utils_src_install
+ newicon "${S}"/icons/sigrok-logo-notext.png ${PN}.png
+ domenu "${FILESDIR}"/${PN}.desktop
+}