mirror of
https://github.com/KRTirtho/spotube.git
synced 2025-09-12 23:45:18 +00:00
flutter_distributor configurations added
This commit is contained in:
parent
aebe6d332f
commit
ce6e4dc677
5
.gitignore
vendored
5
.gitignore
vendored
@ -52,6 +52,7 @@ app.*.map.json
|
|||||||
/aur-struct/pkg
|
/aur-struct/pkg
|
||||||
|
|
||||||
/deb-struct/usr
|
/deb-struct/usr
|
||||||
|
/linux/packaging/deb/usr
|
||||||
|
|
||||||
/AppDir
|
/AppDir
|
||||||
/appimage-builder-cache
|
/appimage-builder-cache
|
||||||
@ -69,4 +70,6 @@ installer.exe
|
|||||||
*.env
|
*.env
|
||||||
lib/models/generated_secrets.dart
|
lib/models/generated_secrets.dart
|
||||||
help.txt
|
help.txt
|
||||||
secrets.json
|
secrets.json
|
||||||
|
|
||||||
|
dist
|
27
distribute_options.yaml
Normal file
27
distribute_options.yaml
Normal file
@ -0,0 +1,27 @@
|
|||||||
|
output: dist/
|
||||||
|
|
||||||
|
releases:
|
||||||
|
- name: dev
|
||||||
|
jobs:
|
||||||
|
# Generating a debian binary
|
||||||
|
- name: release-dev-linux-zip
|
||||||
|
package:
|
||||||
|
platform: linux
|
||||||
|
target: zip
|
||||||
|
build_args:
|
||||||
|
dart-define:
|
||||||
|
APP_ENV: dev
|
||||||
|
- name: release-dev-linux-deb
|
||||||
|
package:
|
||||||
|
platform: linux
|
||||||
|
target: deb
|
||||||
|
build_args:
|
||||||
|
dart-define:
|
||||||
|
APP_ENV: dev
|
||||||
|
- name: release-dev-linux-appimage
|
||||||
|
package:
|
||||||
|
platform: linux
|
||||||
|
target: appimage
|
||||||
|
build_args:
|
||||||
|
dart-define:
|
||||||
|
APP_ENV: dev
|
50
linux/packaging/appimage/AppImageBuilder.yml
Normal file
50
linux/packaging/appimage/AppImageBuilder.yml
Normal file
@ -0,0 +1,50 @@
|
|||||||
|
# appimage-builder recipe see https://appimage-builder.readthedocs.io for details
|
||||||
|
version: 1
|
||||||
|
script:
|
||||||
|
- rm -rf AppDir || true
|
||||||
|
- cp -r build/linux/x64/release/bundle AppDir
|
||||||
|
- mkdir -p AppDir/usr/share/icons/hicolor/64x64/apps/
|
||||||
|
- cp assets/spotube-logo.png AppDir/usr/share/icons/hicolor/64x64/apps/
|
||||||
|
AppDir:
|
||||||
|
path: ./AppDir
|
||||||
|
app_info:
|
||||||
|
id: oss.krtirtho.spotube
|
||||||
|
name: Spotube
|
||||||
|
icon: spotube-logo
|
||||||
|
version: 2.0.0
|
||||||
|
exec: spotube
|
||||||
|
exec_args: $@
|
||||||
|
apt:
|
||||||
|
arch: amd64
|
||||||
|
allow_unauthenticated: true
|
||||||
|
sources:
|
||||||
|
- sourceline: deb http://bd.archive.ubuntu.com/ubuntu/ hirsute main restricted
|
||||||
|
- sourceline: deb http://bd.archive.ubuntu.com/ubuntu/ hirsute-updates main restricted
|
||||||
|
- sourceline: deb http://bd.archive.ubuntu.com/ubuntu/ hirsute universe
|
||||||
|
- sourceline: deb http://bd.archive.ubuntu.com/ubuntu/ hirsute-updates universe
|
||||||
|
- sourceline: deb http://bd.archive.ubuntu.com/ubuntu/ hirsute multiverse
|
||||||
|
- sourceline: deb http://bd.archive.ubuntu.com/ubuntu/ hirsute-updates multiverse
|
||||||
|
- sourceline:
|
||||||
|
deb http://bd.archive.ubuntu.com/ubuntu/ hirsute-backports main
|
||||||
|
restricted universe multiverse
|
||||||
|
- sourceline: deb http://security.ubuntu.com/ubuntu hirsute-security main restricted
|
||||||
|
- sourceline: deb http://security.ubuntu.com/ubuntu hirsute-security universe
|
||||||
|
- sourceline: deb http://security.ubuntu.com/ubuntu hirsute-security multiverse
|
||||||
|
include:
|
||||||
|
- libkeybinder-3.0-0
|
||||||
|
exclude:
|
||||||
|
- libx11-6
|
||||||
|
- libgtk-3-0
|
||||||
|
- libglib2.0-0
|
||||||
|
- libc6
|
||||||
|
files:
|
||||||
|
include: []
|
||||||
|
exclude:
|
||||||
|
- usr/share/man
|
||||||
|
- usr/share/doc/*/README.*
|
||||||
|
- usr/share/doc/*/changelog.*
|
||||||
|
- usr/share/doc/*/NEWS.*
|
||||||
|
- usr/share/doc/*/TODO.*
|
||||||
|
AppImage:
|
||||||
|
arch: x86_64
|
||||||
|
update-information: guess
|
5
linux/packaging/appimage/make_config.yaml
Normal file
5
linux/packaging/appimage/make_config.yaml
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
appId: oss.krtirtho.spotube
|
||||||
|
icon: assets/spotube-logo.png
|
||||||
|
|
||||||
|
include:
|
||||||
|
- libkeybinder-3.0-0
|
11
linux/packaging/deb/DEBIAN/control
Normal file
11
linux/packaging/deb/DEBIAN/control
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
Package: Spotube
|
||||||
|
Version: 2.0.0
|
||||||
|
Section: sound
|
||||||
|
Priority: optional
|
||||||
|
Architecture: all
|
||||||
|
Essential: no
|
||||||
|
Installed-Size: 24400
|
||||||
|
Depends: libkeybinder-3.0-0 (>= 0.3.2)
|
||||||
|
Maintainer: Kingkor Roy Tirtho <krtirtho@gmail.com>
|
||||||
|
Description: A lightweight free Spotify crossplatform-client which handles playback manually, streams music using Youtube & no Spotify premium account is needed
|
||||||
|
Homepage: https://github.com/KRTirtho/spotube
|
8
linux/packaging/deb/DEBIAN/postinst
Executable file
8
linux/packaging/deb/DEBIAN/postinst
Executable file
@ -0,0 +1,8 @@
|
|||||||
|
#!/usr/bin/env sh
|
||||||
|
|
||||||
|
echo Creating symlink
|
||||||
|
|
||||||
|
ln -s /usr/share/spotube/spotube /usr/bin
|
||||||
|
chmod +x /usr/bin/spotube
|
||||||
|
|
||||||
|
exit 0
|
7
linux/packaging/deb/DEBIAN/postrm
Executable file
7
linux/packaging/deb/DEBIAN/postrm
Executable file
@ -0,0 +1,7 @@
|
|||||||
|
#!/usr/bin/env sh
|
||||||
|
|
||||||
|
echo Removing symlink
|
||||||
|
|
||||||
|
rm /usr/bin/spotube
|
||||||
|
|
||||||
|
exit 0
|
11
macos/packaging/dmg/make_config.yaml
Normal file
11
macos/packaging/dmg/make_config.yaml
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
title: Spotube
|
||||||
|
icon: assets/spotube-logo.png
|
||||||
|
contents:
|
||||||
|
- x: 448
|
||||||
|
y: 344
|
||||||
|
type: link
|
||||||
|
path: "/Applications"
|
||||||
|
- x: 192
|
||||||
|
y: 344
|
||||||
|
type: file
|
||||||
|
path: build/macos/Build/Products/Release/spotube.app
|
8
windows/packaging/exe/make_config.yaml
Normal file
8
windows/packaging/exe/make_config.yaml
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
app_id: 80B901C8-D6FE-494E-8AF7-A2BD440E8644
|
||||||
|
publisher: KRTirtho, OSS
|
||||||
|
publisher_url: https://github.com/KRTirtho/spotube
|
||||||
|
display_name: Spotube
|
||||||
|
create_desktop_icon: true
|
||||||
|
install_dir_name: Spotube
|
||||||
|
locales:
|
||||||
|
- en
|
Loading…
Reference in New Issue
Block a user