mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-15 18:13:10 -04:00
media-sound/fooyin: add 0.9.0
Signed-off-by: Sebastian Engel <sighunter@gmx.de>
This commit is contained in:
@@ -1,2 +1,3 @@
|
||||
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
|
||||
DIST fooyin-0.9.0.tar.gz 2072970 BLAKE2B 0853a2ef34053764e1e8783e54f1b015fe9575d7302cd12f5c3112a0423a2ed1f2c6ade128e71ea478ca2dfcc58e12249e7be068960ccd186be75fbd426b6d1c SHA512 be7958d32a08e51d16cd3cac28532b82aab840e17f3a73135dae4ea76d215941a49486e4f5daffca18b9de26f6fd9c163f2af9bb73cfefc823a64d38f229bbe8
|
||||
|
||||
95
media-sound/fooyin/fooyin-0.9.0.ebuild
Normal file
95
media-sound/fooyin/fooyin-0.9.0.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