Remove redundant desktop file and change desktop/icon file name to net.kuribo64.melonDS, also change melonds to melonDS.

This commit is contained in:
Nadia Holmquist Pedersen 2019-12-19 02:48:11 +01:00
parent 23bca8c17a
commit 43535c873a
4 changed files with 8 additions and 18 deletions

View File

@ -1,5 +1,5 @@
--- ---
app-id: net.kuribo64.melonds app-id: net.kuribo64.melonDS
runtime: org.freedesktop.Platform runtime: org.freedesktop.Platform
runtime-version: '18.08' runtime-version: '18.08'
sdk: org.freedesktop.Sdk sdk: org.freedesktop.Sdk
@ -22,10 +22,8 @@ modules:
buildsystem: cmake-ninja buildsystem: cmake-ninja
sources: sources:
- type: git - type: git
url: https://github.com/StapleButter/melonDS.git url: https://github.com/Arisotura/melonDS.git
commit: d4d4965b2fffc69958685a25a9d9fc0c78b54567 branch: master
- type: file
path: net.kuribo64.melonds.desktop
post-install: post-install:
- "desktop-file-install --dir=/app/share/applications net.kuribo64.melonds.desktop" - "desktop-file-install --dir=/app/share/applications net.kuribo64.melonDS.desktop"
- "install -D icon/melon_256x256.png /app/share/icons/hicolor/256x256/apps/net.kuribo64.melonds.png" - "install -D icon/melon_256x256.png /app/share/icons/hicolor/256x256/apps/net.kuribo64.melonDS.png"

View File

@ -1,8 +0,0 @@
[Desktop Entry]
Name=melonDS
Comment=Nintendo DS emulator
Exec=melonDS
Type=Application
Categories=Game;
Terminal=false
Icon=net.kuribo64.melonds

View File

@ -6,6 +6,6 @@ Exec=melonDS
Type=Application Type=Application
Categories=Game;Emulator; Categories=Game;Emulator;
Terminal=false Terminal=false
Icon=melon_256x256 Icon=net.kuribo64.melonDS
MimeType=application/x-nintendo-ds-rom; MimeType=application/x-nintendo-ds-rom;
Keywords=emulator;Nintendo;DS;NDS;Nintendo DS; Keywords=emulator;Nintendo;DS;NDS;Nintendo DS;

View File

@ -66,7 +66,7 @@ elseif (WIN32)
target_link_libraries(melonDS comctl32 d2d1 dwrite uxtheme ws2_32 iphlpapi) target_link_libraries(melonDS comctl32 d2d1 dwrite uxtheme ws2_32 iphlpapi)
endif () endif ()
install(FILES ../../melonDS.desktop DESTINATION ${CMAKE_INSTALL_PREFIX}/share/applications) install(FILES ../../net.kuribo64.melonDS.desktop DESTINATION ${CMAKE_INSTALL_PREFIX}/share/applications)
install(FILES ../../icon/melon_256x256.png DESTINATION ${CMAKE_INSTALL_PREFIX}/share/pixmaps) install(FILES ../../icon/melon_256x256.png DESTINATION ${CMAKE_INSTALL_PREFIX}/share/pixmaps RENAME net.kuribo64.melonDS.png)
install(FILES ../../romlist.bin DESTINATION ${CMAKE_INSTALL_PREFIX}/share/melonds) install(FILES ../../romlist.bin DESTINATION ${CMAKE_INSTALL_PREFIX}/share/melonds)
install(TARGETS melonDS RUNTIME DESTINATION ${CMAKE_INSTALL_PREFIX}/bin) install(TARGETS melonDS RUNTIME DESTINATION ${CMAKE_INSTALL_PREFIX}/bin)