QMake: fix desktop entry installation, minor desktop entry fixes
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Syping 2020-08-28 13:06:27 +02:00
parent 4c42f06b39
commit aa142c9ec9
4 changed files with 6 additions and 20 deletions

View file

@ -29,9 +29,9 @@ cat ".ci/app.rc" | sed \
-e "s/STR_BUILD_VER/$APPLICATION_BUILD_STR_VERSION/g" \ -e "s/STR_BUILD_VER/$APPLICATION_BUILD_STR_VERSION/g" \
> "res/app.rc" > "res/app.rc"
cat ".ci/gta5view.desktop" | sed \ # cat ".ci/gta5view.desktop" | sed \
-e "s/PKGAPP_VER/$PACKAGE_VERSION/g" \ # -e "s/PKGAPP_VER/$PACKAGE_VERSION/g" \
> "res/gta5view.desktop" # > "res/gta5view.desktop"
if [ "${BUILD_TYPE}" == "ALPHA" ]; then if [ "${BUILD_TYPE}" == "ALPHA" ]; then
export QMAKE_BUILD_TYPE="DEFINES+=GTA5SYNC_BUILDTYPE_ALPHA" export QMAKE_BUILD_TYPE="DEFINES+=GTA5SYNC_BUILDTYPE_ALPHA"

View file

@ -1,12 +0,0 @@
[Desktop Entry]
Version=PKGAPP_VER
Encoding=UTF-8
Type=Application
Name=gta5view
Comment=Open and edit GTA V profiles
Comment[de]=GTA V Profile öffnen und bearbeiten
Categories=Qt;Application;Utility;
Exec=gta5view
Icon=gta5view
Terminal=false
StartupNotify=false

View file

@ -143,7 +143,7 @@ RESOURCES += \
res/app_qmake.qrc res/app_qmake.qrc
DISTFILES += res/app.rc \ DISTFILES += res/app.rc \
res/gta5view.desktop \ res/de.syping.gta5view.desktop \
res/gta5sync_de.ts \ res/gta5sync_de.ts \
res/gta5sync_en_US.ts \ res/gta5sync_en_US.ts \
res/gta5sync_fr.ts \ res/gta5sync_fr.ts \
@ -214,7 +214,7 @@ QMAKE_EXTRA_TARGETS += depend
isEmpty(GTA5SYNC_PREFIX): GTA5SYNC_PREFIX = /usr/local isEmpty(GTA5SYNC_PREFIX): GTA5SYNC_PREFIX = /usr/local
appfiles.path = $$GTA5SYNC_PREFIX/share/applications appfiles.path = $$GTA5SYNC_PREFIX/share/applications
appfiles.files = $$PWD/res/gta5view.desktop appfiles.files = $$PWD/res/de.syping.gta5view.desktop
pixmaps.path = $$GTA5SYNC_PREFIX/share/pixmaps pixmaps.path = $$GTA5SYNC_PREFIX/share/pixmaps
pixmaps.files = $$PWD/res/gta5view.png pixmaps.files = $$PWD/res/gta5view.png
target.path = $$GTA5SYNC_PREFIX/bin target.path = $$GTA5SYNC_PREFIX/bin

View file

@ -1,11 +1,9 @@
[Desktop Entry] [Desktop Entry]
Version=1.8
Encoding=UTF-8
Type=Application Type=Application
Name=gta5view Name=gta5view
Comment=Open and edit GTA V profiles Comment=Open and edit GTA V profiles
Comment[de]=GTA V Profile öffnen und bearbeiten Comment[de]=GTA V Profile öffnen und bearbeiten
Categories=Qt;Application;Utility; Categories=Qt;Utility
Exec=gta5view Exec=gta5view
Icon=gta5view Icon=gta5view
Terminal=false Terminal=false