mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-24 23:47:14 -08:00
media-sound/audacious: dropped obsolete 4.3.1
Bug: https://bugs.gentoo.org/942640 Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org>
This commit is contained in:
@@ -1,4 +1,3 @@
|
||||
DIST audacious-4.3.1.tar.bz2 630820 BLAKE2B e8885d25cce4a480ac58c5ee1874a530f4b169f264eaafb13830be17ce7e25933a2fb491ed0b86220fdb2e916ea5d7b13bca8a5ac00695ffd06e1ad8b2a6ff67 SHA512 7662a1b136c6ced346ce160a3a6b71ea5941644860466e23248a44168179118202006e8892a5bbd1f6d77730846a4644b6cb4e008af38e1117588b9f4d1521f5
|
||||
DIST audacious-4.4.1.tar.bz2 636301 BLAKE2B 875b214e3372ce000684d4e9a2868062bc0addea19ecaa652b605e1ae79d13f58f42eeb761451da682301124c54cacdb61b326a3b1855d0cc7b47c4d8983e459 SHA512 68ba1f468b540dfeec82825b19352dab785243aa3dc456d2a5acfda97601d64a11dadd2de668a1b0adab3a42e232509d60b5658f0a0047e153791ab9318f2b76
|
||||
DIST audacious-4.4.2.tar.bz2 636838 BLAKE2B 6e0b4e099660249d3631091e6c38e2b2ad40e2fafeb9e85bb365134fe1c28f128f294bdeadf50643329569c21475fc6d0da8e41fb9839cff0131ddce61597c72 SHA512 a1a561ac969863555aa349c068d85398bc6e58c3f11b74842799c7ed1287a826bd6ce9624421b9da47354a632d2e0ccb8326de27c0730028d98dd85fa0c061c1
|
||||
DIST gentoo_ice-xmms-0.2.tar.bz2 51839 BLAKE2B d3bf8dbfee675dd588bc0258f1015c76877b6b0a3835813d8e9621d149b924aaa33544d07f7ad44a01c058d41d7480b3908b0773c124af33b6e020c376b13d54 SHA512 e863a8f86073007c47ce8c20739aae4bff22e22a7ddc11556b12ae6ebb68654cec7310fdc9d05f2c47f81cf2591fe601b2eb12a2fd911c0a6118c9f3cc524f05
|
||||
|
||||
@@ -1,71 +0,0 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
MY_P="${P/_/-}"
|
||||
|
||||
inherit xdg
|
||||
|
||||
DESCRIPTION="Lightweight and versatile audio player"
|
||||
HOMEPAGE="https://audacious-media-player.org/"
|
||||
SRC_URI="https://distfiles.audacious-media-player.org/${MY_P}.tar.bz2"
|
||||
SRC_URI+=" mirror://gentoo/gentoo_ice-xmms-0.2.tar.bz2"
|
||||
|
||||
KEYWORDS="amd64 ~riscv x86"
|
||||
LICENSE="BSD-2"
|
||||
SLOT="0"
|
||||
IUSE="nls"
|
||||
|
||||
BDEPEND="
|
||||
virtual/pkgconfig
|
||||
nls? ( dev-util/intltool )
|
||||
"
|
||||
DEPEND="
|
||||
dev-libs/glib:2
|
||||
dev-qt/qtcore:5
|
||||
dev-qt/qtgui:5
|
||||
dev-qt/qtwidgets:5
|
||||
virtual/freedesktop-icon-theme
|
||||
"
|
||||
RDEPEND="${DEPEND}"
|
||||
PDEPEND="~media-plugins/audacious-plugins-${PV}"
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${PN}-enum-backporting.patch
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
if ! use nls; then
|
||||
sed -e "/SUBDIRS/s/ po//" -i Makefile || die "failed to sed" # bug #512698
|
||||
fi
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
# D-Bus is a mandatory dependency, remote control,
|
||||
# session management and some plugins depend on this.
|
||||
# Building without D-Bus is *unsupported* and a USE-flag
|
||||
# will not be added due to the bug reports that will result.
|
||||
# Bugs #197894, #199069, #207330, #208606
|
||||
local myeconfargs=(
|
||||
--disable-valgrind
|
||||
--disable-gtk
|
||||
--enable-dbus
|
||||
--enable-qt
|
||||
$(use_enable nls)
|
||||
)
|
||||
econf "${myeconfargs[@]}"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
|
||||
# Gentoo_ice skin installation; bug #109772
|
||||
insinto /usr/share/audacious/Skins/gentoo_ice
|
||||
doins -r "${WORKDIR}"/gentoo_ice/.
|
||||
docinto gentoo_ice
|
||||
dodoc "${WORKDIR}"/README
|
||||
}
|
||||
@@ -1,35 +0,0 @@
|
||||
From 3989bafcb7a8843cef4e25875cd6c0e72680ad80 Mon Sep 17 00:00:00 2001
|
||||
From: Guido Falsi <mad@madpilot.net>
|
||||
Date: Wed, 28 Jun 2023 15:42:37 +0200
|
||||
Subject: [PATCH] Add missing enum value.
|
||||
|
||||
New versions of the clang compiler have strict checks for enum values.
|
||||
|
||||
The value "-1" is returned as a last resort from to_vfs_seek_type() as a VFSSeekType.
|
||||
|
||||
Replace usage of `-1` with the new enum name.
|
||||
---
|
||||
src/libaudcore/vfs.h | 3 ++-
|
||||
1 file changed, 2 insertions(+), 1 deletion(-)
|
||||
|
||||
diff --git a/src/libaudcore/vfs.h b/src/libaudcore/vfs.h
|
||||
index 33c5a65c97..f6a1dd3f23 100644
|
||||
--- a/src/libaudcore/vfs.h
|
||||
+++ b/src/libaudcore/vfs.h
|
||||
@@ -51,6 +51,7 @@ enum VFSReadOptions
|
||||
|
||||
enum VFSSeekType
|
||||
{
|
||||
+ VFS_SEEK_INVALID = -1,
|
||||
VFS_SEEK_SET = 0,
|
||||
VFS_SEEK_CUR = 1,
|
||||
VFS_SEEK_END = 2
|
||||
@@ -75,7 +76,7 @@ constexpr VFSSeekType to_vfs_seek_type(int whence)
|
||||
? VFS_SEEK_SET
|
||||
: (whence == SEEK_CUR)
|
||||
? VFS_SEEK_CUR
|
||||
- : (whence == SEEK_END) ? VFS_SEEK_END : (VFSSeekType)-1;
|
||||
+ : (whence == SEEK_END) ? VFS_SEEK_END : VFS_SEEK_INVALID;
|
||||
}
|
||||
|
||||
#endif // WANT_VFS_STDIO_COMPAT
|
||||
Reference in New Issue
Block a user