From 6c42a38ec56a878cf6be9a874f72198ad64d9e38 Mon Sep 17 00:00:00 2001
From: Dave Hibberd <d@vehibberd.com>
Date: Mon, 4 Sep 2023 23:12:22 +0100
Subject: [PATCH] Add desktop file, tidy up loose ends

---
 debian/QtSoundModem.png        | Bin 0 -> 397 bytes
 debian/control                 |   2 +-
 debian/dirs                    |   2 +-
 debian/install                 |   4 +++-
 debian/qtsoundmodem.desktop    |  13 +++++++++++++
 debian/source/include-binaries |   1 +
 6 files changed, 19 insertions(+), 3 deletions(-)
 create mode 100644 debian/QtSoundModem.png
 create mode 100644 debian/qtsoundmodem.desktop
 create mode 100644 debian/source/include-binaries

diff --git a/debian/QtSoundModem.png b/debian/QtSoundModem.png
new file mode 100644
index 0000000000000000000000000000000000000000..1ea4ee7f8c905c4e14d8f6bfa8911e860eb56801
GIT binary patch
literal 397
zcmV;80doF{P)<h;3K|Lk000e1NJLTq001BW001Be1^@s6b9#F800040Nkl<ZScUDC
zp>D%46h-eUD>5)B4BRIS6a*R$^dkZX2L=ia0}2KQ`vC(11JhJs5KRRG`-H&4fPiX>
zl!3^Z6UT0qX49nlNY=CcV%;12IRQK#kLS|4I`#kyNPUh#`BgbJoJkgt`t?PQ7N?AY
z^T=t!nqUE`S3-;y*GYu1nwYu7=WITSft3)}qcjZYZ=UZzCoxczxz&WRE$0^9Dd@-1
zF~9;+OSy9{K9mPgMvcBLr$+#|U2?-j$3XU$)hr-w>yK4i&fIaReY|hmzS1;mKsmg7
zh}&_@L)<?%<Curw6~GtN8O2Q#V;*WdMA2vP7ASEQH*(*}r+M1MENS9abfcQjQ(PAX
zcr~QbVAOza;%U9HuN;AtJ8&KW_^AP72a@$808B0ppe;ll(w~SH5%im2t9o0N>-|%(
r9>H&;j^KZNi2lOFvEQ@Db9sCN#$>yHP12yq00000NkvXXu0mjfhu5oQ

literal 0
HcmV?d00001

diff --git a/debian/control b/debian/control
index 886f88c..54020c9 100644
--- a/debian/control
+++ b/debian/control
@@ -6,7 +6,7 @@ Standards-Version: 4.6.2.0
 Vcs-Browser: 
 Vcs-Git: 
 Homepage: https://www.cantab.net/users/john.wiseman/Documents/QtSoundModem.html
-Build-Depends: debhelper-compat (= 13), qtbase5-dev, qt5-qmake, libqt5serialport5-dev, libfftw3-dev, libpulse-dev, libasound2-dev
+Build-Depends: debhelper-compat (= 13), qtbase5-dev, qt5-qmake, libqt5serialport5-dev, libfftw3-dev, libpulse-dev, libasound2-dev, extra-xdg-menus
 Rules-Requires-Root: no
 
 Package: qtsoundmodem
diff --git a/debian/dirs b/debian/dirs
index 59f9257..e6ca2b7 100644
--- a/debian/dirs
+++ b/debian/dirs
@@ -1 +1 @@
-opt/oarc/qtsoundmodem
+opt/oarc/QtSoundModem
diff --git a/debian/install b/debian/install
index e08bb5f..1013fdf 100644
--- a/debian/install
+++ b/debian/install
@@ -1 +1,3 @@
-QtSoundModem opt/oarc/qtsoundmodem
+QtSoundModem /opt/oarc/QtSoundModem
+debian/qtsoundmodem.desktop /usr/share/applications
+debian/QtSoundModem.png /usr/share/pixmaps
diff --git a/debian/qtsoundmodem.desktop b/debian/qtsoundmodem.desktop
new file mode 100644
index 0000000..8e26d00
--- /dev/null
+++ b/debian/qtsoundmodem.desktop
@@ -0,0 +1,13 @@
+[Desktop Entry]
+Name=QtSoundModem
+Comment=QtSoundModem
+Version=1.0
+Exec=/opt/oarc/QtSoundModem/QtSoundModem
+GenericName=QtSoundModem
+Icon=QtSoundModem
+NoDisplay=false
+StartupNotify=true
+Terminal=false
+Type=Application
+Categories=Education;HamRadio
+X-AppImage-Version=1
diff --git a/debian/source/include-binaries b/debian/source/include-binaries
new file mode 100644
index 0000000..a94d046
--- /dev/null
+++ b/debian/source/include-binaries
@@ -0,0 +1 @@
+debian/QtSoundModem.png