diff --git packaging/CMakeLists.txt packaging/CMakeLists.txt index 4d796e18f..893a1a508 100644 --- packaging/CMakeLists.txt +++ packaging/CMakeLists.txt @@ -118,3 +118,5 @@ IF(NOT MSVC) WORKING_DIRECTORY ${CMAKE_SOURCE_DIR} COMMENT "Create tar source archives") ENDIF(NOT MSVC) + +ADD_SUBDIRECTORY(desktop) diff --git packaging/desktop/CMakeLists.txt packaging/desktop/CMakeLists.txt new file mode 100644 index 000000000..b68d70ab5 --- /dev/null +++ packaging/desktop/CMakeLists.txt @@ -0,0 +1,21 @@ +# Copyright (C) 2022 Matthew Fennell +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see . +IF(UNIX AND NOT APPLE) + INSTALL(FILES net.speed_dreams.desktop + DESTINATION ${CMAKE_INSTALL_PREFIX}/share/applications) + INSTALL(FILES ${CMAKE_SOURCE_DIR}/data/data/icons/icon.svg + DESTINATION ${CMAKE_INSTALL_PREFIX}/share/icons/hicolor/scalable/apps + RENAME speed-dreams-2.svg) +ENDIF(UNIX AND NOT APPLE) diff --git packaging/desktop/net.speed_dreams.desktop packaging/desktop/net.speed_dreams.desktop new file mode 100644 index 000000000..de1dadef0 --- /dev/null +++ packaging/desktop/net.speed_dreams.desktop @@ -0,0 +1,59 @@ +# Copyright (C) 2022 Hao Liang +# Copyright (C) 2022 Matthew Fennell +# Copyright (C) 2022 Zewei Jin +# Copyright (C) 2022 franzopow +# Copyright (C) 2022 leillo1975 +# Copyright (C) 2022 madbad82 +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see . +[Desktop Entry] +Type=Application +Name=Speed Dreams +Icon=speed-dreams-2 +Exec=speed-dreams-2 +Terminal=false +Categories=Game;SportsGame; +Comment=Motorsport Simulator featuring high-quality 3D graphics and an accurate physics engine +Comment[ca]=Simulador de deports de motor amb gràfics 3D d'alta calitat i un motor de física precís +Comment[ca_ES@valencia]=Simulador de deports de motor amb gràfics 3D d'alta calitat i un motor de física precís +Comment[de]=Motorsport Simulator mit hochwertigen 3D Grafiken und präziser Physik-Engine +Comment[es]=Simulador de deportes de motor con gráficos 3D de alta calidad y un motor de física preciso +Comment[eu]=Kalitate altuko 3D grafikak eta fisika zehatzeko eragileak dituen motorrezko kirolen simulatzailea +Comment[gl]=Simulador de deportes de motor con gráficos 3D de alta calidade e un motor de física preciso +Comment[it]=Simulatore di guida con grafica 3d di alta qualità e un accurato motore fisico +Comment[nl]=Motorsportsimulator met 3D-graphics van hoge kwaliteit en een nauwkeurige physics-engine +Comment[pt]=Simulador de esportes a motor com gráficos 3D de alta qualidade e um motor de física preciso +Comment[zh_CN]=具有高清3D画质和精准物理引擎的赛车模拟器 +GenericName=Racing Game +GenericName[ca]=Joc de carreres +GenericName[ca_ES@valencia]=Joc de carreres +GenericName[de]=Rennspiel +GenericName[es]=Juego de carreras +GenericName[eu]=Lasterketen jokoa +GenericName[gl]=Xogo de carreiras +GenericName[it]=Gioco di corse +GenericName[nl]=Race spelletje +GenericName[pt]=jogo de corrida +GenericName[zh_CN]=赛车游戏 +Keywords=race;racing;drive;driving;racer;driver;track;motorsport;game; +Keywords[ca]=carrera;racing;conducció;deport de motor;joc;cotxe;simulació; +Keywords[ca_ES@valencia]=carrera;racing;conducció;deport de motor;joc;cotxe;simulació; +Keywords[de]=Rennen;Fahren;Motorsport;Videospiel;Auto;Simulation +Keywords[es]=carrera;racing;conducción;deporte de motor;juego;coche;simulación; +Keywords[eu]=Lasterketa;kondukzioa;motor-kirola;jokoa;kotxe/auto;simulazioa +Keywords[gl]=carreira;racing;conducción;deporte de motor;xogo;coche;simulación; +Keywords[it]=corse;racing;guida;guidare;motorsport,gioco,macchine;simulatore +Keywords[nl]=racen, racing, autorijden, motorsport, spelletjes, auto's, simulatie; +Keywords[pt]=corrida, racing, condução, esporte a motor, jogos, carros, simulação +Keywords[zh_CN]=赛车;驾驶;赛车运动;游戏;汽车;模拟;模拟器;竞速;