mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-08 06:32:59 -04:00
media-sound/qobine: rename media-sound/qobuz-player
This commit contains the 'git mv', the entry in profiles/update as well as the new (renamed) version. The update of the existing ebuilds follows after this commit. Signed-off-by: Jonas Frei <freijon@pm.me>
This commit is contained in:
@@ -1,7 +1,9 @@
|
||||
DIST cpal-fd3b945bffcaa493fa7cb5ceddf9db1f9330fd30.gh.tar.gz 180966 BLAKE2B aabc59d29ab8b26ea778e32ec0687ca52801604b76e874ecd6bfaa2f33f78eaffa895e7da54ce7186be2a016917586dd7c43941b2b85918c22cc3ef668f0f330 SHA512 9b848148ce45b9eb99083ef83bd44ecd51156595dbf9fa571eeeff6d2d067e4ae5f923107bd34f10165b7334cad947e9502f61d038fed8c059c1563cc4aaa58b
|
||||
DIST mpris-server-f8b3f74e93910fffd0c93df687e05cf954dcdeba.gh.tar.gz 43952 BLAKE2B 6f91e8975e2bb40369bdb430feecb497e555a19dff70a7570aec89b3c0644f2b89d0b8cb6b4544660dedfb1bf2617836a5e79f2af48d2e6a9c025d22323168ac SHA512 aa2f0a1a220d30602478a119a9bcfd548d0dbc18a5036b5dc38742cadf9b589bb65f6632056af149bc4c3cda022ef95cb28e426a7a0198ab45cc58be85f849b4
|
||||
DIST qobine-2026.07.01.tar.gz 7561344 BLAKE2B 4917b0b2c051cf5b0965b6fc5c2240160b3a508e3e74299bb45944f1bdbb245678506c66b5afe5ffe7927cdbfe1d86414ea7f769186ec0885413963b987c401b SHA512 63f91a50046f859a34b5991ea84bf345f51facd87de9fdfd8aadb1adf660d346b1af45139718c018653a4ebf3b126577f1ef754800a4494d03051f036282105a
|
||||
DIST qobuz-player-2026-05-03-crates.tar.xz 73206836 BLAKE2B 486c4b247862a0d4ec244a11dd362966b13aaa0ff6426381ef411e68815c435d0a6389ab8a565ef36fd210ea5b0da7687d3a4f59ba18e46e0f4e944dde1ad972 SHA512 f9f542e6b645ad5db705dc29daef563fadc0404899dbdb663e716390aef2caba369048842c28c4e5a10f9b95ef13b0c28fd1245b30946e7aff8bdcb30d0f6526
|
||||
DIST qobuz-player-2026-05-03.tar.gz 8440227 BLAKE2B 6e16e293b54122c1a60ba3974b1ce96369b999b332fa17831e561c4d92da76b770ed10387dc70ae8dc0b6b868ab032761f2f4e8e39fa70b21a9e18ed2a3b8dd1 SHA512 f4cf19e5643113c1a8c071af6f20ad4a5ebc979e925e718c1ac0567fe6e953b88229357a225910acf4f72a319052ca2a4834f1832b13c74414644937ca9e36e6
|
||||
DIST qobuz-player-2026-06-12-crates.tar.xz 73250912 BLAKE2B 6f4e8d99e172db0492bbeeb2b13ea250e105e8c2c41f05e1530d9e72b9f9f4686704909b4106d5869973d3da8a2f017da94e5e4047736a5ddf5f6e6c0c0906e8 SHA512 57f58173935c6a88d4fd0e48ec276f2aff74ddcee30d1a5c7421cc19e296502f25e330a77bbc1ab9367d69ac79d7129c316b874397681d386efe927d37dacdaf
|
||||
DIST qobuz-player-2026-06-12.tar.gz 8853094 BLAKE2B 22969c4843369ed9f91f20f68b0d50f64f9913fd5e5003368e895d43af653ce5404a475eda901c23b4fe88b2572cb36769fa55cc58d2152d812fbdbb04bc9797 SHA512 ecdc03df6ac1236237bc1fa07354ae63fb9b6fc42d89c4c8f8005ae58bfb9e70d1fee2da4e102604cf6ade97c4ce7688ae83bd48050c77852f99b73931daa78e
|
||||
DIST qobuz-player-2026-07-01-crates.tar.xz 74045172 BLAKE2B 86da9bd50610eaf8d48b4401288263889db0fabb355609a9785c888c6d9dde7c496e0759c702042d6531bdae97656f6c00fb9532ff759e6a269c3131b1249b83 SHA512 c0f230c4ae7e9594fb0dd9f473d58672a2b27efe370bc27c495aaba049f37906ae5d79e18ae884328dfd9b3a2cd6cf6db6af8097c961de45b3007025fbdeaa37
|
||||
DIST rodio-a352fb53846b47523d828b276b6d625f251aabb2.gh.tar.gz 15052657 BLAKE2B 88148261bb03c0c0daa54ee0961623db69a3fb84e6c0f8ff5b3aff98615f3d70e2d3743efa46e6e0c34e734489f7ff93cacb29d18009a295adaf6c5ba27571da SHA512 fc69172d286578cbb4970deb350d178ff570440744018f89133afdd4244a3d566e95bdacd2783189cb9d8448b542e000692110026e9291ff13c2619311ba5f72
|
||||
99
media-sound/qobine/qobine-2026.07.01.ebuild
Normal file
99
media-sound/qobine/qobine-2026.07.01.ebuild
Normal file
@@ -0,0 +1,99 @@
|
||||
# Copyright 2025-2026 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
declare -A GIT_CRATES=(
|
||||
[mpris-server]='https://github.com/SeaDve/mpris-server;f8b3f74e93910fffd0c93df687e05cf954dcdeba;mpris-server-%commit%'
|
||||
# [qonductor]='https://github.com/nickblt/qonductor;efba84c3a82042f8dca375a8b4860a96e165eed7;qonductor-%commit%'
|
||||
[rodio]='https://github.com/RustAudio/rodio;a352fb53846b47523d828b276b6d625f251aabb2;rodio-%commit%'
|
||||
[cpal]='https://github.com/RustAudio/cpal;fd3b945bffcaa493fa7cb5ceddf9db1f9330fd30;cpal-%commit%'
|
||||
)
|
||||
|
||||
RUST_MIN_VER="1.92"
|
||||
|
||||
OLD_PN="qobuz-player"
|
||||
UPSTREAM_PV="${PV//./-}"
|
||||
|
||||
inherit cargo
|
||||
|
||||
DESCRIPTION="Tui, web and rfid player for Qobuz"
|
||||
HOMEPAGE="https://github.com/SofusA/qobine"
|
||||
SRC_URI="https://github.com/SofusA/${PN}/archive/refs/tags/v${UPSTREAM_PV}.tar.gz -> ${P}.tar.gz"
|
||||
SRC_URI+=" https://github.com/gentoo-crate-dist/qobuz-player/releases/download/v${UPSTREAM_PV}/${OLD_PN}-${UPSTREAM_PV}-crates.tar.xz"
|
||||
SRC_URI+=" ${CARGO_CRATE_URIS}"
|
||||
|
||||
S="${WORKDIR}/${PN}-${UPSTREAM_PV}"
|
||||
|
||||
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"
|
||||
# The GTK feature now needs >=gui-libs/gtk-4.20 which is too much of a hassle.
|
||||
# I'll skip this feature for now because personally, I don't need it.
|
||||
# Also see: https://github.com/SofusA/qobine/issues/348#issuecomment-4368448105
|
||||
IUSE="server"
|
||||
RESTRICT="test"
|
||||
|
||||
DEPEND="
|
||||
dev-db/sqlite:3=
|
||||
dev-libs/glib
|
||||
dev-libs/openssl
|
||||
media-libs/alsa-lib
|
||||
sys-apps/dbus
|
||||
"
|
||||
# This will need to be in DEPEND when this feature will be re-enabled
|
||||
# gtk? ( gui-libs/libadwaita )
|
||||
RDEPEND="${DEPEND}"
|
||||
BDEPEND="virtual/pkgconfig"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
local rodio_path="${WORKDIR}/rodio-a352fb53846b47523d828b276b6d625f251aabb2"
|
||||
local cpal_path="${WORKDIR}/cpal-fd3b945bffcaa493fa7cb5ceddf9db1f9330fd30"
|
||||
|
||||
# Patch rodio's Cargo.toml to use local path for cpal
|
||||
sed -i \
|
||||
-e "s|cpal\s*=\s*{\s*version\s*=\s*\"[^\"]*\"|cpal = { path = \"${cpal_path}\"|" \
|
||||
-e "s|cpal\s*=\s*{\s*git\s*=\s*\"https://github.com/RustAudio/cpal\"[^}]*|cpal = { path = \"${cpal_path}\"|" \
|
||||
"${rodio_path}/Cargo.toml" || die "Failed to patch rodio Cargo.toml"
|
||||
|
||||
grep -q "cpal = { path = \"${cpal_path}\"" "${rodio_path}/Cargo.toml" \
|
||||
|| die "Failed to verify cpal patch in rodio"
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
# high magic to allow system-libs
|
||||
export LIBSQLITE3_SYS_USE_PKG_CONFIG=1
|
||||
default
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
cargo_src_compile --package connect-module
|
||||
cargo_src_compile --package disconnect-module
|
||||
use server && cargo_src_compile --package disconnect-server-module
|
||||
# use gtk && cargo_src_compile --package qobuz-player-gtk
|
||||
cargo_src_compile --package rfid-module
|
||||
cargo_src_compile --package tui-module
|
||||
cargo_src_compile --package web-module
|
||||
}
|
||||
|
||||
src_install() {
|
||||
cargo_src_install --path connect-module
|
||||
cargo_src_install --path disconnect-module
|
||||
use server && cargo_src_install --path disconnect-server-module
|
||||
# use gtk && cargo_src_install --path qobuz-player-gtk
|
||||
cargo_src_install --path rfid-module
|
||||
cargo_src_install --path tui-module
|
||||
cargo_src_install --path web-module
|
||||
|
||||
local DOCS=(
|
||||
README.md
|
||||
)
|
||||
einstalldocs
|
||||
}
|
||||
1
profiles/updates/3Q-2026
Normal file
1
profiles/updates/3Q-2026
Normal file
@@ -0,0 +1 @@
|
||||
move media-sound/qobuz-player media-sound/qobine
|
||||
Reference in New Issue
Block a user