public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "David Roman" <davidroman96@gmail.com>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/proj/guru:master commit in: media-sound/fooyin/
Date: Mon, 18 Aug 2025 10:44:09 +0000 (UTC)	[thread overview]
Message-ID: <1755507411.83026c9ae71e25a903ddb1019b7cbb6f4bcd17aa.davidroman@gentoo> (raw)

commit:     83026c9ae71e25a903ddb1019b7cbb6f4bcd17aa
Author:     Sebastian Engel <sighunter <AT> gmx <DOT> de>
AuthorDate: Mon Aug 18 08:56:51 2025 +0000
Commit:     David Roman <davidroman96 <AT> gmail <DOT> com>
CommitDate: Mon Aug 18 08:56:51 2025 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=83026c9a

media-sound/fooyin: add 0.9.1

Signed-off-by: Sebastian Engel <sighunter <AT> gmx.de>

 media-sound/fooyin/Manifest            |  1 +
 media-sound/fooyin/fooyin-0.9.1.ebuild | 95 ++++++++++++++++++++++++++++++++++
 2 files changed, 96 insertions(+)

diff --git a/media-sound/fooyin/Manifest b/media-sound/fooyin/Manifest
index 73ab7220e8..8b6e837815 100644
--- a/media-sound/fooyin/Manifest
+++ b/media-sound/fooyin/Manifest
@@ -1,2 +1,3 @@
 DIST fooyin-0.8.1_p20250622.tar.gz 1924840 BLAKE2B 5125e3d5e5568f9a9a1808b0c6112d99aab2c67a1283b843a9ba326fe8ad1a0330e65a974266b608c9ecab2e45279b653bb75e5487d85ede98b53a6613ff5e8b SHA512 207c7f8d2a68387e61bc65ca6ab380382927702affea5db883e37a93ed00f1c428adc5a25dbaef9fa47af32aec83ea7e13708dd45507889b7f010d02b1f1ea62
 DIST fooyin-0.9.0.tar.gz 2072970 BLAKE2B 0853a2ef34053764e1e8783e54f1b015fe9575d7302cd12f5c3112a0423a2ed1f2c6ade128e71ea478ca2dfcc58e12249e7be068960ccd186be75fbd426b6d1c SHA512 be7958d32a08e51d16cd3cac28532b82aab840e17f3a73135dae4ea76d215941a49486e4f5daffca18b9de26f6fd9c163f2af9bb73cfefc823a64d38f229bbe8
+DIST fooyin-0.9.1.tar.gz 2073297 BLAKE2B 5165c03ae9f11f154f7ee4e0d99b5de90d7b59e9175eaea1612f66adc607a7dd324b4175192a93a83d3f1bf55289733f0df3dea5647d1de9c45039cb81b877da SHA512 8f709289e7f436cbfda56e2dc7553351444d871c70e9c7efcd33f6df8006aaa668df7a00c5594153dd902de696c6fde28d731d25f2e08edfd456b3c31fe57db0

diff --git a/media-sound/fooyin/fooyin-0.9.1.ebuild b/media-sound/fooyin/fooyin-0.9.1.ebuild
new file mode 100644
index 0000000000..b980b565c9
--- /dev/null
+++ b/media-sound/fooyin/fooyin-0.9.1.ebuild
@@ -0,0 +1,95 @@
+# Copyright 2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake xdg
+
+DESCRIPTION="A customizable music player, Qt clone of foobar2000"
+HOMEPAGE="https://www.fooyin.org/"
+
+if [[ ${PV} == *9999* ]]; then
+	inherit git-r3
+	EGIT_REPO_URI="https://github.com/fooyin/fooyin.git"
+else
+	SRC_URI="
+		https://github.com/fooyin/fooyin/archive/refs/tags/v${PV}.tar.gz
+			-> ${P}.tar.gz
+	"
+	KEYWORDS="~amd64"
+fi
+
+LICENSE="GPL-3"
+SLOT="0"
+
+IUSE="alsa +archive openmpt +pipewire +replaygain sdl sndfile test"
+RESTRICT="!test? ( test )"
+REQUIRED_USE="
+	|| ( alsa pipewire sdl )
+"
+
+RDEPEND="
+	dev-libs/icu:=
+	dev-libs/kdsingleapplication
+	dev-qt/qtbase:6[concurrent,dbus,gui,network,sql,widgets]
+	dev-qt/qtimageformats:6
+	dev-qt/qtsvg:6
+	media-libs/taglib:=
+	media-video/ffmpeg:=
+	alsa? ( media-libs/alsa-lib )
+	archive? ( app-arch/libarchive:= )
+	openmpt? ( media-libs/libopenmpt )
+	pipewire? ( media-video/pipewire:= )
+	replaygain? ( media-libs/libebur128:= )
+	sdl? ( media-libs/libsdl2 )
+	sndfile? ( media-libs/libsndfile )
+"
+DEPEND="${RDEPEND}"
+BDEPEND="
+	dev-qt/qttools:6[linguist]
+	test? ( dev-cpp/gtest )
+"
+
+src_prepare() {
+	sed -i CMakeLists.txt \
+		-e "s|/doc/${PN}|/doc/${PF}|g" \
+		-e '/option(BUILD_TESTING/aenable_testing()' \
+		|| die
+
+	sed \
+		-e "s#:/audio#data/audio#g" \
+		-i \
+			tests/tagwritertest.cpp \
+			tests/tagreadertest.cpp \
+		|| die
+
+	cmake_src_prepare
+}
+
+# libvgm and libgme dependencies can currently not be satisfied,
+# so building their input plugins is unconditionally disabled for now.
+src_configure() {
+	local mycmakeargs=(
+		-DBUILD_ALSA=$(usex alsa)
+		-DBUILD_TESTING=$(usex test)
+		-DBUILD_CCACHE=OFF
+		-DBUILD_LIBVGM=OFF
+		-DCMAKE_DISABLE_FIND_PACKAGE_LIBGME=ON
+		-DINSTALL_HEADERS=ON
+		$(cmake_use_find_package archive LibArchive)
+		$(cmake_use_find_package openmpt OpenMpt)
+		$(cmake_use_find_package pipewire PipeWire)
+		$(cmake_use_find_package replaygain Ebur128)
+		$(cmake_use_find_package sdl SDL2)
+		$(cmake_use_find_package sndfile SndFile)
+	)
+
+	cmake_src_configure
+}
+
+src_test() {
+	mkdir -p "${BUILD_DIR}/tests/data" || die
+	ln -sr "${CMAKE_USE_DIR}/tests/data/audio" "${BUILD_DIR}/tests/data/audio" || die
+
+	cmake_src_test
+}


             reply	other threads:[~2025-08-18 10:44 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-08-18 10:44 David Roman [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-08-18 10:44 [gentoo-commits] repo/proj/guru:master commit in: media-sound/fooyin/ David Roman
2025-08-18 10:44 David Roman
2025-08-18 10:44 David Roman
2025-06-17 12:35 David Roman
2024-10-29 14:06 David Roman
2024-10-15 23:27 David Roman
2024-10-15 23:27 David Roman
2024-10-15 23:27 David Roman
2024-09-29 18:00 David Roman
2024-09-29 18:00 David Roman
2024-09-27 11:41 David Roman
2024-09-20 19:26 David Roman

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=1755507411.83026c9ae71e25a903ddb1019b7cbb6f4bcd17aa.davidroman@gentoo \
    --to=davidroman96@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