From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 5A7DD158074 for ; Mon, 23 Jun 2025 18:19:10 +0000 (UTC) Received: from lists.gentoo.org (bobolink.gentoo.org [140.211.166.189]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: relay-lists.gentoo.org@gentoo.org) by smtp.gentoo.org (Postfix) with ESMTPSA id 475A3340F71 for ; Mon, 23 Jun 2025 18:19:10 +0000 (UTC) Received: from bobolink.gentoo.org (localhost [127.0.0.1]) by bobolink.gentoo.org (Postfix) with ESMTP id 3F5B4110552; Mon, 23 Jun 2025 18:19:09 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by bobolink.gentoo.org (Postfix) with ESMTPS id 34D99110552 for ; Mon, 23 Jun 2025 18:19:09 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id D57FC340F71 for ; Mon, 23 Jun 2025 18:19:08 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 48A3E29FC for ; Mon, 23 Jun 2025 18:19:07 +0000 (UTC) From: "Sebastian Engel" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sebastian Engel" Message-ID: <1750702284.848aa9aa9d53c0a833f7d6be7c5801ad5e9d7cad.sighunter@gentoo> Subject: [gentoo-commits] repo/proj/guru:dev commit in: media-sound/fooyin/ X-VCS-Repository: repo/proj/guru X-VCS-Files: media-sound/fooyin/Manifest media-sound/fooyin/fooyin-0.8.1_p20250622.ebuild X-VCS-Directories: media-sound/fooyin/ X-VCS-Committer: sighunter X-VCS-Committer-Name: Sebastian Engel X-VCS-Revision: 848aa9aa9d53c0a833f7d6be7c5801ad5e9d7cad X-VCS-Branch: dev Date: Mon, 23 Jun 2025 18:19:07 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 93298235-eb72-4b06-b6c0-2b373258f106 X-Archives-Hash: 87d96ad681b2a46df0e6cf05e2dc2a4e commit: 848aa9aa9d53c0a833f7d6be7c5801ad5e9d7cad Author: Sebastian Engel gmx de> AuthorDate: Sun Jun 22 20:25:44 2025 +0000 Commit: Sebastian Engel gmx de> CommitDate: Mon Jun 23 18:11:24 2025 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=848aa9aa media-sound/fooyin: add 0.8.1_p20250622 Fix build with Qt 6.9 Fix build with USE=sndfile Signed-off-by: Sebastian Engel gmx.de> media-sound/fooyin/Manifest | 1 + media-sound/fooyin/fooyin-0.8.1_p20250622.ebuild | 89 ++++++++++++++++++++++++ 2 files changed, 90 insertions(+) diff --git a/media-sound/fooyin/Manifest b/media-sound/fooyin/Manifest index 43dfc70ab5..7de9ad0d44 100644 --- a/media-sound/fooyin/Manifest +++ b/media-sound/fooyin/Manifest @@ -1 +1,2 @@ DIST fooyin-0.8.1.tar.gz 1743303 BLAKE2B aa393dea6eca447320782fd4b766cda9cf6379150eb80451dfe63707fa51b48605daf082abf6e041da7bf5c384ee702d109f915daf4872f1dec927f0705958e3 SHA512 0204d7fe713d0f4f2602b56d51c7808fd4d14fae8405e77ceabb76cb64201a54a20411395fd648b333782889730e77525f96a20293dd7feb68db2b65973c7d3e +DIST fooyin-0.8.1_p20250622.tar.gz 1924840 BLAKE2B 5125e3d5e5568f9a9a1808b0c6112d99aab2c67a1283b843a9ba326fe8ad1a0330e65a974266b608c9ecab2e45279b653bb75e5487d85ede98b53a6613ff5e8b SHA512 207c7f8d2a68387e61bc65ca6ab380382927702affea5db883e37a93ed00f1c428adc5a25dbaef9fa47af32aec83ea7e13708dd45507889b7f010d02b1f1ea62 diff --git a/media-sound/fooyin/fooyin-0.8.1_p20250622.ebuild b/media-sound/fooyin/fooyin-0.8.1_p20250622.ebuild new file mode 100644 index 0000000000..d8d5382db2 --- /dev/null +++ b/media-sound/fooyin/fooyin-0.8.1_p20250622.ebuild @@ -0,0 +1,89 @@ +# Copyright 2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit cmake xdg + +COMMIT="8303633a2d11bad54ab54d2b64b31ca03bac6ab3" + +DESCRIPTION="A customizable music player, Qt clone of foobar2000" +HOMEPAGE="https://www.fooyin.org/" +SRC_URI="https://github.com/fooyin/fooyin/archive/${COMMIT}.tar.gz -> ${P}.tar.gz" +S="${WORKDIR}/${PN}-${COMMIT}" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64" + +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 +}