summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--CMakeLists.txt18
-rw-r--r--dist/yuzu.desktop12
-rw-r--r--dist/yuzu.icnsbin0 -> 117940 bytes
-rw-r--r--dist/yuzu.icobin838 -> 370070 bytes
-rw-r--r--dist/yuzu.svg86
-rw-r--r--dist/yuzu.xml18
-rw-r--r--src/yuzu/CMakeLists.txt4
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)
324# http://standards.freedesktop.org/icon-theme-spec/icon-theme-spec-latest.html 324# http://standards.freedesktop.org/icon-theme-spec/icon-theme-spec-latest.html
325# http://standards.freedesktop.org/shared-mime-info-spec/shared-mime-info-spec-latest.html 325# http://standards.freedesktop.org/shared-mime-info-spec/shared-mime-info-spec-latest.html
326if(ENABLE_QT AND UNIX AND NOT APPLE) 326if(ENABLE_QT AND UNIX AND NOT APPLE)
327 install(FILES "${CMAKE_SOURCE_DIR}/dist/citra.desktop" 327 install(FILES "${CMAKE_SOURCE_DIR}/dist/yuzu.desktop"
328 DESTINATION "${CMAKE_INSTALL_PREFIX}/share/applications") 328 DESTINATION "${CMAKE_INSTALL_PREFIX}/share/applications")
329 install(FILES "${CMAKE_SOURCE_DIR}/dist/citra.svg" 329 install(FILES "${CMAKE_SOURCE_DIR}/dist/yuzu.svg"
330 DESTINATION "${CMAKE_INSTALL_PREFIX}/share/pixmaps") 330 DESTINATION "${CMAKE_INSTALL_PREFIX}/share/pixmaps")
331 install(FILES "${CMAKE_SOURCE_DIR}/dist/citra.xml" 331 install(FILES "${CMAKE_SOURCE_DIR}/dist/yuzu.xml"
332 DESTINATION "${CMAKE_INSTALL_PREFIX}/share/mime/packages") 332 DESTINATION "${CMAKE_INSTALL_PREFIX}/share/mime/packages")
333endif() 333endif()
334
335if(UNIX)
336 if(ENABLE_SDL2)
337 install(FILES "${CMAKE_SOURCE_DIR}/dist/citra.6"
338 DESTINATION "${CMAKE_INSTALL_PREFIX}/share/man/man6")
339 endif()
340
341 if (ENABLE_QT)
342 install(FILES "${CMAKE_SOURCE_DIR}/dist/citra-qt.6"
343 DESTINATION "${CMAKE_INSTALL_PREFIX}/share/man/man6")
344 endif()
345endif()
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 @@
1[Desktop Entry]
2Version=1.0
3Type=Application
4Name=yuzu
5GenericName=Switch Emulator
6Comment=Nintendo Switch video game console emulator
7Icon=yuzu
8TryExec=yuzu
9Exec=yuzu %f
10Categories=Game;Emulator;Qt;
11MimeType=application/x-nx-nro;application/x-nx-nso;
12Keywords=Switch;Nintendo; \ No newline at end of file
diff --git a/dist/yuzu.icns b/dist/yuzu.icns
new file mode 100644
index 000000000..1e0120d7e
--- /dev/null
+++ b/dist/yuzu.icns
Binary files differ
diff --git a/dist/yuzu.ico b/dist/yuzu.ico
index bfa2ced13..4f372f571 100644
--- a/dist/yuzu.ico
+++ b/dist/yuzu.ico
Binary files differ
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 @@
1<?xml version="1.0" encoding="UTF-8" standalone="no"?>
2<!-- Created with Inkscape (http://www.inkscape.org/) -->
3
4<svg
5 xmlns:dc="http://purl.org/dc/elements/1.1/"
6 xmlns:cc="http://creativecommons.org/ns#"
7 xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
8 xmlns:svg="http://www.w3.org/2000/svg"
9 xmlns="http://www.w3.org/2000/svg"
10 xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
11 xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
12 version="1.1"
13 id="svg815"
14 xml:space="preserve"
15 width="72"
16 height="80"
17 viewBox="0 0 72 80"
18 sodipodi:docname="center-logo-v3.svg"
19 inkscape:version="0.92.2 (5c3e80d, 2017-08-06)"><metadata
20 id="metadata821"><rdf:RDF><cc:Work
21 rdf:about=""><dc:format>image/svg+xml</dc:format><dc:type
22 rdf:resource="http://purl.org/dc/dcmitype/StillImage" /><dc:title></dc:title></cc:Work></rdf:RDF></metadata><defs
23 id="defs819"><clipPath
24 clipPathUnits="userSpaceOnUse"
25 id="clipPath831"><path
26 d="M 0,60 H 54 V 0 H 0 Z"
27 id="path829"
28 inkscape:connector-curvature="0" /></clipPath><clipPath
29 clipPathUnits="userSpaceOnUse"
30 id="clipPath843"><path
31 d="M 0,60 H 54 V 0 H 0 Z"
32 id="path841"
33 inkscape:connector-curvature="0" /></clipPath><clipPath
34 clipPathUnits="userSpaceOnUse"
35 id="clipPath855"><path
36 d="M 0,60 H 54 V 0 H 0 Z"
37 id="path853"
38 inkscape:connector-curvature="0" /></clipPath><clipPath
39 clipPathUnits="userSpaceOnUse"
40 id="clipPath867"><path
41 d="M 0,60 H 54 V 0 H 0 Z"
42 id="path865"
43 inkscape:connector-curvature="0" /></clipPath></defs><sodipodi:namedview
44 pagecolor="#ffffff"
45 bordercolor="#666666"
46 borderopacity="1"
47 objecttolerance="10"
48 gridtolerance="10"
49 guidetolerance="10"
50 inkscape:pageopacity="0"
51 inkscape:pageshadow="2"
52 inkscape:window-width="1920"
53 inkscape:window-height="1017"
54 id="namedview817"
55 showgrid="false"
56 inkscape:zoom="7.4953319"
57 inkscape:cx="28.177201"
58 inkscape:cy="44.348084"
59 inkscape:window-x="-8"
60 inkscape:window-y="-8"
61 inkscape:window-maximized="1"
62 inkscape:current-layer="g823" /><g
63 id="g823"
64 inkscape:groupmode="layer"
65 inkscape:label="center-logo-v3"
66 transform="matrix(1.3333333,0,0,-1.3333333,0,80)"><g
67 id="right"
68 inkscape:label="#g825"><g
69 id="g827"
70 clip-path="url(#clipPath831)"><g
71 id="g833"
72 transform="translate(30,48)"><path
73 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"
74 style="fill:#ff3c28;fill-opacity:1;fill-rule:nonzero;stroke:none"
75 id="path835"
76 inkscape:connector-curvature="0" /></g></g></g><g
77 id="left"
78 inkscape:label="#g837"><g
79 id="g839"
80 clip-path="url(#clipPath843)"><g
81 id="g845"
82 transform="translate(24,60)"><path
83 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"
84 style="fill:#0ab9e6;fill-opacity:1;fill-rule:nonzero;stroke:none"
85 id="path847"
86 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 @@
1<?xml version="1.0" encoding="UTF-8"?>
2<mime-info xmlns="http://www.freedesktop.org/standards/shared-mime-info">
3 <mime-type type="application/x-nx-nro">
4 <comment>Nintendo Switch homebrew executable</comment>
5 <acronym>NRO</acronym>
6 <icon name="yuzu"/>
7 <glob pattern="*.nro"/>
8 <magic><match value="NRO" type="string" offset="16"/></magic>
9 </mime-type>
10
11 <mime-type type="application/x-nx-nso">
12 <comment>Nintendo Switch homebrew executable</comment>
13 <acronym>NSO</acronym>
14 <icon name="yuzu"/>
15 <glob pattern="*.nso"/>
16 <magic><match value="NSO" type="string" offset="0"/></magic>
17 </mime-type>
18</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()
70endif() 70endif()
71 71
72if (APPLE) 72if (APPLE)
73 if (EXISTS "../../dist/yuzu.icns") 73 set(MACOSX_ICON "../../dist/yuzu.icns")
74 set(MACOSX_ICON "../../dist/yuzu.icns")
75 endif()
76 set_source_files_properties(${MACOSX_ICON} PROPERTIES MACOSX_PACKAGE_LOCATION Resources) 74 set_source_files_properties(${MACOSX_ICON} PROPERTIES MACOSX_PACKAGE_LOCATION Resources)
77 add_executable(yuzu MACOSX_BUNDLE ${SRCS} ${HEADERS} ${UI_HDRS} ${MACOSX_ICON}) 75 add_executable(yuzu MACOSX_BUNDLE ${SRCS} ${HEADERS} ${UI_HDRS} ${MACOSX_ICON})
78 set_target_properties(yuzu PROPERTIES MACOSX_BUNDLE_INFO_PLIST ${CMAKE_CURRENT_SOURCE_DIR}/Info.plist) 76 set_target_properties(yuzu PROPERTIES MACOSX_BUNDLE_INFO_PLIST ${CMAKE_CURRENT_SOURCE_DIR}/Info.plist)