media-sound/qobuz-player: new package, add 0.5.0

Signed-off-by: Jonas Frei <freijon@pm.me>
This commit is contained in:
Jonas Frei
2025-12-30 13:11:04 +01:00
parent 701ffa8ef0
commit 4ff674a031
3 changed files with 66 additions and 0 deletions

View File

@@ -0,0 +1,3 @@
DIST mpris-server-f8b3f74e93910fffd0c93df687e05cf954dcdeba.gh.tar.gz 43952 BLAKE2B 6f91e8975e2bb40369bdb430feecb497e555a19dff70a7570aec89b3c0644f2b89d0b8cb6b4544660dedfb1bf2617836a5e79f2af48d2e6a9c025d22323168ac SHA512 aa2f0a1a220d30602478a119a9bcfd548d0dbc18a5036b5dc38742cadf9b589bb65f6632056af149bc4c3cda022ef95cb28e426a7a0198ab45cc58be85f849b4
DIST qobuz-player-0.5.0-crates.tar.xz 63913740 BLAKE2B d38145adfd922dbc015cb6f83cd7ca7e9f8228fff1ae524e292d1c3c57e703daf5b0ab521a2470619c7b3545415af3be85fef3497f78a05b403ee98a87e285f5 SHA512 10efe7042b2e4b2f358089a516bb329fdcd77f657bf55d07bfd7f1fe1be6b8ba6b8a93e2867d30ba1825742c58133aaefc79370f656a312f5ccba5be64962eb8
DIST qobuz-player-0.5.0.tar.gz 6418156 BLAKE2B 9a8935187997cbd0d9165cbbb6ee58c90e98da8a3d35a96640804aad387da7ef70f6609c8e1af50df2e7d912fd5cf8b1491746cc8a7deb185f420d8f4518b7b6 SHA512 eb1f8d76f81a55a02ac9011e4a0968ecf3fe3038f75cc672d2aa3b0e87392e20a09fef7c3ccd68eccaa272d37115e8d8e8d36bd8ba17aaed8e42f44cd9687fb5

View File

@@ -0,0 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<name>Jonas Frei</name>
<email>freijon@pm.me</email>
</maintainer>
<upstream>
<remote-id type="github">SofusA/qobuz-player</remote-id>
<bugs-to>https://github.com/SofusA/qobuz-player/issues</bugs-to>
</upstream>
</pkgmetadata>

View File

@@ -0,0 +1,51 @@
# Copyright 2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
CRATES=""
declare -A GIT_CRATES=(
[mpris-server]='https://github.com/SeaDve/mpris-server;f8b3f74e93910fffd0c93df687e05cf954dcdeba;mpris-server-%commit%'
)
RUST_MIN_VER="1.88.0"
inherit cargo
DESCRIPTION="Tui, web and rfid player for Qobuz"
HOMEPAGE="https://github.com/SofusA/qobuz-player"
SRC_URI="https://github.com/SofusA/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
SRC_URI+=" https://github.com/freijon/${PN}/releases/download/v${PV}/${P}-crates.tar.xz"
SRC_URI+=" ${CARGO_CRATE_URIS}"
LICENSE="GPL-3"
# Dependent crate licenses
LICENSE+="
Apache-2.0 BSD-2 BSD CDLA-Permissive-2.0 ISC MIT MPL-2.0 UoI-NCSA
Unicode-3.0 ZLIB
"
SLOT="0"
KEYWORDS="~amd64"
DEPEND="
dev-db/sqlite:3=
media-libs/alsa-lib
sys-apps/dbus
"
RDEPEND="${DEPEND}"
BDEPEND="virtual/pkgconfig"
src_configure() {
# high magic to allow system-libs
export LIBSQLITE3_SYS_USE_PKG_CONFIG=1
default
}
src_install() {
cargo_src_install --path qobuz-player-cli
local DOCS=(
README.md
)
einstalldocs
}