From 30e1d344945e5a789a02628a13deba5b92d43152 Mon Sep 17 00:00:00 2001 From: Raboneko <119771935+raboneko@users.noreply.github.com> Date: Sun, 8 Dec 2024 00:28:11 -0800 Subject: [PATCH] Fix Ruffle .desktop File (#2581) (#2582) * Add files via upload Signed-off-by: Gil <130161554+ShinyGil@users.noreply.github.com> * Update ruffle-nightly.spec Signed-off-by: Gil <130161554+ShinyGil@users.noreply.github.com> * Update ruffle-nightly.spec The .desktop file install line didn't save the first time. Signed-off-by: Gil <130161554+ShinyGil@users.noreply.github.com> --------- Signed-off-by: Gil <130161554+ShinyGil@users.noreply.github.com> (cherry picked from commit bd31332eb11357d4e21e7d9d2dbe4fb18578af48) Co-authored-by: Gil <130161554+ShinyGil@users.noreply.github.com> --- anda/apps/ruffle/rs.ruffle.Ruffle.desktop | 68 +++++++++++++++++++++++ anda/apps/ruffle/ruffle-nightly.spec | 3 +- 2 files changed, 70 insertions(+), 1 deletion(-) create mode 100644 anda/apps/ruffle/rs.ruffle.Ruffle.desktop diff --git a/anda/apps/ruffle/rs.ruffle.Ruffle.desktop b/anda/apps/ruffle/rs.ruffle.Ruffle.desktop new file mode 100644 index 0000000000..6f21583116 --- /dev/null +++ b/anda/apps/ruffle/rs.ruffle.Ruffle.desktop @@ -0,0 +1,68 @@ +[Desktop Entry] +Type=Application +Name[ar]=رَفل +Name[cs]=Ruffle +Name[es]=Ruffle +Name[fr]=Ruffle +Name[ja]=Ruffle +Name[ko]=Ruffle +Name[nl]=Ruffle +Name[pl]=Ruffle +Name[pt_BR]=Ruffle +Name[pt_PT]=Ruffle +Name[ru]=Ruffle +Name[tr]=Ruffle +Name[uk]=Ruffle +Name[zh_CN]=Ruffle +Name[zh_TW]=Ruffle +Name=Ruffle +GenericName[ar]=مشغل الفلاش +GenericName[cs]=Flash přehrávač +GenericName[es]=Reproductor de Flash +GenericName[fr]=Lecteur Flash +GenericName[ja]=Flashプレイヤー +GenericName[ko]=플래시 플레이어 +GenericName[nl]=Flash-speler +GenericName[pl]=Odtwarzacz Flash +GenericName[pt_PT]=Leitor Flash +GenericName[tr]=Flash Oynatıcı +GenericName[zh_CN]=Flash 播放器 +GenericName[zh_TW]=Flash 播放器 +GenericName=Flash Player +Comment[ar]=شغِّل أفلام وألعاب الفلاش +Comment[cs]=Hrajte Flash hry a přehrajte filmy +Comment[es]=Jugar juegos y ver películas de Flash +Comment[fr]=Jouez à des jeux et regardez des animations en Flash +Comment[ja]=Flashゲームと動画を再生します +Comment[ko]=플래시 게임 & 영상 재생 +Comment[nl]=Speel Flash spellen & animaties +Comment[pl]=Graj w gry i odtwarzaj filmy Flash +Comment[pt_BR]=Reproduza jogos e filmes Flash +Comment[pt_PT]=Jogar jogos Flash e reproduzir filmes +Comment[ru]=Проигрывайте Flash-игры и ролики +Comment[tr]=Flash oyunları ve filmleri oynat +Comment[uk]=Відтворюйте Flash ігри та фільми +Comment[zh_CN]=播放 Flash 游戏和动画 +Comment[zh_TW]=播放 Flash 遊戲和動畫 +Comment=Play Flash games & movies +Icon=rs.ruffle.Ruffle +Exec=ruffle_desktop %u +MimeType=application/x-shockwave-flash;application/vnd.adobe.flash.movie +Categories=AudioVideo;Player;Graphics;Viewer;VectorGraphics;Game +Keywords[ar]=الفلاش;swf;مشغل;محاكي;رَسْت +Keywords[cs]=flash;swf;přehrávač;emulátor;rust +Keywords[de]=flash;swf;spieler;emulator;rust +Keywords[es]=flash;swf;reproductor;emulador;rust +Keywords[fr]=flash;swf;lecteur;émulateur;rust +Keywords[it]=flash;swf;riproduttore;emulatore;rust +Keywords[ja]=flash;swf;プレイヤー;エミュレーター;rust +Keywords[ko]=플래시;swf;플레이어;에뮬레이터;rust +Keywords[nl]=flash;swf;speler;emulator;rust +Keywords[pl]=flash;swf;odtwarzacz;emulator;rust +Keywords[pt_PT]=flash;swf;leitor;emulador;rust +Keywords[ru]=flash;swf;прои́грыватель;эмуля́тор;rust +Keywords[tr]=flash;swf;oynatıcı;öykünücü;rust +Keywords[uk]=flash;swf;програвач;емулятор;rust +Keywords[zh_CN]=flash;swf;播放器;模拟器;rust +Keywords[zh_TW]=flash;swf;播放器;模擬器;rust +Keywords=flash;swf;player;emulator;rust diff --git a/anda/apps/ruffle/ruffle-nightly.spec b/anda/apps/ruffle/ruffle-nightly.spec index 0c36d11a5e..4313578259 100644 --- a/anda/apps/ruffle/ruffle-nightly.spec +++ b/anda/apps/ruffle/ruffle-nightly.spec @@ -14,6 +14,7 @@ Summary: A Flash Player emulator written in Rust License: Apache-2.0 OR MIT URL: https://ruffle.rs/ Source0: https://github.com/ruffle-rs/ruffle/archive/refs/tags/nightly-%ver.tar.gz +Source1: rs.ruffle.Ruffle.desktop Provides: ruffle BuildRequires: cargo-rpm-macros >= 24 BuildRequires: anda-srpm-macros mold @@ -47,7 +48,7 @@ Packager: madonuko cd desktop %cargo_install install -Dm644 packages/linux/rs.ruffle.Ruffle.svg %buildroot%_iconsdir/hicolor/scalable/apps/rs.ruffle.Ruffle.svg -install -Dm644 packages/linux/rs.ruffle.Ruffle.desktop %buildroot%_datadir/applications/rs.ruffle.Ruffle.desktop +install -Dm644 -t %{buildroot}/usr/share/applications %{SOURCE1} install -Dm644 packages/linux/rs.ruffle.Ruffle.metainfo.xml %buildroot%_metainfodir/rs.ruffle.Ruffle.metainfo.xml %changelog