tidal hifi desktop app

This commit is contained in:
damage 2024-12-23 22:34:58 +01:00
parent 90cc7be26b
commit b02dedd8ae
2 changed files with 35 additions and 0 deletions

View File

@ -0,0 +1,2 @@
DIST 5.17.0.tar.gz 7047968 BLAKE2B 8832835b74b511bd57e363bbeadcc5b29590b22f9aa43cd2f3d539ca447c2ba089b601a18c8ab0c83be86ba287d2c4121203e1a8c8e040e7b780156e90bc88ae SHA512 c1fed3f9a5812f7f0342c798687646d12c2c42c96eac798ab366294b80bd0d1970e617a128fc0945a18aa3e340eafa4b52a1d6c98a6d14dfd7636e0fff5751c1
EBUILD tidal-hifi-5.17.0.ebuild 779 BLAKE2B d89e0ee118ecd114222853d4488d44fa830465d6069df26a333ffd69876c9f85bcf314938c0b8bed1c6b63f7a8a1f9ad42d4a16997976d4dfc17742a272d7b25 SHA512 af5ee305dc036ff53389b43a5e1096bb4aaf7f0eba88ad9801bea41485b3a81e1fb2d266fdefca90c3125c471350ea9897072390af9a39ab8c8d9ee9c5d64cd4

View File

@ -0,0 +1,33 @@
# Copyright 2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DESCRIPTION="Tidal Desktop App based on nodejs/electron"
HOMEPAGE="https://github.com/Mastermindzh/tidal-hifi"
SRC_URI="https://github.com/Mastermindzh/${PN}/archive/refs/tags/${PV}.tar.gz"
LICENSE=""
SLOT="0"
KEYWORDS="~amd64"
DEPEND="net-libs/nodejs"
RDEPEND="${DEPEND}"
BDEPEND="net-libs/nodejs[npm] dev-lang/typescript"
NPM_FLAGS=(
--color false
--verbose
--prefix "${S}"
)
src_compile() {
npm install "${NPM_FLAGS[@]}"
npm run builder "${NPM_FLAGS[@]}" -- -c "build/electron-builder.unpacked.yml"
}
src_install() {
mkdir -p "${ED}/usr/lib"
cp -r "${S}/dist/linux-unpacked" "${ED}/usr/lib/${PN}"
dosym "/usr/lib/${PN}/tidal-hifi" "/usr/bin/tidal-hifi"
}