media-sound/fooyin: add 0.10.1

Signed-off-by: Sebastian Engel <sighunter@gmx.de>
This commit is contained in:
Sebastian Engel
2026-03-28 11:42:30 +01:00
parent d722a0beb2
commit 45469f2232
2 changed files with 82 additions and 0 deletions

View File

@@ -1,2 +1,3 @@
DIST fooyin-0.10.0.tar.gz 2994454 BLAKE2B 63c41f1a74104068a4dc7b90dcf1d42af18cb96aee2b6fa655e47659146723ca3f8f3d69a58c66f5524221cc98b42606b91a9443fd869f9fbeace4704cdbc66b SHA512 8824df2d24f77e8a912f2fd419d8adc0ec6e3b4d1556ccd5c65dab89758c5849132e20e983b8078a8a1aa13dd246fa231e261660973a1994e3f0e50138e8c080
DIST fooyin-0.10.1.tar.gz 2994344 BLAKE2B 97c000e6f15481007bb197b0a7a9f12a9e33c854ef643dd9e96e39a6a480cbe7e1f05521afb1e985e828a3e6394cfb5dbab861851e314da963a3028e2f962e71 SHA512 a2911246d26679e319c90352e2619dbad5d8f602492d8db38f83f0b15615709adf8fbe9078256b654cf06ca400eb767ddbb0b98967b05dd78df7113b79509600
DIST fooyin-0.9.2.tar.gz 2103435 BLAKE2B 77a3b290088a50d4d1757e10d66d0942245bc340d277e3292d2132221160b2f731978907c0e88bbfb7c706dd6b42ac630027f9e92fe19fbbeff47d541f3f2640 SHA512 328b30277ad2dba081e90bfeb6d0122098a83627f6787c6c986ce4b214f94ee22a65d2f94cc391a2652b2cc77f66a88e4dfa5e714e3f862aed6384b7943f09ea

View File

@@ -0,0 +1,81 @@
# Copyright 2026 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-libs/qcoro[network]
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
cmake_src_prepare
}
# libgme dependency can currently not be satisfied,
# so building the input plugin is unconditionally disabled for now
src_configure() {
local mycmakeargs=(
-DBUILD_ALSA=$(usex alsa)
-DBUILD_TESTING=$(usex test)
-DBUILD_CCACHE=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
}