Added Maloja Scrobbler

This commit is contained in:
Paddy Milner 2025-09-15 23:54:26 +01:00
parent 1e18f7c106
commit 5ba95c5293

View file

@ -0,0 +1,34 @@
# Copyright 2023-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DESCRIPTION="Script for manually scrobbling albums to Maloja "
HOMEPAGE="https://github.com/timkicker/maloja-manual-scrobbler"
if [[ "${PV}" = *9999 ]]; then
inherit git-r3
EGIT_REPO_URI="https://github.com/timkicker/maloja-manual-scrobbler.git"
else
SRC_URI="https://github.com/timkicker/maloja-manual-scrobbler/archive/refs/tags/v${PV}.tar.gz -> ${P}.gh.tar.gz"
KEYWORDS="~amd64"
fi
LICENSE="GPL-3.0"
SLOT="0"
KEYWORDS="~amd64 ~arm64"
RDEPEND="
dev-python/requests
dev-python/python3-discogs-client
"
DEPEND="
${RDEPEND}
"
BDEPEND="
"
src_install() {
install scrobbler.py ${D}/usr/bin/scrobbler
}