From 0791b658a9c127c570b28f8137f9a739939eda11 Mon Sep 17 00:00:00 2001 From: Guo Yunhe Date: Wed, 5 Aug 2020 23:56:17 +0300 Subject: [PATCH] Add AppStream support for Linux and BSD --- .editorconfig | 5 ++++ Makefile | 3 ++ com.libretro.RetroArch.appdata.xml | 48 ++++++++++++++++++++++++++++++ 3 files changed, 56 insertions(+) create mode 100644 com.libretro.RetroArch.appdata.xml diff --git a/.editorconfig b/.editorconfig index 572c3c9ccd8..2ee2ca19f16 100644 --- a/.editorconfig +++ b/.editorconfig @@ -15,6 +15,11 @@ charset = utf-8 indent_style = space indent_size = 3 +# 2 space indentation +[*.{json,xml,yaml,yml}] +indent_style = space +indent_size = 2 + # Tab indentation [Makefile*] indent_style = tab diff --git a/Makefile b/Makefile index a9363c977f1..d65dc978f3a 100644 --- a/Makefile +++ b/Makefile @@ -235,6 +235,7 @@ install: $(TARGET) cp $(TARGET) $(DESTDIR)$(BIN_DIR) cp tools/cg2glsl.py $(DESTDIR)$(BIN_DIR)/retroarch-cg2glsl cp retroarch.cfg $(DESTDIR)$(GLOBAL_CONFIG_DIR) + cp com.libretro.RetroArch.appdata.xml $(DESTDIR)$(DATA_DIR)/metainfo cp retroarch.desktop $(DESTDIR)$(DATA_DIR)/applications cp docs/retroarch.6 $(DESTDIR)$(MAN_DIR)/man6 cp docs/retroarch-cg2glsl.6 $(DESTDIR)$(MAN_DIR)/man6 @@ -245,6 +246,7 @@ install: $(TARGET) chmod 755 $(DESTDIR)$(BIN_DIR)/retroarch-cg2glsl chmod 644 $(DESTDIR)$(GLOBAL_CONFIG_DIR)/retroarch.cfg chmod 644 $(DESTDIR)$(DATA_DIR)/applications/retroarch.desktop + chmod 644 $(DESTDIR)$(DATA_DIR)/metainfo/com.libretro.RetroArch.appdata.xml chmod 644 $(DESTDIR)$(MAN_DIR)/man6/retroarch.6 chmod 644 $(DESTDIR)$(MAN_DIR)/man6/retroarch-cg2glsl.6 chmod 644 $(DESTDIR)$(DATA_DIR)/pixmaps/retroarch.svg @@ -269,6 +271,7 @@ uninstall: rm -f $(DESTDIR)$(BIN_DIR)/retroarch-cg2glsl rm -f $(DESTDIR)$(GLOBAL_CONFIG_DIR)/retroarch.cfg rm -f $(DESTDIR)$(DATA_DIR)/applications/retroarch.desktop + rm -f $(DESTDIR)$(DATA_DIR)/metainfo/com.libretro.RetroArch.appdata.xml rm -f $(DESTDIR)$(DATA_DIR)/pixmaps/retroarch.svg rm -f $(DESTDIR)$(DOC_DIR)/COPYING rm -f $(DESTDIR)$(DOC_DIR)/COPYING.assets diff --git a/com.libretro.RetroArch.appdata.xml b/com.libretro.RetroArch.appdata.xml new file mode 100644 index 00000000000..a798a16cfcb --- /dev/null +++ b/com.libretro.RetroArch.appdata.xml @@ -0,0 +1,48 @@ + + + com.libretro.RetroArch + retroarch.desktop + CC0-1.0 + RetroArch + Frontend for emulators, game engines and media players + +

+ RetroArch is an open source and cross platform frontend/framework for emulators, game engines, video games, media players and other applications. +

+

+ While it can do many things besides this, it is most widely known for enabling you to run classic games on a wide range of computers and consoles through a slick graphical interface. Settings are also unified so configuration is done once and for all. +

+

+ In addition to this, you will soon be able to run original game discs (CDs) from RetroArch. We take videogame preservation seriously and want to ensure you can run your originally bought content on modern day PCs. +

+

+ RetroArch has advanced features like shaders, netplay, rewinding, next-frame response times, runahead, and more! +

+
+ https://www.retroarch.com/ + https://github.com/libretro/RetroArch/issues + https://www.retroarch.com/index.php?page=donate + + + + Libretro + GPL-3.0 + Libretro + + + https://www.retroarch.com/images/xmb-tabs.png + + + https://www.retroarch.com/images/xmb-updater.png + + + https://www.retroarch.com/images/xmb-osk.png + + + https://www.retroarch.com/images/xmb-playlists.png + + + https://www.retroarch.com/images/xmb-metadata.png + + +