aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNadia Holmquist Pedersen <nadia@nhp.sh>2019-12-19 02:48:11 +0100
committerNadia Holmquist Pedersen <nadia@nhp.sh>2019-12-19 02:48:11 +0100
commit43535c873ac1b4ce80212b052b0455a1eaaa0208 (patch)
tree40a52d5d2b14fb8dd72b350eb8611daabeda8c09
parent23bca8c17a3a630721e61079daf729ee1e5ed65f (diff)
Remove redundant desktop file and change desktop/icon file name to net.kuribo64.melonDS, also change melonds to melonDS.
-rw-r--r--flatpak/net.kuribo64.melonDS.yml (renamed from flatpak/net.kuribo64.melonds.yml)12
-rw-r--r--flatpak/net.kuribo64.melonds.desktop8
-rw-r--r--net.kuribo64.melonDS.desktop (renamed from melonDS.desktop)2
-rw-r--r--src/libui_sdl/CMakeLists.txt4
4 files changed, 8 insertions, 18 deletions
diff --git a/flatpak/net.kuribo64.melonds.yml b/flatpak/net.kuribo64.melonDS.yml
index dcc97b5..e336990 100644
--- a/flatpak/net.kuribo64.melonds.yml
+++ b/flatpak/net.kuribo64.melonDS.yml
@@ -1,5 +1,5 @@
---
-app-id: net.kuribo64.melonds
+app-id: net.kuribo64.melonDS
runtime: org.freedesktop.Platform
runtime-version: '18.08'
sdk: org.freedesktop.Sdk
@@ -22,10 +22,8 @@ modules:
buildsystem: cmake-ninja
sources:
- type: git
- url: https://github.com/StapleButter/melonDS.git
- commit: d4d4965b2fffc69958685a25a9d9fc0c78b54567
- - type: file
- path: net.kuribo64.melonds.desktop
+ url: https://github.com/Arisotura/melonDS.git
+ branch: master
post-install:
- - "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"
+ - "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"
diff --git a/flatpak/net.kuribo64.melonds.desktop b/flatpak/net.kuribo64.melonds.desktop
deleted file mode 100644
index e91f10d..0000000
--- a/flatpak/net.kuribo64.melonds.desktop
+++ /dev/null
@@ -1,8 +0,0 @@
-[Desktop Entry]
-Name=melonDS
-Comment=Nintendo DS emulator
-Exec=melonDS
-Type=Application
-Categories=Game;
-Terminal=false
-Icon=net.kuribo64.melonds
diff --git a/melonDS.desktop b/net.kuribo64.melonDS.desktop
index 3dd921c..c0dafe2 100644
--- a/melonDS.desktop
+++ b/net.kuribo64.melonDS.desktop
@@ -6,6 +6,6 @@ Exec=melonDS
Type=Application
Categories=Game;Emulator;
Terminal=false
-Icon=melon_256x256
+Icon=net.kuribo64.melonDS
MimeType=application/x-nintendo-ds-rom;
Keywords=emulator;Nintendo;DS;NDS;Nintendo DS;
diff --git a/src/libui_sdl/CMakeLists.txt b/src/libui_sdl/CMakeLists.txt
index ae270e4..8c3d042 100644
--- a/src/libui_sdl/CMakeLists.txt
+++ b/src/libui_sdl/CMakeLists.txt
@@ -66,7 +66,7 @@ elseif (WIN32)
target_link_libraries(melonDS comctl32 d2d1 dwrite uxtheme ws2_32 iphlpapi)
endif ()
-install(FILES ../../melonDS.desktop DESTINATION ${CMAKE_INSTALL_PREFIX}/share/applications)
-install(FILES ../../icon/melon_256x256.png DESTINATION ${CMAKE_INSTALL_PREFIX}/share/pixmaps)
+install(FILES ../../net.kuribo64.melonDS.desktop DESTINATION ${CMAKE_INSTALL_PREFIX}/share/applications)
+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(TARGETS melonDS RUNTIME DESTINATION ${CMAKE_INSTALL_PREFIX}/bin)