diff --git a/package/CMakeLists.txt b/package/CMakeLists.txt index b92f0ac91..4572a28df 100644 --- a/package/CMakeLists.txt +++ b/package/CMakeLists.txt @@ -1,3 +1,23 @@ -if(ENABLE_QT AND ${CMAKE_SYSTEM_NAME} MATCHES "Linux") - install(FILES org.flightgear.FlightGear.desktop DESTINATION share/applications) -endif(ENABLE_QT AND ${CMAKE_SYSTEM_NAME} MATCHES "Linux") + +# this is the timestampe of when we ran Cmake, we could +# switch to parsing this from flightgear/version file explicity, +# but it's only needed by AppStream metainfo for the moment + +string(TIMESTAMP FG_CMAKE_TIMESTAMP "%Y-%m-%d") + +if(${CMAKE_SYSTEM_NAME} MATCHES "Linux") + # our .desktop file specifies --launcher, so only install it for + # a build with the launcher enabled. + if (ENABLE_QT) + install(FILES org.flightgear.FlightGear.desktop DESTINATION share/applications) + endif() + + # generate a metainfo file corresponding to this release + configure_file ( + "${CMAKE_CURRENT_SOURCE_DIR}/org.flightgear.FlightGear.metainfo.in" + "${CMAKE_CURRENT_BINARY_DIR}/org.flightgear.FlightGear.metainfo.xml" + ) + + install(FILES "${CMAKE_CURRENT_BINARY_DIR}/org.flightgear.FlightGear.metainfo.xml" DESTINATION share/metainfo) + +endif() diff --git a/package/org.flightgear.FlightGear.metainfo.in b/package/org.flightgear.FlightGear.metainfo.in new file mode 100644 index 000000000..898d0d6a5 --- /dev/null +++ b/package/org.flightgear.FlightGear.metainfo.in @@ -0,0 +1,50 @@ + + + + + + org.flightgear.FlightGear + FlightGear + A free and highly sophisticated flight simulator + Um simulador de voo gratuito e altamente sofisticado + Un simulador de vuelo gratuito y altamente sofisticado + CC0-1.0 + +

FlightGear allows you to control over 400 aircraft, small and large in a range of situations, types of weather, seasons, day and night cycle. This includes single-engine propeller aircraft, large 4-engine passenger liners, experimental aircraft, classic and vintage aircraft and helicopters.

+

FlightGear permite controlar mais de 400 aeronaves, pequenas e grandes em diversas situações, tipos de clima, estações do ano, ciclo diurno e noturno. Isso inclui aeronaves a hélice monomotor, grandes navios de passageiros de 4 motores, aeronaves experimentais, aeronaves clássicas e antigas e helicópteros.

+

FlightGear permite controlar más de 400 aeronaves, pequeñas y grandes en diversas situaciones, tipos de clima, estaciones del año, ciclo diurno y nocturno. Esto incluye aviones a hélice monomotor, grandes buques de pasajeros de 4 motores, aeronaves experimentales, aeronaves clásicas y antiguas y helicópteros.

+

The FlightGear landscape covers the entire world and is downloaded as you fly. Visit any of the 20,000 airports with an accurate representation of airport buildings on many of the larger, international airports.

+

A paisagem do FlightGear cobre o mundo inteiro e é baixada enquanto você voa. Visite qualquer um dos 20.000 aeroportos com uma representação precisa dos edifícios do aeroporto em muitos dos maiores aeroportos internacionais.

+

El paisaje de FlightGear cubre el mundo entero y se descarga mientras vuela. Visite cualquiera de los 20.000 aeropuertos con una representación precisa de los edificios del aeropuerto en muchos de los mayores aeropuertos internacionales.

+

Most popular flight control hardware, such as yokes and sticks are supported. Multiple monitor setup and multiplayer is also featured.

+

Mais popular hardware de controle de vôo, tais como yokes e sticks são suportados. Vários monitores de configuração e multiplayer também é destaque.

+

Más populares hardware de control de vuelo, como yokes y sticks son compatibles. Varios monitores de configuración y multijugador también se destaca.

+
+ + + http://wiki.flightgear.org/images/b/b3/SOTM-Feb18.jpg + + + http://wiki.flightgear.org/images/3/37/SOTY-2017.jpeg + + + http://wiki.flightgear.org/images/2/27/SOTM-Oct17.png + + + + intense + + GPL-2.0 + FlightGear Developers + https://www.flightgear.org/ + https://sourceforge.net/p/flightgear/codetickets/ + https://store.flightgear.org/ + http://flightgear.sourceforge.net/getstart-en/getstart-en.html + http://wiki.flightgear.org/Howto:Translate_FlightGear + + + +
\ No newline at end of file