From 8504646144733f327e5f3e44f30504dbee75b97f Mon Sep 17 00:00:00 2001 From: Raboneko <119771935+raboneko@users.noreply.github.com> Date: Wed, 4 Feb 2026 22:39:16 -0800 Subject: [PATCH] twintaillauncher (#9621) (#9684) (cherry picked from commit c835f96430dbf361156fcea1d016de6d9de7c0dc) Co-authored-by: solomoncyj --- anda/apps/twintaillauncher/anda.hcl | 6 ++ .../twintaillauncher/twintaillauncher.spec | 77 +++++++++++++++++++ anda/apps/twintaillauncher/update.rhai | 2 + 3 files changed, 85 insertions(+) create mode 100644 anda/apps/twintaillauncher/anda.hcl create mode 100644 anda/apps/twintaillauncher/twintaillauncher.spec create mode 100644 anda/apps/twintaillauncher/update.rhai diff --git a/anda/apps/twintaillauncher/anda.hcl b/anda/apps/twintaillauncher/anda.hcl new file mode 100644 index 0000000000..62f910e857 --- /dev/null +++ b/anda/apps/twintaillauncher/anda.hcl @@ -0,0 +1,6 @@ +project "pkg" { + arches = ["x86_64"] + rpm { + spec = "twintaillauncher.spec" + } +} diff --git a/anda/apps/twintaillauncher/twintaillauncher.spec b/anda/apps/twintaillauncher/twintaillauncher.spec new file mode 100644 index 0000000000..6053d7242a --- /dev/null +++ b/anda/apps/twintaillauncher/twintaillauncher.spec @@ -0,0 +1,77 @@ +%undefine __brp_mangle_shebangs + +%global toolchain clang + +Name: twintaillauncher + +Version: 1.1.15 +Release: 1%{?dist} +Summary: A multi-platform launcher for your anime games +Packager: Yoong Jin + +SourceLicense: GPL-3.0-or-later +License: GPL-3.0-or-later AND (((Apache-2.0 OR MIT) AND BSD-3-Clause) AND ((MIT OR Apache-2.0) AND Unicode-3.0) AND (0BSD OR Apache-2.0 OR MIT) AND (Apache-2.0) AND (Apache-2.0 AND ISC) AND (Apache-2.0 AND MIT) AND (Apache-2.0 OR Apache-2.0 WITH LLVM-exception OR CC0-1.0) AND (Apache-2.0 OR Apache-2.0 WITH LLVM-exception OR MIT) AND (Apache-2.0 OR BSD-2-Clause OR MIT) AND (Apache-2.0 OR BSD-3-Clause) AND (Apache-2.0 OR BSD-3-Clause OR MIT) AND (Apache-2.0 OR BSL-1.0 OR MIT) AND (Apache-2.0 OR CC0-1.0 OR MIT-0) AND (Apache-2.0 OR ISC OR MIT) AND (Apache-2.0 OR LGPL-2.1-or-later OR MIT) AND (Apache-2.0 OR MIT) AND (Apache-2.0 OR MIT OR Zlib) AND (Apache-2.0 WITH LLVM-exception) AND (BSD-2-Clause) AND (BSD-3-Clause) AND (BSD-3-Clause AND MIT) AND (BSD-3-Clause OR MIT) AND CC0-1.0 AND (CC0-1.0 OR MIT-0) AND (CDLA-Permissive-2.0) AND ISC AND (ISC AND (Apache-2.0 OR ISC)) AND (ISC AND (Apache-2.0 OR ISC) AND OpenSSL) AND (LGPL-3.0-or-later OR MIT) AND MIT AND (MIT OR Unlicense) AND MPL-2.0 AND Unicode-3.0 AND Zlib AND bzip2-1.0.6) +URL: https://twintaillauncher.app/ +Source0: https://github.com/TwintailTeam/TwintailLauncher/archive/refs/tags/ttl-v%{version}.tar.gz + +ExclusiveArch: x86_64 + +Requires: hicolor-icon-theme + +# Build requires +BuildRequires: pnpm +BuildRequires: %{tauri_buildrequires} +BuildRequires: protobuf-devel +BuildRequires: webkit2gtk4.1-devel +BuildRequires: desktop-file-utils +BuildRequires: hicolor-icon-theme +BuildRequires: perl +BuildRequires: zlib-ng-devel +BuildRequires: clang +BuildRequires: mold + +Provides: ttl + +%description +Twintaillauncher is a multi-platform launcher that brings mod support, quality-of-life improvements, and advanced features to a variety of anime-styled games. +TTL is an all-in-one tool for downloading, managing, and launching your favorite anime games. It’s designed with flexibility, ease of use, and customization in mind. + +%prep +%autosetup -n TwintailLauncher-ttl-v%{version} +cd src-tauri +cargo update +cd .. +%tauri_prep + +%build +%pnpm_build + + +%install +%tauri_install_bin +%tauri_cargo_license_summary +%{tauri_cargo_license} > LICENSE.dependencies + +%desktop_file_install -f ./twintaillauncher.desktop + +install -Dm644 public/launcher-icon.png %{buildroot}%{_hicolordir}/512x512/apps/%{name}.png +install -Dm644 public/launcher-icon-128.png %{buildroot}%{_hicolordir}/128x128/apps/%{name}.png + + + +%files +%license LICENSE.dependencies +%license LICENSE +%doc README.md + +%{_bindir}/twintaillauncher +%{_hicolordir}/512x512/apps/%{name}.png +%{_hicolordir}/128x128/apps/%{name}.png +%_appsdir/twintaillauncher.desktop + + + + +%changelog +* Tue Feb 3 2026 Yoong Jin - 1.1.15-0 +- Initial Package diff --git a/anda/apps/twintaillauncher/update.rhai b/anda/apps/twintaillauncher/update.rhai new file mode 100644 index 0000000000..ec0890fe7f --- /dev/null +++ b/anda/apps/twintaillauncher/update.rhai @@ -0,0 +1,2 @@ +// index of 5 skips 'ttl-v' +rpm.version(gh_tag("TwintailTeam/TwintailLauncher")[5..]);