Build Deezer packages for Opensuse/Fedora, using resources extracted from Deezer's Windows or macOS packages.
See Releases
-
Install Node.js, e.g. using NVM:
nvm install node
-
Install
asar
,electron-packager
andelectron-installer-redhat
:npm install asar electron-packager electron-installer-redhat
2.1. Add node_modules
to path
export PATH="$PATH:$(npm bin)"
-
Install packages required for
7z
,icns2png
,fakeroot
andrpm
.Using OpenSUSE
sudo zypper in p7zip-full icns-utils fakeroot rpm-build
Or, using macOS:
brew install p7zip libicns fakeroot dpkg
-
Download the latest Deezer Windows or macOS installer, as
deezer.exe
ordeezer.dmg
respectively, e.g. using wget:wget 'https://e-cdn-content.dzcdn.net/builds/deezer-desktop/8cF2rAuKxLcU1oMDmCYm8Uiqe19Ql0HTySLssdzLkQ9ZWHuDTp2JBtQOvdrFzWPA/darwin/x64/4.18.30/DeezerDesktop_4.18.30.dmg' -O deezer.dmg
Run the build script:
./build.sh <platform>
replacing <platform>
with either windows
or mac
, depending on which sources you would like to build from.
Once complete, you should have a RPM package in the out
directory.