yne / dzr

Accountless deezer.com Player (CLI & VSCode)
The Unlicense
199 stars 12 forks source link

Add snap / flatpak / flake support #25

Open yne opened 2 years ago

yne commented 2 years ago

This ecosystem is getting on my nerve. If someone has a working snapcraft.yml I won't say no

Here is my attempt

name: dzr
base: core18
version: '1.0+git'
summary: Command Line deezer.com Player
description: Command Line deezer.com Player for Linux, BSD, Android, Windows
grade: stable
confinement: strict
apps:
  dzr:
    command: ./dzr
    plugs:
      - network
      - pulseaudio
parts:
  dzr:
    source: https://github.com/yne/dzr.git
    plugin: nil
    build-packages: [mpv,curl,jq,dialog,openssl]
    organize:
      dzr: usr/local/bin/dzr
      dzr-dec: usr/local/bin/dzr-dec
      dzr-srt: usr/local/bin/dzr-srt
      dzr-url: usr/local/bin/dzr-url

But it take forever to build/test each times There is too much variability (--devel, grade, confinement) which I can't get my head around

TheoOliveira commented 1 year ago

Hello, i was trying some app like your project guy. I'd like to help on that. I never touch snap but i can try.