makedeb: add icons and launchers

This commit is contained in:
ArsenArsen 2017-11-16 20:37:46 +01:00
parent 256d179588
commit 6fbb1d1143
No known key found for this signature in database
GPG Key ID: 683D2F43B0CA4BD2
4 changed files with 18 additions and 3 deletions

View File

@ -4,6 +4,6 @@ Architecture: all
Essential: no Essential: no
Section: contrib Section: contrib
Priority: optional Priority: optional
Depends: qt5-default (>=5.8.0), libqt5svg5-dev (>=5.7.0), libqt5x11extras5 (>=5.7.0), libavcodec57 (>=3.2.0), libavformat57 (>=3.2.0), libswscale4 (>=3.2.0), libavutil55 (>=3.2.0), libxcb-cursor0 (>=0.1.0), libxcb1 (>=1.11.0), libxcb-xfixes0 (>=1.11.0), libxcb-util0 (>=0.3.8), libxcb-xfixes0 (>=1.11.0) Depends: qt5-default (>=5.8.0), libqt5svg5-dev (>=5.8.0), libqt5x11extras5 (>=5.8.0), libavcodec57 (>=3.2.0), libavformat57 (>=3.2.0), libswscale4 (>=3.2.0), libavutil55 (>=3.2.0), libxcb-cursor0 (>=0.1.0), libxcb1 (>=1.11.0), libxcb-xfixes0 (>=1.11.0), libxcb-util0 (>=0.3.8), libxcb-xfixes0 (>=1.11.0)
Maintainer: ArsenArsen <arsenarsentmc@outlook.com> Maintainer: ArsenArsen <arsenarsentmc@outlook.com>
Description: The free open source and cross platform screen sharing software Description: The free open source and cross platform screen sharing software

View File

@ -0,0 +1,15 @@
[Desktop Entry]
Name=KShare
Comment=A ShareX inspired cross platform screen capture utility written with Qt.
GenericName=Screenshot Capture Utility
Exec=/usr/bin/kshare
Icon=/usr/share/pixmaps/KShare.png
Type=Application
StartupNotify=false
Categories=Qt;Utility;
StartupWMClass=KSharee
Actions=StartInBackground
[Desktop Action StartInBackground]
Name=Start without showing the window
Exec=kshare -b

Binary file not shown.

After

Width:  |  Height:  |  Size: 22 KiB

View File

@ -4,7 +4,7 @@ then
echo "Provide a version with arg1" >&2 echo "Provide a version with arg1" >&2
exit 1 exit 1
fi fi
[[ ! -d work ]] && cp deb work -r cp deb work -r
sed "s/%ver/$1/g" deb/DEBIAN/control > work/DEBIAN/control sed "s/%ver/$1/g" deb/DEBIAN/control > work/DEBIAN/control
mkdir -p work/usr/bin mkdir -p work/usr/bin
mkdir compiling mkdir compiling
@ -20,7 +20,7 @@ else
exit 2 exit 2
fi fi
cd work cd work
md5sum usr/bin/kshare > DEBIAN/md5sums md5sum usr/bin/kshare usr/share/applications/KShare.desktop > DEBIAN/md5sums
cd .. cd ..
dpkg-deb -b work/ dpkg-deb -b work/
rm -rf work rm -rf work