summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
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
+}