mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-04-07 03:10:15 -04:00
media-sound/fooyin: drop 0.9.2-r1 and unused patches
Signed-off-by: Sebastian Engel <sighunter@gmx.de>
This commit is contained in:
@@ -1,4 +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.10.2.tar.gz 3049026 BLAKE2B ea061adb579c2ec2dfc07ce589419bbccf942aa99007390f993f068999f9614cbf7111c1866967c281badc71f40fcf006d6ee1b4952d0e19aa209584e1da4691 SHA512 7756165b1881ee779f6c0069c9c2bd4d2ce59c914048ce716923b7c872ecb5e5a35d58d3aa13ca795c936ae3097666cbb09192a4606c2167997bc2169b30232c
|
||||
DIST fooyin-0.9.2.tar.gz 2103435 BLAKE2B 77a3b290088a50d4d1757e10d66d0942245bc340d277e3292d2132221160b2f731978907c0e88bbfb7c706dd6b42ac630027f9e92fe19fbbeff47d541f3f2640 SHA512 328b30277ad2dba081e90bfeb6d0122098a83627f6787c6c986ce4b214f94ee22a65d2f94cc391a2652b2cc77f66a88e4dfa5e714e3f862aed6384b7943f09ea
|
||||
|
||||
@@ -1,13 +0,0 @@
|
||||
diff --git a/src/utils/starrating.cpp b/src/utils/starrating.cpp
|
||||
index 1e71e181..9c96e95e 100644
|
||||
--- a/src/utils/starrating.cpp
|
||||
+++ b/src/utils/starrating.cpp
|
||||
@@ -104,7 +104,7 @@ void StarRating::paint(QPainter* painter, const QRect& rect, const QPalette& pal
|
||||
.arg(m_maxCount)
|
||||
.arg(mode == EditMode::Editable ? 1 : 0)
|
||||
.arg(rect.width())
|
||||
- .arg(alignment);
|
||||
+ .arg(alignment.toInt());
|
||||
|
||||
QPixmap pixmap;
|
||||
if(!QPixmapCache::find(cacheKey, &pixmap)) {
|
||||
@@ -1,22 +0,0 @@
|
||||
From 7b171c0da2b9289468696424fe51f76e1c365bb5 Mon Sep 17 00:00:00 2001
|
||||
From: rathann <dominik@greysector.net>
|
||||
Date: Tue, 7 Oct 2025 00:27:19 +0200
|
||||
Subject: [PATCH] [vumeter] Add missing header include for QElapsedTimer (#725)
|
||||
|
||||
Fixes #724
|
||||
---
|
||||
src/plugins/vumeter/vumeterwidget.cpp | 1 +
|
||||
1 file changed, 1 insertion(+)
|
||||
|
||||
diff --git a/src/plugins/vumeter/vumeterwidget.cpp b/src/plugins/vumeter/vumeterwidget.cpp
|
||||
index 786f24b5b..2834a3e19 100644
|
||||
--- a/src/plugins/vumeter/vumeterwidget.cpp
|
||||
+++ b/src/plugins/vumeter/vumeterwidget.cpp
|
||||
@@ -33,6 +33,7 @@
|
||||
#include <QActionGroup>
|
||||
#include <QBasicTimer>
|
||||
#include <QContextMenuEvent>
|
||||
+#include <QElapsedTimer>
|
||||
#include <QJsonObject>
|
||||
#include <QMenu>
|
||||
#include <QPainter>
|
||||
@@ -1,101 +0,0 @@
|
||||
# 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 )
|
||||
"
|
||||
PATCHES=(
|
||||
# https://github.com/fooyin/fooyin/issues/779
|
||||
"${FILESDIR}/${PN}-0.9.2-fix-build-Qt6.10.1.patch"
|
||||
# https://github.com/fooyin/fooyin/issues/724
|
||||
"${FILESDIR}/${PN}-0.9.2-vumeter-include.patch"
|
||||
)
|
||||
|
||||
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