yne/dzr

Add snap / flatpak / flake support

yne opened this issue · 1 comments

yne commented

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

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.