QMake: fix desktop entry installation, minor desktop entry fixes
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
4c42f06b39
commit
aa142c9ec9
4 changed files with 6 additions and 20 deletions
|
@ -29,9 +29,9 @@ cat ".ci/app.rc" | sed \
|
|||
-e "s/STR_BUILD_VER/$APPLICATION_BUILD_STR_VERSION/g" \
|
||||
> "res/app.rc"
|
||||
|
||||
cat ".ci/gta5view.desktop" | sed \
|
||||
-e "s/PKGAPP_VER/$PACKAGE_VERSION/g" \
|
||||
> "res/gta5view.desktop"
|
||||
# cat ".ci/gta5view.desktop" | sed \
|
||||
# -e "s/PKGAPP_VER/$PACKAGE_VERSION/g" \
|
||||
# > "res/gta5view.desktop"
|
||||
|
||||
if [ "${BUILD_TYPE}" == "ALPHA" ]; then
|
||||
export QMAKE_BUILD_TYPE="DEFINES+=GTA5SYNC_BUILDTYPE_ALPHA"
|
||||
|
|
|
@ -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
|
|
@ -143,7 +143,7 @@ RESOURCES += \
|
|||
res/app_qmake.qrc
|
||||
|
||||
DISTFILES += res/app.rc \
|
||||
res/gta5view.desktop \
|
||||
res/de.syping.gta5view.desktop \
|
||||
res/gta5sync_de.ts \
|
||||
res/gta5sync_en_US.ts \
|
||||
res/gta5sync_fr.ts \
|
||||
|
@ -214,7 +214,7 @@ QMAKE_EXTRA_TARGETS += depend
|
|||
isEmpty(GTA5SYNC_PREFIX): GTA5SYNC_PREFIX = /usr/local
|
||||
|
||||
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.files = $$PWD/res/gta5view.png
|
||||
target.path = $$GTA5SYNC_PREFIX/bin
|
||||
|
|
|
@ -1,11 +1,9 @@
|
|||
[Desktop Entry]
|
||||
Version=1.8
|
||||
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;
|
||||
Categories=Qt;Utility
|
||||
Exec=gta5view
|
||||
Icon=gta5view
|
||||
Terminal=false
|
||||
|
|
Loading…
Reference in a new issue