summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--CMakeLists.txt13
-rw-r--r--dist/citra.desktop14
-rw-r--r--dist/citra.svg80
-rw-r--r--dist/citra.xml59
4 files changed, 166 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index b0fe285db..dc525aa3d 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -193,3 +193,16 @@ if(ENABLE_QT)
193 add_subdirectory(externals/qhexedit) 193 add_subdirectory(externals/qhexedit)
194endif() 194endif()
195add_subdirectory(src) 195add_subdirectory(src)
196
197# Install freedesktop.org metadata files, following those specifications:
198# http://standards.freedesktop.org/desktop-entry-spec/desktop-entry-spec-latest.html
199# http://standards.freedesktop.org/icon-theme-spec/icon-theme-spec-latest.html
200# http://standards.freedesktop.org/shared-mime-info-spec/shared-mime-info-spec-latest.html
201if(${CMAKE_SYSTEM_NAME} MATCHES "Linux|FreeBSD|OpenBSD|NetBSD")
202 install(FILES "${CMAKE_SOURCE_DIR}/dist/citra.desktop"
203 DESTINATION "${CMAKE_INSTALL_PREFIX}/share/applications")
204 install(FILES "${CMAKE_SOURCE_DIR}/dist/citra.svg"
205 DESTINATION "${CMAKE_INSTALL_PREFIX}/share/pixmaps")
206 install(FILES "${CMAKE_SOURCE_DIR}/dist/citra.xml"
207 DESTINATION "${CMAKE_INSTALL_PREFIX}/share/mime/packages")
208endif()
diff --git a/dist/citra.desktop b/dist/citra.desktop
new file mode 100644
index 000000000..1300d62c2
--- /dev/null
+++ b/dist/citra.desktop
@@ -0,0 +1,14 @@
1[Desktop Entry]
2Version=1.0
3Type=Application
4Name=Citra
5GenericName=3DS Emulator
6GenericName[fr]=Émulateur 3DS
7Comment=Nintendo 3DS video game console emulator
8Comment[fr]=Émulateur de console de jeu Nintendo 3DS
9Icon=citra
10TryExec=citra-qt
11Exec=citra-qt %f
12Categories=Game;Emulator;Qt;
13MimeType=application/x-ctr-3dsx;application/x-ctr-cci;application/x-ctr-cia;application/x-ctr-cxi;
14Keywords=3DS;Nintendo;
diff --git a/dist/citra.svg b/dist/citra.svg
new file mode 100644
index 000000000..7b299cd89
--- /dev/null
+++ b/dist/citra.svg
@@ -0,0 +1,80 @@
1<?xml version="1.0" encoding="UTF-8"?>
2<!--
3 Copyright 2014 Citra Emulator Project
4 Licensed under GPLv2 or any later version
5 Refer to the license.txt file included.
6-->
7<svg version="1.1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 341.071 338.846">
8 <radialGradient id="a" cx="170.5356" cy="167.271" r="170.5332" gradientTransform="matrix(1 0 0 0.9935 0 3.2396)" gradientUnits="userSpaceOnUse">
9 <stop offset="0.5193" stop-color="#FFFFFF" stop-opacity="0.1"/>
10 <stop offset="0.9415" stop-color="#000000" stop-opacity="0.5"/>
11 <stop offset="1" stop-color="#1A1818" stop-opacity="0"/>
12 </radialGradient>
13 <ellipse fill="url(#a)" cx="170.535" cy="169.423" rx="170.535" ry="169.423"/>
14 <circle fill="#D16F17" cx="170.536" cy="167.885" r="161.557"/>
15 <linearGradient id="b" gradientUnits="userSpaceOnUse" x1="234.4458" y1="33.5771" x2="97.5655" y2="321.2358">
16 <stop offset="0" stop-color="#FFF8BD"/>
17 <stop offset="1" stop-color="#F6DCAE"/>
18 </linearGradient>
19 <circle fill="url(#b)" cx="170.536" cy="167.885" r="155.295"/>
20 <g>
21 <linearGradient id="c" gradientUnits="userSpaceOnUse" x1="332.436" y1="91.7446" x2="111.1593" y2="342.0988">
22 <stop offset="0" stop-color="#F7A076"/>
23 <stop offset="0.4455" stop-color="#F3816C"/>
24 <stop offset="1" stop-color="#F06878"/>
25 </linearGradient>
26 <path fill="url(#c)" stroke="#F06564" stroke-miterlimit="10" d="M309.704,123.138
27 c-5.9-7.802-128.517,44.681-128.517,44.681S303.803,221.01,309.704,212.5C322.434,194.142,323.182,140.957,309.704,123.138z"/>
28 <linearGradient id="d" gradientUnits="userSpaceOnUse" x1="285.5845" y1="50.3345" x2="64.3074" y2="300.6891">
29 <stop offset="0" stop-color="#9DC63B"/>
30 <stop offset="1" stop-color="#9BC183"/>
31 </linearGradient>
32 <path fill="url(#d)" stroke="#72AA42" stroke-miterlimit="10" d="M300.518,100.96c-3.98-21.983-41.059-60.12-63.189-63.188
33 c-9.688-1.345-59.28,122.469-59.28,122.469S302.364,111.149,300.518,100.96z"/>
34 <linearGradient id="e" gradientUnits="userSpaceOnUse" x1="229.4995" y1="0.7637" x2="8.2231" y2="251.1176">
35 <stop offset="0" stop-color="#D5DE26"/>
36 <stop offset="1" stop-color="#C5D94B"/>
37 </linearGradient>
38 <path fill="url(#e)" stroke="#BECD30" stroke-miterlimit="10" d="M215.151,28.584c-18.357-12.73-71.543-13.478-89.362,0.001
39 c-7.801,5.899,44.682,128.516,44.682,128.516S223.663,34.484,215.151,28.584z"/>
40 <linearGradient id="f" gradientUnits="userSpaceOnUse" x1="219.3823" y1="-8.1782" x2="-1.8941" y2="242.1756">
41 <stop offset="0" stop-color="#F2D200"/>
42 <stop offset="1" stop-color="#FDEF52"/>
43 </linearGradient>
44 <path fill="url(#f)" stroke="#E1BE29" stroke-miterlimit="10" d="M162.893,160.239c0,0-49.092-124.315-59.281-122.469
45 c-21.982,3.979-60.12,41.058-63.188,63.189C39.078,110.646,162.893,160.239,162.893,160.239z"/>
46 <linearGradient id="g" gradientUnits="userSpaceOnUse" x1="226.0718" y1="-2.2656" x2="4.7951" y2="248.0886">
47 <stop offset="0" stop-color="#FFCD10"/>
48 <stop offset="1" stop-color="#F29634"/>
49 </linearGradient>
50 <path fill="url(#g)" stroke="#F79421" stroke-miterlimit="10" d="M31.236,123.136c-12.73,18.357-13.479,71.543,0,89.362
51 c5.898,7.801,128.516-44.682,128.516-44.682S37.135,114.625,31.236,123.136z"/>
52 <linearGradient id="h" gradientUnits="userSpaceOnUse" x1="272.9214" y1="39.144" x2="51.6446" y2="289.4984">
53 <stop offset="0" stop-color="#F79F1C"/>
54 <stop offset="0.4455" stop-color="#F08021"/>
55 <stop offset="1" stop-color="#ED693C"/>
56 </linearGradient>
57 <path fill="url(#h)" stroke="#F16622" stroke-miterlimit="10" d="M40.422,234.676c3.979,21.982,41.057,60.12,63.188,63.188
58 c9.687,1.346,59.279-122.468,59.279-122.468S38.574,224.487,40.422,234.676z"/>
59 <linearGradient id="i" gradientUnits="userSpaceOnUse" x1="329.0083" y1="88.7129" x2="107.7311" y2="339.0677">
60 <stop offset="0" stop-color="#E47C26"/>
61 <stop offset="0.4455" stop-color="#DF5B27"/>
62 <stop offset="1" stop-color="#DD3A3A"/>
63 </linearGradient>
64 <path fill="url(#i)" stroke="#E03827" stroke-miterlimit="10" d="M125.787,307.051c18.357,12.73,71.543,13.48,89.362,0
65 c7.801-5.898-44.681-128.515-44.681-128.515S117.275,301.153,125.787,307.051z"/>
66 <linearGradient id="j" gradientUnits="userSpaceOnUse" x1="339.1245" y1="97.6562" x2="117.8478" y2="348.0104">
67 <stop offset="0" stop-color="#F3783C"/>
68 <stop offset="0.4455" stop-color="#EF5339"/>
69 <stop offset="1" stop-color="#ED294A"/>
70 </linearGradient>
71 <path fill="url(#j)" stroke="#ED2836" stroke-miterlimit="10" d="M178.047,175.398c0,0,49.09,124.315,59.28,122.467
72 c21.982-3.979,60.121-41.057,63.189-63.188C301.86,224.991,178.047,175.398,178.047,175.398z"/>
73 </g>
74 <linearGradient id="k" gradientUnits="userSpaceOnUse" x1="170.5352" y1="6.3281" x2="170.5351" y2="329.4424">
75 <stop offset="0" stop-color="#FFFFFF" stop-opacity="0.2"/>
76 <stop offset="0.4504" stop-color="#908E8E" stop-opacity="0.05"/>
77 <stop offset="1" stop-color="#030003" stop-opacity="0.2"/>
78 </linearGradient>
79 <circle fill="url(#k)" cx="170.536" cy="167.885" r="161.557"/>
80</svg>
diff --git a/dist/citra.xml b/dist/citra.xml
new file mode 100644
index 000000000..bcb9acd87
--- /dev/null
+++ b/dist/citra.xml
@@ -0,0 +1,59 @@
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-ctr-3dsx">
4 <comment>3DS homebrew executable</comment>
5 <comment xml:lang="fr">Exécutable 3DS homebrew</comment>
6 <acronym>3DSX</acronym>
7 <icon name="citra"/>
8 <glob pattern="*.3dsx"/>
9 <magic><match value="3DSX" type="string" offset="0"/></magic>
10 </mime-type>
11
12 <mime-type type="application/x-ctr-cci">
13 <comment>3DS cartridge image</comment>
14 <comment xml:lang="fr">Image de cartouche 3DS</comment>
15 <acronym>CCI</acronym>
16 <expanded-acronym>CTR Cart Image</expanded-acronym>
17 <icon name="citra"/>
18 <glob pattern="*.cci"/>
19 <glob pattern="*.3ds"/>
20 <magic><match value="NCSD" type="string" offset="256"/></magic>
21 </mime-type>
22
23 <mime-type type="application/x-ctr-cxi">
24 <comment>3DS executable</comment>
25 <comment xml:lang="fr">Exécutable 3DS</comment>
26 <acronym>CXI</acronym>
27 <expanded-acronym>CTR eXecutable Image</expanded-acronym>
28 <icon name="citra"/>
29 <glob pattern="*.cxi"/>
30 <magic><match value="NCCH" type="string" offset="256"/></magic>
31 </mime-type>
32
33 <mime-type type="application/x-ctr-cia">
34 <comment>3DS importable archive</comment>
35 <comment xml:lang="fr">Archive importable 3DS</comment>
36 <acronym>CIA</acronym>
37 <expanded-acronym>CTR Importable Archive</expanded-acronym>
38 <icon name="citra"/>
39 <glob pattern="*.cia"/>
40 </mime-type>
41
42 <mime-type type="application/x-ctr-smdh">
43 <comment>3DS icon</comment>
44 <comment xml:lang="fr">Icône 3DS</comment>
45 <acronym>SMDH</acronym>
46 <expanded-acronym>System Menu Data Header</expanded-acronym>
47 <glob pattern="*.smdh"/>
48 <magic><match value="SMDH" type="string" offset="0"/></magic>
49 </mime-type>
50
51 <mime-type type="application/x-ctr-cbmd">
52 <comment>3DS banner</comment>
53 <comment xml:lang="fr">Bannière 3DS</comment>
54 <acronym>CBMD</acronym>
55 <expanded-acronym>CTR Banner Model Data</expanded-acronym>
56 <glob pattern="*.cbmd"/>
57 <magic><match value="CBMD" type="string" offset="0"/></magic>
58 </mime-type>
59</mime-info>