media-sound/sidplayfp: bump to 2.10.0

Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org>
This commit is contained in:
Miroslav Šulc
2024-10-07 11:03:44 +02:00
parent 5374d15a95
commit 8dae322649
2 changed files with 52 additions and 0 deletions

View File

@@ -1 +1,2 @@
DIST sidplayfp-2.10.0.tar.gz 244263 BLAKE2B 62406febe1ba9074779b3ed77e5ceddea35d472eae94bfec13245ce9503c812d5cefeb0fa1d870e00380535145a031427463d58c8d1262ff8a43a2b470b58073 SHA512 7d59f21690d8219fd2d077541ffe90499f4b44b79e1fc4f43f3f048a01e935ad7b4723cd111acb9c9a287a1b8960b187a8e82463b9725a3171d98c32e391b15f
DIST sidplayfp-2.9.0.tar.gz 247965 BLAKE2B 11ff3c33360aca182886418bda8dbfb534de6c6e76b854dfaf78599ce388b5c493221cf8d0f13fdb5ccb7cae7d352484b56505cbef3f955cac5cb26d933d35e1 SHA512 2a59cca74456e04ff6cd5bf3c8f47eb8687e577cd907979188713d38f1602ec8933d467222ae4f5e630116bc71832435bd911901c666b3285c796bb1c5d03393

View File

@@ -0,0 +1,51 @@
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DESCRIPTION="Sidplay2 fork with resid-fp"
HOMEPAGE="https://sourceforge.net/projects/sidplay-residfp/"
SRC_URI="https://downloads.sourceforge.net/sidplay-residfp/${PN}/$(ver_cut 1-2)/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="+alsa oss pulseaudio"
BDEPEND="virtual/pkgconfig"
CDEPEND="
media-libs/libsidplayfp
alsa? ( media-libs/alsa-lib )
pulseaudio? ( media-libs/libpulse )
"
RDEPEND="
${CDEPEND}
media-plugins/mpg123-output-plugins
"
DEPEND="${CDEPEND}
oss? ( virtual/os-headers )
"
DOCS=( AUTHORS README TODO )
PATCHES=(
"${FILESDIR}"/${PN}-1.4.4-musl-limits.patch
)
src_prepare() {
default
if ! use alsa; then
sed -i -e 's:alsa >= 1.0:dIsAbLe&:' configure || die
fi
if ! use pulseaudio; then
sed -i -e 's:libpulse-simple >= 1.0:dIsAbLe&:' configure || die
fi
}
src_configure() {
export ac_cv_header_linux_soundcard_h=$(usex oss)
econf
}