commit: c16de723b94d10bf0ac2647b1ae3fafa9727bd57 Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> AuthorDate: Thu Feb 12 22:52:24 2026 +0000 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> CommitDate: Thu Feb 12 22:55:02 2026 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c16de723
media-sound/yarock: Drop IUSE vlc Closes: https://bugs.gentoo.org/957913 Closes: https://bugs.gentoo.org/957914 Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org> media-sound/yarock/yarock-1.5.1-r1.ebuild | 49 +++++++++++++++++++++++++++++++ 1 file changed, 49 insertions(+) diff --git a/media-sound/yarock/yarock-1.5.1-r1.ebuild b/media-sound/yarock/yarock-1.5.1-r1.ebuild new file mode 100644 index 000000000000..733fd950af21 --- /dev/null +++ b/media-sound/yarock/yarock-1.5.1-r1.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit cmake xdg + +DESCRIPTION="Qt-based music player" +HOMEPAGE="https://github.com/sebaro/Yarock" +SRC_URI="https://github.com/sebaro/Yarock/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz" +S="${WORKDIR}/${PN^}-${PV}" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64" +IUSE="mpv +qtmedia" + +REQUIRED_USE="|| ( mpv qtmedia )" + +RDEPEND=" + dev-cpp/htmlcxx + dev-qt/qtbase:6[dbus,gui,network,sql,sqlite,widgets,xml] + media-libs/taglib:= + x11-libs/libX11 + mpv? ( media-video/mpv:=[libmpv] ) + !mpv? ( dev-qt/qtmultimedia:6 ) +" +DEPEND="${RDEPEND} + dev-qt/qtbase:6[concurrent] +" +BDEPEND="dev-qt/qttools:6[linguist]" + +DOCS=( CHANGES.md README.md ) + +src_prepare() { + rm -r src/shortcuts || die # bug 957913, not actually used + cmake_src_prepare +} + +src_configure() { + local mycmakeargs=( + -DENABLE_PHONON=OFF + -DENABLE_VLC=OFF + -DENABLE_MPV=$(usex mpv) + -DENABLE_QTMULTIMEDIA=$(usex qtmedia) + ) + + cmake_src_configure +}
