mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-09 23:23:00 -04:00
media-sound/fooyin: add 0.9.2
Signed-off-by: Sebastian Engel <sighunter@gmx.de>
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
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
|
||||
DIST fooyin-0.9.2.tar.gz 2103435 BLAKE2B 77a3b290088a50d4d1757e10d66d0942245bc340d277e3292d2132221160b2f731978907c0e88bbfb7c706dd6b42ac630027f9e92fe19fbbeff47d541f3f2640 SHA512 328b30277ad2dba081e90bfeb6d0122098a83627f6787c6c986ce4b214f94ee22a65d2f94cc391a2652b2cc77f66a88e4dfa5e714e3f862aed6384b7943f09ea
|
||||
|
||||
95
media-sound/fooyin/fooyin-0.9.2.ebuild
Normal file
95
media-sound/fooyin/fooyin-0.9.2.ebuild
Normal file
@@ -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
|
||||
}
|
||||
Reference in New Issue
Block a user