Name: shiru Version: 6.2.1 Release: 1%{?dist} Summary: Shiru - The ultimate torrent-based anime player. License: GPL-3.0-or-later URL: https://github.com/RockinChaos/Shiru Source0: shiru-6.2.1.tar.gz Packager: Yashwanth Rathakrishnan Vendor: RockinChaos Requires: gtk3, libnotify, nss, libXScrnSaver, libXtst, xdg-utils, at-spi2-core, libuuid, libsecret Suggests: libappindicator-gtk3 BuildArch: x86_64 %global debug_package %{nil} %description Shiru - Allows you to stream anime in real-time with no waiting for downloads, combining the advantages of high-speed torrents, great video quality, and fast releases — all without ads or tracking. %prep %setup #verbose output # %setup -q %install rm -rf %{buildroot} mkdir -p %{buildroot} cp -a opt %{buildroot}/opt cp -a usr %{buildroot}/usr ls -lR %{buildroot} %check %files /opt/Shiru/* /usr/share/applications/shiru.desktop /usr/share/icons/hicolor/16x16/apps/shiru.png /usr/share/icons/hicolor/32x32/apps/shiru.png /usr/share/icons/hicolor/48x48/apps/shiru.png /usr/share/icons/hicolor/64x64/apps/shiru.png /usr/share/icons/hicolor/128x128/apps/shiru.png /usr/share/icons/hicolor/256x256/apps/shiru.png /usr/share/icons/hicolor/512x512/apps/shiru.png %doc /usr/share/doc/shiru/changelog.gz %license LICENSE %post if type update-alternatives >/dev/null 2>&1; then # Remove previous link if it doesn't use update-alternatives if [ -L '/usr/bin/shiru' ] && [ -e '/usr/bin/shiru' ] && [ "$(readlink '/usr/bin/shiru')" != '/etc/alternatives/shiru' ]; then rm -f '/usr/bin/shiru' fi update-alternatives --install '/usr/bin/shiru' 'shiru' '/opt/Shiru/shiru' 100 || ln -sf '/opt/Shiru/shiru' '/usr/bin/shiru' else ln -sf '/opt/Shiru/shiru' '/usr/bin/shiru' fi # Check if user namespaces are supported by the kernel and working with a quick test: if ! { [[ -L /proc/self/ns/user ]] && unshare --user true; }; then # Use SUID chrome-sandbox only on systems without user namespaces: chmod 4755 '/opt/Shiru/chrome-sandbox' || true else chmod 0755 '/opt/Shiru/chrome-sandbox' || true fi if hash update-mime-database 2>/dev/null; then update-mime-database /usr/share/mime || true fi if hash update-desktop-database 2>/dev/null; then update-desktop-database /usr/share/applications || true fi %postun # Delete the link to the binary if command -v update-alternatives >/dev/null 2>&1; then update-alternatives --remove shiru "%{_bindir}/shiru" || true else rm -f "%{_bindir}/shiru" fi %changelog * Thu Sep 02 2025 Yashwanth Rathakrishnan 6.2.1-1 - feat: Added torrent provider filtering; supports preferred torrent providers with prioritization over order and audio language - feat: Added expandable lists toggle on Android (defaults to scrolling) - feat: Introduced preset themes including Default (AMOLED); improved reactivity of buttons, inputs, and toggles; fixed dark theme colors and transparency issues; improved accessibility with tooltips - feat: Added Spanish (Latin American) subtitle language - fix: Resolved missing subtitles from release groups like Yameii - fix: Fixed external player auto-play issues when loading files or switching episodes, and prevented premature reopen - fix: File manager improvements — proper sorting by series/season/episode, series changes reflected immediately - fix: Fixed episode list scaling and truncated summaries on Android - fix: Corrected hover button state handling on Android - fix: Prevented unnecessary section updates for airing series - fix: Dub delay handling — Dub production status now properly displayed - fix: Fixed rare stale schedule/manifest data edge cases - fix: Corrected torrent card tags caused by regex errors - fix: Resolved overlay behavior when files are loaded - fix: Improved dual audio torrent detection, added Chinese Audio support, corrected English Dub filtering - fix: Corrected false dual audio detection from “Dual Track” - fix: Improved title term mapping (e.g. avoiding false positives like “Synduality Noir” mapping as Dual Audio) - fix: Implemented OAV title filtering for correct resolution - fix: Episode number detection in titles - fix: Modal overflow issue - fix: Single child preview card display - fix: Duplicate genres in queries - fix: Regex issues in media descriptions - chore: Improved zero episode file handling in manager (editable zero episode support) - chore: Offline improvements — offline search, hide missing media, better detection, 404 images for missing assets - chore: Enhanced miniplayer — scaled proportionally, border added, bug fixes on Android - chore: Improved outage detection — offline-like fallback during Anilist API downtime - chore: Reworked following section; replaced with user icons showing stats on hover/focus - chore: Added safe area zones to cards to avoid accidental clicks on Android - chore: Hide fast-forward/rewind when using external player - chore: Added torrent status indicator button on episode list cards - chore: Fuzzy subtitle matching from track names when undefined - chore: Enhancements to share/open buttons with individual MAL/Anilist actions - chore: Fixed incorrect batch search caching with adult content filtering - chore: Hide unnecessary focus elements - chore: Improved audio label order