diff --git a/packages/deb/DEBIAN/control b/packages/deb/DEBIAN/control index a70957c..db589b5 100644 --- a/packages/deb/DEBIAN/control +++ b/packages/deb/DEBIAN/control @@ -4,6 +4,6 @@ Architecture: all Essential: no Section: contrib 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 Description: The free open source and cross platform screen sharing software diff --git a/packages/deb/usr/share/applications/KShare.desktop b/packages/deb/usr/share/applications/KShare.desktop new file mode 100755 index 0000000..2a9774b --- /dev/null +++ b/packages/deb/usr/share/applications/KShare.desktop @@ -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 diff --git a/packages/deb/usr/share/pixmaps/KShare.png b/packages/deb/usr/share/pixmaps/KShare.png new file mode 100644 index 0000000..8667c3f Binary files /dev/null and b/packages/deb/usr/share/pixmaps/KShare.png differ diff --git a/packages/makedeb.sh b/packages/makedeb.sh index 8767a76..63c0d85 100755 --- a/packages/makedeb.sh +++ b/packages/makedeb.sh @@ -4,7 +4,7 @@ then echo "Provide a version with arg1" >&2 exit 1 fi -[[ ! -d work ]] && cp deb work -r +cp deb work -r sed "s/%ver/$1/g" deb/DEBIAN/control > work/DEBIAN/control mkdir -p work/usr/bin mkdir compiling @@ -20,7 +20,7 @@ else exit 2 fi cd work -md5sum usr/bin/kshare > DEBIAN/md5sums +md5sum usr/bin/kshare usr/share/applications/KShare.desktop > DEBIAN/md5sums cd .. dpkg-deb -b work/ rm -rf work