From: "YiFei Zhu" <zhuyifei1999@gmail.com>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/proj/guru:dev commit in: media-sound/musikcube/
Date: Sun, 24 Sep 2023 22:29:15 +0000 (UTC) [thread overview]
Message-ID: <1695594538.c78a7b59498b1abbe921e8d6c1ef52c22abd8492.zhuyifei1999@gentoo> (raw)
commit: c78a7b59498b1abbe921e8d6c1ef52c22abd8492
Author: YiFei Zhu <zhuyifei1999 <AT> gmail <DOT> com>
AuthorDate: Sun Sep 24 22:26:45 2023 +0000
Commit: YiFei Zhu <zhuyifei1999 <AT> gmail <DOT> com>
CommitDate: Sun Sep 24 22:28:58 2023 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=c78a7b59
media-sound/musikcube: add 3.0.2
Signed-off-by: YiFei Zhu <zhuyifei1999 <AT> gmail.com>
media-sound/musikcube/Manifest | 1 +
media-sound/musikcube/musikcube-3.0.2.ebuild | 98 ++++++++++++++++++++++++++++
2 files changed, 99 insertions(+)
diff --git a/media-sound/musikcube/Manifest b/media-sound/musikcube/Manifest
index e6427367e9..0ce1f179d3 100644
--- a/media-sound/musikcube/Manifest
+++ b/media-sound/musikcube/Manifest
@@ -1 +1,2 @@
DIST musikcube-3.0.1.tar.gz 4759002 BLAKE2B c312067fefaeaeb1c56b15fdcc83e1a73be648d88db54dc43d5c0f3e2ed1f226480612461b7239087ebfadcbcc38ed432622873fc40d3739daca1d32d19bea7f SHA512 ff18b69bf9a295925ede561c80a66f3fce7c00fdc29906a39e89b520c49467ddaa88cb69406a8bd012eaa851716b6515e93a5a0d0f75f2f24e64ced3fef4b9c7
+DIST musikcube-3.0.2.tar.gz 4800648 BLAKE2B 64672127c90b6bfcc4e3dcb700b9fede0b88ac8d9dc3b2bd84f666b8ed000f9185a0622f06548b29ff03e143e1a49461d3b51727fddce189569a97904d834dc4 SHA512 33d7fa0768c235afa2d877fb2bd3523f47c2fcf1bd500daabbd3755645439c51a1d477e8e8fe7f2a6aba451121b0d600e413fa0a491da9947a4dff7cb0430d82
diff --git a/media-sound/musikcube/musikcube-3.0.2.ebuild b/media-sound/musikcube/musikcube-3.0.2.ebuild
new file mode 100644
index 0000000000..f03889ccf1
--- /dev/null
+++ b/media-sound/musikcube/musikcube-3.0.2.ebuild
@@ -0,0 +1,98 @@
+# Copyright 2023 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:=
+ sys-libs/zlib:=
+ media-libs/libvorbis
+ net-misc/curl
+ media-sound/lame
+ dev-libs/libev
+ media-libs/taglib
+ dev-cpp/asio
+ 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/cmake
+ 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
+}
next reply other threads:[~2023-09-24 22:29 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-09-24 22:29 YiFei Zhu [this message]
-- strict thread matches above, loose matches on Subject: below --
2025-01-01 5:53 [gentoo-commits] repo/proj/guru:dev commit in: media-sound/musikcube/ YiFei Zhu
2024-07-06 3:26 YiFei Zhu
2023-06-14 11:42 YiFei Zhu
2023-06-13 9:12 YiFei Zhu
2023-06-12 7:32 YiFei Zhu
2023-06-11 8:22 YiFei Zhu
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1695594538.c78a7b59498b1abbe921e8d6c1ef52c22abd8492.zhuyifei1999@gentoo \
--to=zhuyifei1999@gmail.com \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox