Skip to content

Commit

Permalink
Merge pull request #43 from aunetx/without-flatpak
Browse files Browse the repository at this point in the history
Remove everything related to flatpak
  • Loading branch information
aunetx committed Sep 18, 2023
2 parents 27f4445 + 9774b21 commit 7006547
Show file tree
Hide file tree
Showing 5 changed files with 0 additions and 2,230 deletions.
29 changes: 0 additions & 29 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
APPNAME = dev.aunetx.deezer
PKGVER = 5.30.590
BASE_URL = https://www.deezer.com/desktop/download/artifact/win32/x86/$(PKGVER)
GPG_KEY_ID = 5A7D3B06F15FB60238941027EB3A799E7EE716EB
VERSION_REGEX = ^v$(PKGVER)-[0-9]{1,}$$


Expand Down Expand Up @@ -42,34 +41,6 @@ prepare: clean install_build_deps
@cat package-append.json | tee -a app/package.json


#! FLATPAK

prepare_flatpak: prepare
@echo "Generate yarn sources (without installing them)"
@yarn --cwd=app install --mode update-lockfile

@echo "Package the sources to use them in flatpak-builder offline"
@mkdir -p flatpak
@./flatpak-node-generator.py yarn app/yarn.lock -o flatpak/generated-sources.json --electron-node-headers --xdg-layout

build_flatpak: prepare_flatpak
@echo "Build the flatpak image"
@flatpak-builder --force-clean --state-dir=flatpak/flatpak-builder flatpak/build $(APPNAME).yml

export_flatpak: prepare_flatpak
@echo "Build the flatpak package and export it to the repo"
@flatpak-builder --gpg-sign=$(GPG_KEY_ID) --repo=docs --state-dir=flatpak/flatpak-builder --force-clean flatpak/build $(APPNAME).yml
@flatpak build-update-repo --generate-static-deltas --gpg-sign=$(GPG_KEY_ID) docs

bundle_flatpak: build_flatpak
@echo "Create a flatpak bundle"
@flatpak build-bundle --gpg-sign=$(GPG_KEY_ID) --state-dir=flatpak/flatpak-builder docs deezer.flatpak $(APPNAME)

install_flatpak: prepare_flatpak
@echo "Build and install locally the flatpak image"
@flatpak-builder --force-clean --state-dir=flatpak/flatpak-builder --user --install flatpak/build $(APPNAME).yml


#! PACKAGES

install_deps: prepare
Expand Down
8 changes: 0 additions & 8 deletions deezer.flatpakref

This file was deleted.

47 changes: 0 additions & 47 deletions dev.aunetx.deezer.appdata.xml

This file was deleted.

94 changes: 0 additions & 94 deletions dev.aunetx.deezer.yml

This file was deleted.

0 comments on commit 7006547

Please sign in to comment.