media-sound/musikcube: add 3.0.5, drop 3.0.2 & 3.0.4

Closes: https://bugs.gentoo.org/967727
Signed-off-by: YiFei Zhu <zhuyifei1999@gmail.com>
This commit is contained in:
YiFei Zhu
2026-01-05 20:36:58 -08:00
parent c1525f51a0
commit 4b6d5aa63f
3 changed files with 3 additions and 101 deletions

View File

@@ -1,2 +1 @@
DIST musikcube-3.0.2.tar.gz 4800648 BLAKE2B 64672127c90b6bfcc4e3dcb700b9fede0b88ac8d9dc3b2bd84f666b8ed000f9185a0622f06548b29ff03e143e1a49461d3b51727fddce189569a97904d834dc4 SHA512 33d7fa0768c235afa2d877fb2bd3523f47c2fcf1bd500daabbd3755645439c51a1d477e8e8fe7f2a6aba451121b0d600e413fa0a491da9947a4dff7cb0430d82
DIST musikcube-3.0.4.tar.gz 4827124 BLAKE2B 221a23f7552adb8cb07f644d71b90e0098df37be54bbe4f3ef24577065d724fd9545977c9635ba7083168238200bda130e800f1c8ef562e81372f5062e363711 SHA512 9ff90d061bd1099959fe784178b74edf0eec068ee1b172d7709e1be07e3cdf9b17258759c7f2a3164b92c55d66b18cdc4b0fc7623b677b1c6d8c393e91cc3338
DIST musikcube-3.0.5.tar.gz 4891353 BLAKE2B 936fce16239bc543c04acec189cd6fa26b71fef77f9256bbf18624d4c90dd5d5d6aee44091df4e116c47c7681f013c9ba9f7ba39d6ed2e7c10c8a0258375471d SHA512 01456eaae357f8bd463b0ece7a1aa3f23882a2cd269660adfc54f88d52c3fe8119f1993bbc82fbdd6ad39758b98800241b0118329791813c37d43ca2d4592282

View File

@@ -1,97 +0,0 @@
# Copyright 2023-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit cmake
DESCRIPTION="Excellent terminal music player, support almost every known sound system."
HOMEPAGE="https://github.com/clangen/musikcube"
SRC_URI="https://github.com/clangen/${PN}/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64"
IUSE="+alsa +libopenmpt pipewire pulseaudio +mpris portaudio sndio systemd elogind basu"
REQUIRED_USE="
mpris? ( ^^ ( systemd elogind basu ) )
"
DEPEND="
net-libs/libmicrohttpd:=
sys-libs/ncurses:=
media-libs/libogg
<media-video/ffmpeg-7.0:=
virtual/zlib:=
media-libs/libvorbis
net-misc/curl
dev-libs/openssl:=
media-sound/lame
dev-libs/libev
<media-libs/taglib-2.0
<dev-cpp/asio-1.33.0
libopenmpt? (
media-libs/libopenmpt
media-sound/mpg123
)
mpris? (
|| (
elogind? ( >=sys-auth/elogind-239 )
systemd? ( sys-apps/systemd )
basu? ( sys-libs/basu )
)
)
pipewire? (
media-video/pipewire:=
)
portaudio? (
media-libs/portaudio
)
pulseaudio? (
media-libs/libpulse
)
sndio? (
media-sound/sndio:=
)
alsa? (
media-libs/alsa-lib
)
"
RDEPEND="${DEPEND}"
BDEPEND="dev-util/patchelf"
PATCHES=(
"${FILESDIR}/musikcube-3.0.1-tinfow.patch"
)
src_configure() {
# Gentoo users enable ccache via e.g. FEATURES=ccache or
# other means. We don't want the build system to enable it for us.
sed -i -e '/find_program(CCACHE_FOUND ccache)/d' CMakeLists.txt || die
use mpris || sed -i '/pkg_check_modules.*SDBUS/d' src/plugins/mpris/CMakeLists.txt || die
local mycmakeargs=(
$(usex alsa '' -DLIBASOUND=LIBASOUND-NOTFOUND)
-DENABLE_PIPEWIRE=$(usex pipewire true false)
$(usex pulseaudio '' -DLIBPULSE=LIBPULSE-NOTFOUND)
$(usex portaudio '' -DLIBPORTAUDIO=LIBPORTAUDIO-NOTFOUND)
$(usex libopenmpt '' -DLIBOPENMPT=LIBOPENMPT-NOTFOUND)
$(usex sndio '' -DLIBSNDIO=LIBSNDIO-NOTFOUND)
-DBUILD_STANDALONE=false
)
if use mpris; then
if use elogind; then
mycmakeargs+=( -DUSE_ELOGIND=true )
fi
if use basu; then
mycmakeargs+=( -DUSE_BASU=true )
fi
fi
cmake_src_configure
}

View File

@@ -1,4 +1,4 @@
# Copyright 2023-2025 Gentoo Authors
# Copyright 2023-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -30,7 +30,7 @@ DEPEND="
media-sound/lame
dev-libs/libev
media-libs/taglib
<dev-cpp/asio-1.33.0
dev-cpp/asio
libopenmpt? (
media-libs/libopenmpt
media-sound/mpg123