diff options
author | TERRIER Sébastien | 2025-03-20 17:59:50 +0100 |
---|---|---|
committer | TERRIER Sébastien | 2025-03-20 17:59:50 +0100 |
commit | 6d4c7b62ae12fa5a9431f92fd1acb51ed9fd12b6 (patch) | |
tree | d917b872a5f08d1511df083b9c77912abb996c1d | |
download | aur-citron-bin.tar.gz |
initial commit
-rw-r--r-- | .SRCINFO | 40 | ||||
-rw-r--r-- | PKGBUILD | 40 | ||||
-rw-r--r-- | citron.svg | 33 | ||||
-rw-r--r-- | org.citron_emu.citron.desktop | 16 | ||||
-rw-r--r-- | org.citron_emu.citron.metainfo.xml | 62 | ||||
-rw-r--r-- | org.citron_emu.citron.xml | 39 | ||||
-rw-r--r-- | user-agent | 3 |
7 files changed, 233 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..6f7aa3dab51c --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,40 @@ +pkgbase = citron-bin + pkgdesc = Nintendo Switch emulator forked from yuzu. + pkgver = 0.6.1 + pkgrel = 1 + url = https://citron-emu.org + arch = x86_64 + license = GPL-2.0-or-later + depends = qt6-base + depends = qt6-webengine + depends = qt6-multimedia + depends = qt6-wayland + depends = qt6-tools + depends = fmt + depends = boost-libs + depends = ffmpeg + depends = sdl2 + depends = gamemode + depends = hicolor-icon-theme + depends = brotli + depends = libusb + depends = enet + depends = opus + depends = curl + provides = citron + conflicts = citron + options = !debug + source = https://git.citron-emu.org/Citron/Citron/releases/download/v0.6.1-canary-refresh/Citron-Linux-Canary-Refresh_0.6.1_native.tar.gz + source = user-agent + source = org.citron_emu.citron.desktop + source = citron.svg + source = org.citron_emu.citron.xml + source = org.citron_emu.citron.metainfo.xml + sha256sums = 7e06aacfe5be98dfe76dd432ce441e207c6d8d61bd355d0de60d33bb78528280 + sha256sums = 8f89dffa397f71b4916ee1e134e0e1905979e844a4a697cfd5067bfb6091f49b + sha256sums = aa421c17a9422f61a74c96fe90dbc627281869bc643f0a79edefa8d42bc40dcd + sha256sums = 1a1887c8564ce41eb21f4669385def4e3b979d5cfdfafd5e55d97a05cd1ac1d3 + sha256sums = 26b119de2cbe15df8af065447ba20ea064aa4904bf147e621f3a888b6251d230 + sha256sums = 24238ccbbdd254fa3aba288e96af92eee12cd5b1eb422a7628f9423a3cee35dc + +pkgname = citron-bin diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..9331bf0639b3 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,40 @@ +# Maintainer: Sébastien TERRIER <ouinouin at ouinouin dot eu> +pkgname=citron-bin +pkgver=0.6.1 +pkgrel=1 +pkgdesc="Nintendo Switch emulator forked from yuzu." +arch=(x86_64) +url=https://citron-emu.org +license=(GPL-2.0-or-later) +provides=('citron') +depends=('qt6-base' 'qt6-webengine' 'qt6-multimedia' 'qt6-wayland' 'qt6-tools' 'fmt' 'boost-libs' 'ffmpeg' 'sdl2' 'gamemode' 'hicolor-icon-theme' 'brotli' 'libusb' 'enet' 'opus' 'curl') +conflicts=('citron') +options=(!debug) +DLAGENTS=("https::/usr/bin/wget -O %o %u") +source=(https://git.citron-emu.org/Citron/Citron/releases/download/v${pkgver}-canary-refresh/Citron-Linux-Canary-Refresh_${pkgver}_native.tar.gz + user-agent + org.citron_emu.citron.desktop + citron.svg + org.citron_emu.citron.xml + org.citron_emu.citron.metainfo.xml) + +sha256sums=('7e06aacfe5be98dfe76dd432ce441e207c6d8d61bd355d0de60d33bb78528280' + '8f89dffa397f71b4916ee1e134e0e1905979e844a4a697cfd5067bfb6091f49b' + 'aa421c17a9422f61a74c96fe90dbc627281869bc643f0a79edefa8d42bc40dcd' + '1a1887c8564ce41eb21f4669385def4e3b979d5cfdfafd5e55d97a05cd1ac1d3' + '26b119de2cbe15df8af065447ba20ea064aa4904bf147e621f3a888b6251d230' + '24238ccbbdd254fa3aba288e96af92eee12cd5b1eb422a7628f9423a3cee35dc') + +package() { + pushd "Citron-Linux-Canary-Refresh_${pkgver}_native" + install -Dm755 citron "${pkgdir}/usr/bin/citron" + install -Dm755 citron-cmd "${pkgdir}/usr/bin/citron-cmd" + install -Dm755 citron-room "${pkgdir}/usr/bin/citron-room" + install -Dm755 tzdb2nx "${pkgdir}/usr/bin/tzdb2nx" + popd + + install -Dm644 "org.citron_emu.citron.desktop" "${pkgdir}/usr/share/applications/org.citron_emu.citron.desktop" + install -Dm644 "citron.svg" "${pkgdir}/usr/share/icons/hicolor/scalable/apps/org.citron_emu.citron.svg" + install -Dm644 "org.citron_emu.citron.xml" "${pkgdir}/usr/share/mime/packages/org.citron_emu.citron.xml" + install -Dm644 "org.citron_emu.citron.metainfo.xml" "${pkgdir}/usr/share/metainfo/org.citron_emu.citron.metainfo.xml" +} diff --git a/citron.svg b/citron.svg new file mode 100644 index 000000000000..191fa12c7cec --- /dev/null +++ b/citron.svg @@ -0,0 +1,33 @@ +<?xml version="1.0" encoding="UTF-8"?>
+<svg id="Layer_1" xmlns="http://www.w3.org/2000/svg" version="1.1" viewBox="0 0 576.4 576">
+ <!-- Generator: Adobe Illustrator 29.0.1, SVG Export Plug-In . SVG Version: 2.1.0 Build 192) -->
+ <defs>
+ <style>
+ .st0 {
+ fill: #2eb34a;
+ }
+
+ .st1 {
+ fill: #f1b941;
+ }
+
+ .st2 {
+ fill: #ee852f;
+ }
+
+ .st3 {
+ fill: #f9ee47;
+ }
+ </style>
+ </defs>
+ <path class="st2" d="M276.8,40.4c-127.9,4.8-214.7,131.7-172,253.6,24.9,71,96.4,123.6,172,124.6v30.9c-74.2-2-144.5-44-181.9-107.8C9.9,196.9,110.8,15.3,276.8,9.5v30.9Z"/>
+ <path class="st1" d="M111.7,238.2h151.3l-105.7,108.3c-27.6-28.1-45.1-68.7-45.6-108.3Z"/>
+ <path class="st1" d="M111.7,221c.4-39.9,18.1-79.7,45.6-108.3l105.7,108.3H111.7Z"/>
+ <path class="st1" d="M276.8,401.5c-39.5-1.3-76.9-16.5-106.6-42.1l106.6-107.5v149.6Z"/>
+ <path class="st1" d="M276.8,207.2l-106.6-108.3c10.9-6.4,20.3-14.9,31.5-21,22.8-12.3,49.1-19.5,75.1-20.3v149.6Z"/>
+ <path class="st0" d="M299.6,535.6c127.9-4.8,214.7-131.7,172-253.6-24.9-71-96.4-123.6-172-124.6v-30.9c74.2,2,144.5,44,181.9,107.8,85,144.9-15.9,326.5-181.9,332.4v-30.9Z"/>
+ <path class="st3" d="M464.7,337.8h-151.3s105.7-108.3,105.7-108.3c27.6,28.1,45.1,68.7,45.6,108.3Z"/>
+ <path class="st3" d="M464.7,355c-.4,39.9-18.1,79.7-45.6,108.3l-105.7-108.3h151.3Z"/>
+ <path class="st3" d="M299.6,174.5c39.5,1.3,76.9,16.5,106.6,42.1l-106.6,107.5v-149.6Z"/>
+ <path class="st3" d="M299.6,368.8l106.6,108.3c-10.9,6.4-20.3,14.9-31.5,21-22.8,12.3-49.1,19.5-75.1,20.3v-149.6Z"/>
+</svg>
\ No newline at end of file diff --git a/org.citron_emu.citron.desktop b/org.citron_emu.citron.desktop new file mode 100644 index 000000000000..dd4bdab28be7 --- /dev/null +++ b/org.citron_emu.citron.desktop @@ -0,0 +1,16 @@ +# SPDX-FileCopyrightText: 2018 yuzu Emulator Project +# SPDX-License-Identifier: GPL-2.0-or-later + +[Desktop Entry] +Version=1.0 +Type=Application +Name=citron +GenericName=Switch Emulator +Comment=Nintendo Switch video game console emulator +Icon=org.citron_emu.citron +TryExec=citron +Exec=citron %f +Categories=Game;Emulator;Qt; +MimeType=application/x-nx-nro;application/x-nx-nso;application/x-nx-nsp;application/x-nx-xci; +Keywords=Nintendo;Switch; +StartupWMClass=citron diff --git a/org.citron_emu.citron.metainfo.xml b/org.citron_emu.citron.metainfo.xml new file mode 100644 index 000000000000..83690eae24e8 --- /dev/null +++ b/org.citron_emu.citron.metainfo.xml @@ -0,0 +1,62 @@ +<?xml version="1.0" encoding="UTF-8"?> + +<!-- +SPDX-FileCopyrightText: 2021 yuzu Emulator Project +SPDX-License-Identifier: CC0-1.0 +--> + +<component type="desktop-application"> + <id>org.citron_emu.citron</id> + <metadata_license>CC0-1.0</metadata_license> + <name>citron</name> + <summary>Nintendo Switch emulator</summary> + <description> + <p>citron is the world's most popular, open-source, Nintendo Switch emulator — started by the creators of Citra.</p> + <p>The emulator is capable of running most commercial games at full speed, provided you meet the necessary hardware requirements.</p> + <p>For a full list of games citron support, please visit our Compatibility page.</p> + <p>Check out our website for the latest news on exciting features, monthly progress reports, and more!</p> + </description> + <categories> + <category>Game</category> + <category>Emulator</category> + </categories> + <keywords> + <keyword>switch</keyword> + <keyword>emulator</keyword> + </keywords> + <url type="homepage">https://citron-emu.org/</url> + <url type="bugtracker">https://git.citron-emu.org/Citron/Citron/issues</url> + <url type="faq">https://citron-emu.org/wiki/faq/</url> + <url type="help">https://citron-emu.org/wiki/home/</url> + <url type="donation">https://citron-emu.org/donate/</url> + <url type="translate">https://www.transifex.com/projects/p/citron</url> + <url type="contact">https://community.citra-emu.org/</url> + <url type="vcs-browser">https://git.citron-emu.org/Citron/Citron</url> + <url type="contribute">https://citron-emu.org/wiki/contributing/</url> + <launchable type="desktop-id">org.citron_emu.citron.desktop</launchable> + <provides> + <binary>citron</binary> + <binary>citron-cmd</binary> + </provides> + <supports> + <control>pointing</control> + <control>keyboard</control> + <control>gamepad</control> + </supports> + <requires> + <memory>8192</memory> + </requires> + <recommends> + <memory>16384</memory> + </recommends> + <project_license>GPL-3.0-or-later</project_license> + <developer_name>citron Emulator Team</developer_name> + <content_rating type="oars-1.0"/> + <screenshots> + <screenshot type="default"><image>https://raw.githubusercontent.com/citron-emu/citron-emu.github.io/master/images/screenshots/001-Super%20Mario%20Odyssey%20.png</image></screenshot> + <screenshot><image>https://raw.githubusercontent.com/citron-emu/citron-emu.github.io/master/images/screenshots/004-The%20Legend%20of%20Zelda%20Skyward%20Sword%20HD.png</image></screenshot> + <screenshot><image>https://raw.githubusercontent.com/citron-emu/citron-emu.github.io/master/images/screenshots/007-Pokemon%20Sword.png</image></screenshot> + <screenshot><image>https://raw.githubusercontent.com/citron-emu/citron-emu.github.io/master/images/screenshots/010-Hyrule%20Warriors%20Age%20of%20Calamity.png</image></screenshot> + <screenshot><image>https://raw.githubusercontent.com/citron-emu/citron-emu.github.io/master/images/screenshots/039-Pok%C3%A9mon%20Mystery%20Dungeon%20Rescue%20Team%20DX.png.png.png</image></screenshot> + </screenshots> +</component> diff --git a/org.citron_emu.citron.xml b/org.citron_emu.citron.xml new file mode 100644 index 000000000000..eefe13de61c7 --- /dev/null +++ b/org.citron_emu.citron.xml @@ -0,0 +1,39 @@ +<?xml version="1.0" encoding="UTF-8"?> + +<!-- +SPDX-FileCopyrightText: 2018 yuzu Emulator Project +SPDX-License-Identifier: GPL-2.0-or-later +--> + +<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="org.citron_emu.citron"/> + <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="org.citron_emu.citron"/> + <glob pattern="*.nso"/> + <magic><match value="NSO" type="string" offset="0"/></magic> + </mime-type> + + <mime-type type="application/x-nx-nsp"> + <comment>Nintendo Switch Package</comment> + <acronym>NSP</acronym> + <icon name="org.citron_emu.citron"/> + <glob pattern="*.nsp"/> + <magic><match value="PFS" type="string" offset="0"/></magic> + </mime-type> + + <mime-type type="application/x-nx-xci"> + <comment>Nintendo Switch Card Image</comment> + <acronym>XCI</acronym> + <icon name="org.citron_emu.citron"/> + <glob pattern="*.xci"/> + </mime-type> +</mime-info> diff --git a/user-agent b/user-agent new file mode 100644 index 000000000000..10ec58baa780 --- /dev/null +++ b/user-agent @@ -0,0 +1,3 @@ +{ + "user-agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/92.0.4515.159 Safari/537.36" +} |