mirror of
https://github.com/zarzet/SpotiFLAC-Mobile.git
synced 2026-11-29 07:34:13 +01:00
flutter gen-l10n wrote a class for each of the 21 ARB files, and every class repeated the English text of each message its language has not translated. The app only offers the 13 languages of supported_locales.dart. scripts/gen_l10n.dart writes those 13 only. Each language class extends the English one and overrides just the messages whose text differs, and the bare es, pt and zh classes are left out where only a country variant ships. For the 13 languages every message resolves to the same text as before (compared across all 2989 messages). Flutter no longer generates the files: l10n.yaml is gone and pubspec sets generate: false, because a root l10n.yaml makes every build run Flutter's own generator. Run `dart scripts/gen_l10n.dart` after ARB changes and once in a new checkout; build_android.sh does it too. The script also drops the records of earlier Flutter-generated outputs from .dart_tool, which made the next build delete the files as stale. locale_config.xml lists the same 13 languages for Android's per-app language setting. The Arabic layout test brings its own delegate, as the app ships no right-to-left language. build_android.sh also passes MORNYE_MOBILE, which a later commit reads.
227 lines
6.5 KiB
YAML
227 lines
6.5 KiB
YAML
name: mornye
|
|
description: Mornye, extension-driven music metadata and downloads for mobile devices
|
|
publish_to: "none"
|
|
version: 5.4.1+170
|
|
|
|
environment:
|
|
sdk: ^3.10.0
|
|
|
|
dependencies:
|
|
flutter:
|
|
sdk: flutter
|
|
|
|
# Localization
|
|
flutter_localizations:
|
|
sdk: flutter
|
|
intl: ^0.20.3
|
|
timezone: ^0.11.2
|
|
|
|
# State Management
|
|
flutter_riverpod: ^3.5.0
|
|
|
|
# Navigation
|
|
go_router: ^18.1.3
|
|
|
|
# Storage & Persistence
|
|
shared_preferences: ^2.5.6
|
|
# v11 removes legacy Android readers, breaking users who skip the v10 migration.
|
|
# Keep the compatibility release until old encrypted installs can be migrated.
|
|
flutter_secure_storage: 10.3.4
|
|
mornye_discord:
|
|
path: third_party/mornye_discord
|
|
path_provider: ^2.1.6
|
|
# Windows known-folder lookup for the default desktop Music folder.
|
|
path_provider_windows: ^2.3.0
|
|
path: ^1.9.1
|
|
# Desktop backend library bindings (lib/services/backend).
|
|
ffi: ^2.2.0
|
|
sqflite: ^2.4.5
|
|
# Windows and Linux have no sqflite plugin; they use FFI with bundled SQLite.
|
|
sqflite_common_ffi: ^2.4.5
|
|
|
|
# HTTP & Network
|
|
http: ^1.6.0
|
|
# 7.3.2 requires dbus 0.8, while desktop_drop 0.8.4 still requires 0.7.
|
|
connectivity_plus: ^7.3.1
|
|
crypto: ^3.0.8
|
|
# Mornye Link: finds the desktop app on the local network (mDNS).
|
|
bonsoir: ^7.1.5
|
|
|
|
# Streaming backup archives
|
|
archive: ^4.6.0
|
|
|
|
# UI Components
|
|
cached_network_image: ^4.0.6
|
|
flutter_cache_manager: ^3.5.0
|
|
liquid_glass_easy: 5.2.0
|
|
cupertino_icons: ^2.0.0
|
|
material_symbols_icons: ^4.2960.0
|
|
volume_controller: ^3.7.1
|
|
|
|
# Material Expressive 3 / Dynamic Color
|
|
dynamic_color: ^2.1.0
|
|
material_ui: ^1.11.0
|
|
cupertino_ui: ^1.1.6
|
|
material_3_expressive: ^1.2.0
|
|
material_color_utilities: 0.13.0
|
|
|
|
# Permissions
|
|
permission_handler: ^13.0.2
|
|
# Microphone PCM stream for song recognition on all five platforms.
|
|
record: ^7.1.2
|
|
|
|
# File Picker
|
|
file_picker: ^13.3.2
|
|
# Desktop: drop music files and folders onto the window to add them.
|
|
# 0.9 needs cross_file 0.4; file_picker and share_plus still require 0.3.
|
|
desktop_drop: 0.8.4
|
|
|
|
# JSON Serialization
|
|
json_annotation: ^4.12.0
|
|
|
|
# Utils
|
|
url_launcher: ^6.3.3
|
|
device_info_plus: ^13.3.0
|
|
share_plus: ^13.3.1
|
|
receive_sharing_intent: ^1.9.0
|
|
logger: ^2.8.0
|
|
|
|
# FFmpeg for audio conversion
|
|
ffmpeg_kit_flutter_new_audio: 2.5.8
|
|
open_filex: ^5.0.0
|
|
|
|
video_player: ^2.14.1
|
|
|
|
xml: ^7.1.0
|
|
html: ^0.15.7
|
|
dart_smb2: 0.4.1
|
|
synchronized: ^3.6.1
|
|
|
|
# Notifications
|
|
flutter_local_notifications: ^23.0.0
|
|
audioplayers: ^6.8.1
|
|
audio_service:
|
|
path: third_party/audio_service
|
|
audio_session: ^0.2.4
|
|
app_links: ^7.2.2
|
|
# Windows and Linux playback (libmpv). Android, iOS and macOS keep
|
|
# audioplayers; macOS bundles libmpv only for exclusive output (hog mode),
|
|
# which AVPlayer cannot play through.
|
|
media_kit: ^1.2.6
|
|
media_kit_libs_windows_audio: ^1.0.9
|
|
media_kit_libs_linux: ^1.2.1
|
|
media_kit_libs_macos_audio: ^1.1.4
|
|
# Desktop media sessions behind audio_service: MPRIS on Linux (D-Bus) and
|
|
# the System Media Transport Controls on Windows.
|
|
audio_service_platform_interface: ^0.1.3
|
|
dbus: ^0.7.15
|
|
smtc_windows: ^1.1.0
|
|
|
|
dependency_overrides:
|
|
# Retain the existing Apple keychain fixes while Android uses legacy migration.
|
|
# The v10 and v11 Apple option maps use the same platform interface contract.
|
|
flutter_secure_storage_darwin: 0.4.3
|
|
# Per-player audio processing tap; upstream playback and session ownership stay intact.
|
|
audioplayers_darwin:
|
|
path: third_party/audioplayers_darwin
|
|
# Preserve Android proxy descriptors supplied by network document providers.
|
|
audioplayers_android:
|
|
path: third_party/audioplayers_android
|
|
# smtc_windows 1.1.0 is generated by and links flutter_rust_bridge =2.11.1,
|
|
# but allows any 2.x runtime; a newer one fails its version check at start
|
|
# and leaves Windows without media transport controls.
|
|
flutter_rust_bridge: 2.11.1
|
|
# Builds the Linux plugin without its native bundle where upstream has
|
|
# none (arm64); desktop runs the bundled ffmpeg CLI instead.
|
|
ffmpeg_kit_flutter_new_audio:
|
|
path: third_party/ffmpeg_kit_flutter_new_audio
|
|
# Upstream bundles x64 only; keep native playback on Windows ARM64.
|
|
media_kit_libs_windows_audio:
|
|
path: third_party/media_kit_libs_windows_audio
|
|
|
|
hooks:
|
|
user_defines:
|
|
sqlite3:
|
|
# Only Windows and Linux open databases through sqflite_common_ffi.
|
|
# Mobile and macOS keep the sqflite plugins, so they bundle no copy.
|
|
source:
|
|
android: system
|
|
ios: system
|
|
macos: system
|
|
default: sqlite3
|
|
|
|
dev_dependencies:
|
|
flutter_driver:
|
|
sdk: flutter
|
|
integration_test:
|
|
sdk: flutter
|
|
flutter_test:
|
|
sdk: flutter
|
|
clock: 1.1.3
|
|
analyzer: ^14.7.0
|
|
flutter_lints: ^6.0.0
|
|
build_runner: ^2.17.1
|
|
riverpod_lint: ^3.2.0
|
|
json_serializable: ^6.15.2
|
|
flutter_launcher_icons: ^0.14.4
|
|
path_provider_platform_interface: 2.1.3
|
|
video_player_platform_interface: 6.9.0
|
|
|
|
flutter_launcher_icons:
|
|
android: true
|
|
ios: true
|
|
image_path: "icon.png"
|
|
image_path_android: "icon_android.png"
|
|
adaptive_icon_background: "#1E4E4F"
|
|
adaptive_icon_foreground: "icon_foreground_android.png"
|
|
adaptive_icon_foreground_inset: 0
|
|
adaptive_icon_monochrome: "icon_monochrome_android.png"
|
|
ios_content_mode: scaleAspectFill
|
|
remove_alpha_ios: true
|
|
background_color_ios: "#1E4E4F"
|
|
# The macOS source places the badge on Apple's 824 pt icon grid.
|
|
macos:
|
|
generate: true
|
|
image_path: "icon_macos.png"
|
|
windows:
|
|
generate: true
|
|
image_path: "assets/brand/logo/png/mornye-badge@1x.png"
|
|
icon_size: 256
|
|
|
|
flutter:
|
|
uses-material-design: true
|
|
# Localization is generated by `dart scripts/gen_l10n.dart` (active locales
|
|
# only, with non-English classes extending AppLocalizationsEn).
|
|
generate: false
|
|
|
|
shaders:
|
|
- assets/shaders/mornye_selection_mask.frag
|
|
|
|
assets:
|
|
- LICENSE
|
|
- COPYING
|
|
- NOTICE
|
|
- assets/images/
|
|
- assets/brand/logo/png/mornye-lockup-horizontal-white@1x.png
|
|
- assets/fonts/Inter-LICENSE.txt
|
|
- assets/fonts/GoogleSansFlex-LICENSE.txt
|
|
- assets/licenses/usb.txt
|
|
- assets/licenses/oboe.txt
|
|
- assets/licenses/wavpack.txt
|
|
- assets/licenses/flac.txt
|
|
- assets/licenses/ffmpeg.txt
|
|
- assets/licenses/lgpl-3.0.txt
|
|
- assets/licenses/libsmb2.txt
|
|
- assets/licenses/native_palette.txt
|
|
- assets/licenses/native_data_jobs.txt
|
|
- assets/licenses/romanization.txt
|
|
- assets/romanization/pinyin.txt.gz
|
|
|
|
fonts:
|
|
- family: Inter
|
|
fonts:
|
|
- asset: assets/fonts/InterVariable.ttf
|
|
- family: Google Sans Flex
|
|
fonts:
|
|
- asset: assets/fonts/GoogleSansFlex.ttf
|