media-sound/fooyin: add 0.6.2
Signed-off-by: SigHunter <sighunter@gmx.de>
This commit is contained in:
parent
87130583a3
commit
f9534d85ec
@ -1,2 +1,3 @@
|
|||||||
DIST fooyin-0.5.3.tar.gz 4345101 BLAKE2B 351fc8337d424a2a8abeea33979645862208e150bd06b638a9e5c5f02c52299707935208c1f4b9f1c4876e702924f1701251e2158e1f22d50f65363ff137c137 SHA512 61356c0db34eee3a939a86fc867690f3c2389bb6a235b2e06975ce1bc83221bb8f8e9b684269510518147d5b4d203645db1bba96d574fcf01a16ec3b5222f47c
|
DIST fooyin-0.5.3.tar.gz 4345101 BLAKE2B 351fc8337d424a2a8abeea33979645862208e150bd06b638a9e5c5f02c52299707935208c1f4b9f1c4876e702924f1701251e2158e1f22d50f65363ff137c137 SHA512 61356c0db34eee3a939a86fc867690f3c2389bb6a235b2e06975ce1bc83221bb8f8e9b684269510518147d5b4d203645db1bba96d574fcf01a16ec3b5222f47c
|
||||||
DIST fooyin-0.6.1.tar.gz 4570533 BLAKE2B a9219d4e518cea13376e80207b544e419e6acf45e1695cec5b56ade9bf2dc9611d533df6fb700898c1cc7197b0abdbf087fee36659bbeb2220038a5021c3eb88 SHA512 162414e4e67dbfa5ba05e30cff0b051e9063425035c85c03b8b0cee64c61701145d091e7a1e7090f839d51318694639b25334ce463f8192df726e98e0c946296
|
DIST fooyin-0.6.1.tar.gz 4570533 BLAKE2B a9219d4e518cea13376e80207b544e419e6acf45e1695cec5b56ade9bf2dc9611d533df6fb700898c1cc7197b0abdbf087fee36659bbeb2220038a5021c3eb88 SHA512 162414e4e67dbfa5ba05e30cff0b051e9063425035c85c03b8b0cee64c61701145d091e7a1e7090f839d51318694639b25334ce463f8192df726e98e0c946296
|
||||||
|
DIST fooyin-0.6.2.tar.gz 4598582 BLAKE2B 65c36c98f4a56376502d6608e5fc770c2a9bf75ee36d0537135d80c9401286548dd11effae4a4242d0b78407c72f4a1bb8ba241b65b85060c49068243a107a1c SHA512 9f283bf69fa87f105efe35fb1d0a8d361d036ff6afb959cbcd17b315e9aab336c17738999055d04390e8e6b55ac206b08894cc124824019fa5dc95c8aa17fbd0
|
||||||
|
75
media-sound/fooyin/fooyin-0.6.2.ebuild
Normal file
75
media-sound/fooyin/fooyin-0.6.2.ebuild
Normal file
@ -0,0 +1,75 @@
|
|||||||
|
# Copyright 2024 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 pipewire sdl 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]
|
||||||
|
media-libs/taglib
|
||||||
|
media-video/ffmpeg:=
|
||||||
|
alsa? ( media-libs/alsa-lib )
|
||||||
|
pipewire? ( media-video/pipewire:= )
|
||||||
|
sdl? ( media-libs/libsdl2 )
|
||||||
|
"
|
||||||
|
DEPEND="${RDEPEND}"
|
||||||
|
BDEPEND="
|
||||||
|
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
|
||||||
|
}
|
||||||
|
|
||||||
|
src_configure() {
|
||||||
|
local mycmakeargs=(
|
||||||
|
-DBUILD_TESTING=$(usex test)
|
||||||
|
-DBUILD_CCACHE=OFF
|
||||||
|
-DBUILD_LIBVGM=OFF
|
||||||
|
-DINSTALL_HEADERS=ON
|
||||||
|
$(cmake_use_find_package alsa ALSA)
|
||||||
|
$(cmake_use_find_package pipewire PipeWire)
|
||||||
|
$(cmake_use_find_package sdl SDL2)
|
||||||
|
)
|
||||||
|
|
||||||
|
cmake_src_configure
|
||||||
|
}
|
||||||
|
|
||||||
|
src_test() {
|
||||||
|
local CMAKE_SKIP_TESTS=(
|
||||||
|
# TODO: figure out why these tests fail to find their test data
|
||||||
|
TagReaderTest.*
|
||||||
|
TagWriterTest.*
|
||||||
|
)
|
||||||
|
|
||||||
|
cmake_src_test
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user