Skip to content

Commit

Permalink
Add AppStream support for Linux and BSD
Browse files Browse the repository at this point in the history
  • Loading branch information
guoyunhe committed Aug 5, 2020
1 parent bbff921 commit 0791b65
Show file tree
Hide file tree
Showing 3 changed files with 56 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .editorconfig
Expand Up @@ -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
3 changes: 3 additions & 0 deletions Makefile
Expand Up @@ -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
Expand All @@ -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
Expand All @@ -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
Expand Down
48 changes: 48 additions & 0 deletions com.libretro.RetroArch.appdata.xml
@@ -0,0 +1,48 @@
<?xml version="1.0" encoding="UTF-8"?>
<component type="desktop">
<id>com.libretro.RetroArch</id>
<launchable type="desktop-id">retroarch.desktop</launchable>
<metadata_license>CC0-1.0</metadata_license>
<name>RetroArch</name>
<summary>Frontend for emulators, game engines and media players</summary>
<description>
<p>
RetroArch is an open source and cross platform frontend/framework for emulators, game engines, video games, media players and other applications.
</p>
<p>
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.
</p>
<p>
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.
</p>
<p>
RetroArch has advanced features like shaders, netplay, rewinding, next-frame response times, runahead, and more!
</p>
</description>
<url type="homepage">https://www.retroarch.com/</url>
<url type="bugtracker">https://github.com/libretro/RetroArch/issues</url>
<url type="donation">https://www.retroarch.com/index.php?page=donate</url>
<releases>
<release version="1.8.9"/>
</releases>
<project_group>Libretro</project_group>
<project_license>GPL-3.0</project_license>
<developer_name>Libretro</developer_name>
<screenshots>
<screenshot type="default">
<image>https://www.retroarch.com/images/xmb-tabs.png</image>
</screenshot>
<screenshot type="default">
<image>https://www.retroarch.com/images/xmb-updater.png</image>
</screenshot>
<screenshot type="default">
<image>https://www.retroarch.com/images/xmb-osk.png</image>
</screenshot>
<screenshot type="default">
<image>https://www.retroarch.com/images/xmb-playlists.png</image>
</screenshot>
<screenshot type="default">
<image>https://www.retroarch.com/images/xmb-metadata.png</image>
</screenshot>
</screenshots>
</component>

0 comments on commit 0791b65

Please sign in to comment.