From 43535c873ac1b4ce80212b052b0455a1eaaa0208 Mon Sep 17 00:00:00 2001 From: Nadia Holmquist Pedersen Date: Thu, 19 Dec 2019 02:48:11 +0100 Subject: Remove redundant desktop file and change desktop/icon file name to net.kuribo64.melonDS, also change melonds to melonDS. --- flatpak/net.kuribo64.melonDS.yml | 29 +++++++++++++++++++++++++++++ flatpak/net.kuribo64.melonds.desktop | 8 -------- flatpak/net.kuribo64.melonds.yml | 31 ------------------------------- melonDS.desktop | 11 ----------- net.kuribo64.melonDS.desktop | 11 +++++++++++ src/libui_sdl/CMakeLists.txt | 4 ++-- 6 files changed, 42 insertions(+), 52 deletions(-) create mode 100644 flatpak/net.kuribo64.melonDS.yml delete mode 100644 flatpak/net.kuribo64.melonds.desktop delete mode 100644 flatpak/net.kuribo64.melonds.yml delete mode 100644 melonDS.desktop create mode 100644 net.kuribo64.melonDS.desktop diff --git a/flatpak/net.kuribo64.melonDS.yml b/flatpak/net.kuribo64.melonDS.yml new file mode 100644 index 0000000..e336990 --- /dev/null +++ b/flatpak/net.kuribo64.melonDS.yml @@ -0,0 +1,29 @@ +--- +app-id: net.kuribo64.melonDS +runtime: org.freedesktop.Platform +runtime-version: '18.08' +sdk: org.freedesktop.Sdk +command: melonDS +finish-args: + - "--share=ipc" + - "--socket=x11" + - "--socket=pulseaudio" + - "--share=network" + - "--device=all" + - "--filesystem=home" +modules: + - name: libpcap + sources: + - type: archive + url: http://www.tcpdump.org/release/libpcap-1.9.0.tar.gz + sha256: 2edb88808e5913fdaa8e9c1fcaf272e19b2485338742b5074b9fe44d68f37019 + + - name: melonds + buildsystem: cmake-ninja + sources: + - type: git + 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" 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/flatpak/net.kuribo64.melonds.yml b/flatpak/net.kuribo64.melonds.yml deleted file mode 100644 index dcc97b5..0000000 --- a/flatpak/net.kuribo64.melonds.yml +++ /dev/null @@ -1,31 +0,0 @@ ---- -app-id: net.kuribo64.melonds -runtime: org.freedesktop.Platform -runtime-version: '18.08' -sdk: org.freedesktop.Sdk -command: melonDS -finish-args: - - "--share=ipc" - - "--socket=x11" - - "--socket=pulseaudio" - - "--share=network" - - "--device=all" - - "--filesystem=home" -modules: - - name: libpcap - sources: - - type: archive - url: http://www.tcpdump.org/release/libpcap-1.9.0.tar.gz - sha256: 2edb88808e5913fdaa8e9c1fcaf272e19b2485338742b5074b9fe44d68f37019 - - - name: melonds - buildsystem: cmake-ninja - sources: - - type: git - url: https://github.com/StapleButter/melonDS.git - commit: d4d4965b2fffc69958685a25a9d9fc0c78b54567 - - type: file - path: net.kuribo64.melonds.desktop - 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" diff --git a/melonDS.desktop b/melonDS.desktop deleted file mode 100644 index 3dd921c..0000000 --- a/melonDS.desktop +++ /dev/null @@ -1,11 +0,0 @@ -[Desktop Entry] -Name=melonDS -GenericName=Nintendo DS Emulator -Comment=A fast and accurate Nintendo DS emulator. -Exec=melonDS -Type=Application -Categories=Game;Emulator; -Terminal=false -Icon=melon_256x256 -MimeType=application/x-nintendo-ds-rom; -Keywords=emulator;Nintendo;DS;NDS;Nintendo DS; diff --git a/net.kuribo64.melonDS.desktop b/net.kuribo64.melonDS.desktop new file mode 100644 index 0000000..c0dafe2 --- /dev/null +++ b/net.kuribo64.melonDS.desktop @@ -0,0 +1,11 @@ +[Desktop Entry] +Name=melonDS +GenericName=Nintendo DS Emulator +Comment=A fast and accurate Nintendo DS emulator. +Exec=melonDS +Type=Application +Categories=Game;Emulator; +Terminal=false +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) -- cgit v1.2.3