diff options
Diffstat (limited to '')
-rw-r--r-- | CMakeLists.txt | 18 | ||||
-rw-r--r-- | dist/yuzu.desktop | 12 | ||||
-rw-r--r-- | dist/yuzu.icns | bin | 0 -> 117940 bytes | |||
-rw-r--r-- | dist/yuzu.ico | bin | 838 -> 370070 bytes | |||
-rw-r--r-- | dist/yuzu.svg | 86 | ||||
-rw-r--r-- | dist/yuzu.xml | 18 | ||||
-rw-r--r-- | src/yuzu/CMakeLists.txt | 4 |
7 files changed, 120 insertions, 18 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 5dd11b6a4..a31fb5793 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -324,22 +324,10 @@ add_subdirectory(src) # http://standards.freedesktop.org/icon-theme-spec/icon-theme-spec-latest.html # http://standards.freedesktop.org/shared-mime-info-spec/shared-mime-info-spec-latest.html if(ENABLE_QT AND UNIX AND NOT APPLE) - install(FILES "${CMAKE_SOURCE_DIR}/dist/citra.desktop" + install(FILES "${CMAKE_SOURCE_DIR}/dist/yuzu.desktop" DESTINATION "${CMAKE_INSTALL_PREFIX}/share/applications") - install(FILES "${CMAKE_SOURCE_DIR}/dist/citra.svg" + install(FILES "${CMAKE_SOURCE_DIR}/dist/yuzu.svg" DESTINATION "${CMAKE_INSTALL_PREFIX}/share/pixmaps") - install(FILES "${CMAKE_SOURCE_DIR}/dist/citra.xml" + install(FILES "${CMAKE_SOURCE_DIR}/dist/yuzu.xml" DESTINATION "${CMAKE_INSTALL_PREFIX}/share/mime/packages") endif() - -if(UNIX) - if(ENABLE_SDL2) - install(FILES "${CMAKE_SOURCE_DIR}/dist/citra.6" - DESTINATION "${CMAKE_INSTALL_PREFIX}/share/man/man6") - endif() - - if (ENABLE_QT) - install(FILES "${CMAKE_SOURCE_DIR}/dist/citra-qt.6" - DESTINATION "${CMAKE_INSTALL_PREFIX}/share/man/man6") - endif() -endif() diff --git a/dist/yuzu.desktop b/dist/yuzu.desktop new file mode 100644 index 000000000..105080c73 --- /dev/null +++ b/dist/yuzu.desktop @@ -0,0 +1,12 @@ +[Desktop Entry] +Version=1.0 +Type=Application +Name=yuzu +GenericName=Switch Emulator +Comment=Nintendo Switch video game console emulator +Icon=yuzu +TryExec=yuzu +Exec=yuzu %f +Categories=Game;Emulator;Qt; +MimeType=application/x-nx-nro;application/x-nx-nso; +Keywords=Switch;Nintendo;
\ No newline at end of file diff --git a/dist/yuzu.icns b/dist/yuzu.icns Binary files differnew file mode 100644 index 000000000..1e0120d7e --- /dev/null +++ b/dist/yuzu.icns diff --git a/dist/yuzu.ico b/dist/yuzu.ico Binary files differindex bfa2ced13..4f372f571 100644 --- a/dist/yuzu.ico +++ b/dist/yuzu.ico diff --git a/dist/yuzu.svg b/dist/yuzu.svg new file mode 100644 index 000000000..1e16f061a --- /dev/null +++ b/dist/yuzu.svg @@ -0,0 +1,86 @@ +<?xml version="1.0" encoding="UTF-8" standalone="no"?> +<!-- Created with Inkscape (http://www.inkscape.org/) --> + +<svg + xmlns:dc="http://purl.org/dc/elements/1.1/" + xmlns:cc="http://creativecommons.org/ns#" + xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" + xmlns:svg="http://www.w3.org/2000/svg" + xmlns="http://www.w3.org/2000/svg" + xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" + xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" + version="1.1" + id="svg815" + xml:space="preserve" + width="72" + height="80" + viewBox="0 0 72 80" + sodipodi:docname="center-logo-v3.svg" + inkscape:version="0.92.2 (5c3e80d, 2017-08-06)"><metadata + id="metadata821"><rdf:RDF><cc:Work + rdf:about=""><dc:format>image/svg+xml</dc:format><dc:type + rdf:resource="http://purl.org/dc/dcmitype/StillImage" /><dc:title></dc:title></cc:Work></rdf:RDF></metadata><defs + id="defs819"><clipPath + clipPathUnits="userSpaceOnUse" + id="clipPath831"><path + d="M 0,60 H 54 V 0 H 0 Z" + id="path829" + inkscape:connector-curvature="0" /></clipPath><clipPath + clipPathUnits="userSpaceOnUse" + id="clipPath843"><path + d="M 0,60 H 54 V 0 H 0 Z" + id="path841" + inkscape:connector-curvature="0" /></clipPath><clipPath + clipPathUnits="userSpaceOnUse" + id="clipPath855"><path + d="M 0,60 H 54 V 0 H 0 Z" + id="path853" + inkscape:connector-curvature="0" /></clipPath><clipPath + clipPathUnits="userSpaceOnUse" + id="clipPath867"><path + d="M 0,60 H 54 V 0 H 0 Z" + id="path865" + inkscape:connector-curvature="0" /></clipPath></defs><sodipodi:namedview + pagecolor="#ffffff" + bordercolor="#666666" + borderopacity="1" + objecttolerance="10" + gridtolerance="10" + guidetolerance="10" + inkscape:pageopacity="0" + inkscape:pageshadow="2" + inkscape:window-width="1920" + inkscape:window-height="1017" + id="namedview817" + showgrid="false" + inkscape:zoom="7.4953319" + inkscape:cx="28.177201" + inkscape:cy="44.348084" + inkscape:window-x="-8" + inkscape:window-y="-8" + inkscape:window-maximized="1" + inkscape:current-layer="g823" /><g + id="g823" + inkscape:groupmode="layer" + inkscape:label="center-logo-v3" + transform="matrix(1.3333333,0,0,-1.3333333,0,80)"><g + id="right" + inkscape:label="#g825"><g + id="g827" + clip-path="url(#clipPath831)"><g + id="g833" + transform="translate(30,48)"><path + d="m 0,0 v -48 c 13.255,0 24,10.745 24,24 C 24,-10.745 13.255,0 0,0 M 3,-3.214 C 13.163,-4.674 21,-13.439 21,-24 21,-34.561 13.163,-43.326 3,-44.786 v 41.572" + style="fill:#ff3c28;fill-opacity:1;fill-rule:nonzero;stroke:none" + id="path835" + inkscape:connector-curvature="0" /></g></g></g><g + id="left" + inkscape:label="#g837"><g + id="g839" + clip-path="url(#clipPath843)"><g + id="g845" + transform="translate(24,60)"><path + d="m 0,0 c -13.255,0 -24,-10.745 -24,-24 0,-13.255 10.745,-24 24,-24 z m -3,-3.214 v -41.572 c -10.163,1.46 -18,10.225 -18,20.786 0,10.561 7.837,19.326 18,20.786" + style="fill:#0ab9e6;fill-opacity:1;fill-rule:nonzero;stroke:none" + id="path847" + inkscape:connector-curvature="0" /></g></g></g></g></svg>
\ No newline at end of file diff --git a/dist/yuzu.xml b/dist/yuzu.xml new file mode 100644 index 000000000..f6e408321 --- /dev/null +++ b/dist/yuzu.xml @@ -0,0 +1,18 @@ +<?xml version="1.0" encoding="UTF-8"?> +<mime-info xmlns="http://www.freedesktop.org/standards/shared-mime-info"> + <mime-type type="application/x-nx-nro"> + <comment>Nintendo Switch homebrew executable</comment> + <acronym>NRO</acronym> + <icon name="yuzu"/> + <glob pattern="*.nro"/> + <magic><match value="NRO" type="string" offset="16"/></magic> + </mime-type> + + <mime-type type="application/x-nx-nso"> + <comment>Nintendo Switch homebrew executable</comment> + <acronym>NSO</acronym> + <icon name="yuzu"/> + <glob pattern="*.nso"/> + <magic><match value="NSO" type="string" offset="0"/></magic> + </mime-type> +</mime-info>
\ No newline at end of file diff --git a/src/yuzu/CMakeLists.txt b/src/yuzu/CMakeLists.txt index 1ec6abbb4..0dedfc83f 100644 --- a/src/yuzu/CMakeLists.txt +++ b/src/yuzu/CMakeLists.txt @@ -70,9 +70,7 @@ else() endif() if (APPLE) - if (EXISTS "../../dist/yuzu.icns") - set(MACOSX_ICON "../../dist/yuzu.icns") - endif() + set(MACOSX_ICON "../../dist/yuzu.icns") set_source_files_properties(${MACOSX_ICON} PROPERTIES MACOSX_PACKAGE_LOCATION Resources) add_executable(yuzu MACOSX_BUNDLE ${SRCS} ${HEADERS} ${UI_HDRS} ${MACOSX_ICON}) set_target_properties(yuzu PROPERTIES MACOSX_BUNDLE_INFO_PLIST ${CMAKE_CURRENT_SOURCE_DIR}/Info.plist) |