diff --git a/.gitignore b/.gitignore index 5b784400..16c63fe6 100644 --- a/.gitignore +++ b/.gitignore @@ -73,3 +73,4 @@ lib/firebase_options.dart # Node Dependency directories node_modules/ jspm_packages/ +*.snap diff --git a/linux/CMakeLists.txt b/linux/CMakeLists.txt index 50c282cc..b5ef4e86 100644 --- a/linux/CMakeLists.txt +++ b/linux/CMakeLists.txt @@ -1,7 +1,7 @@ cmake_minimum_required(VERSION 3.10) project(runner LANGUAGES CXX) -set(BINARY_NAME "LunaSea") +set(BINARY_NAME "lunasea") set(APPLICATION_ID "app.lunasea.lunasea") cmake_policy(SET CMP0063 NEW) diff --git a/package.json b/package.json index 658cdb7d..a6cfa0cc 100644 --- a/package.json +++ b/package.json @@ -7,6 +7,7 @@ "build:android": "flutter clean && flutter build apk --split-per-abi --bundle-sksl-path shaders/android_sksl.json --release", "build:ios": "flutter clean && flutter build ipa --bundle-sksl-path shaders/ios_sksl.json --release", "build:linux": "flutter clean && flutter build linux --release", + "build:linux:snap": "flutter clean && snapcraft --use-lxd", "build:macos": "flutter clean && flutter build macos --release", "build:windows": "flutter clean && flutter build windows --release", "build:web": "flutter clean && flutter build web --web-renderer canvaskit --release", diff --git a/snap/gui/lunasea.desktop b/snap/gui/lunasea.desktop new file mode 100644 index 00000000..5fe9953f --- /dev/null +++ b/snap/gui/lunasea.desktop @@ -0,0 +1,8 @@ +[Desktop Entry] +Name=LunaSea +Comment=Self-hosted software controller built using Flutter +Exec=lunasea +Icon=${SNAP}/meta/gui/lunasea.png +Terminal=false +Type=Application +Categories=Utilities;Entertainment; diff --git a/snap/gui/lunasea.png b/snap/gui/lunasea.png new file mode 100644 index 00000000..b4d57618 Binary files /dev/null and b/snap/gui/lunasea.png differ diff --git a/snap/snapcraft.yaml b/snap/snapcraft.yaml new file mode 100644 index 00000000..cb0c51ce --- /dev/null +++ b/snap/snapcraft.yaml @@ -0,0 +1,55 @@ +name: lunasea +version: 10.0.2 + +title: LunaSea +summary: Self-hosted software controller built using Flutter +description: > + LunaSea is a fully featured, open source self-hosted controller focused on giving you a seamless experience between all of your self-hosted media software remotely on your devices. LunaSea currently supports: + + * Lidarr + * Radarr + * Sonarr + * NZBGet + * SABnzbd + * Newznab Indexer Searching + * NZBHydra2 + * Tautulli + * Wake on LAN + + LunaSea even comes with support for webhook-based push notifications, multiple instances of applications using profiles, backup and restore functionality for your configuration, an AMOLED black theme, and more! + + --- + + Please note that LunaSea is purely a remote control application, it does not offer any functionality without software installed on a server/computer. + +icon: snap/gui/lunasea.png +license: GPL-3.0 +contact: hello@lunasea.app +donation: https://www.lunasea.app/donate +source-code: https://www.lunasea.app/github +website: https://www.lunasea.app + +confinement: devmode +base: core18 + +slots: + dbus-lunasea: + interface: dbus + bus: session + name: app.lunasea.lunasea + +apps: + lunasea: + command: lunasea + extensions: [flutter-stable] + plugs: + - network + slots: + - dbus-lunasea + +parts: + lunasea: + source: . + plugin: flutter + flutter-revision: stable + flutter-target: lib/main.dart