diff options
author | Miroslav Šulc <fordfrog@gentoo.org> | 2024-12-01 21:57:25 +0100 |
---|---|---|
committer | Miroslav Šulc <fordfrog@gentoo.org> | 2024-12-01 21:57:25 +0100 |
commit | ef858b0ec8290a384a848d133cdd942ac7c8206d (patch) | |
tree | 833440c661c71cbc62618d837805d995130917be /media-sound/sidplayfp | |
parent | media-sound/fluidsynth: bump to 2.4.1 (diff) | |
download | gentoo-ef858b0ec8290a384a848d133cdd942ac7c8206d.tar.gz gentoo-ef858b0ec8290a384a848d133cdd942ac7c8206d.tar.bz2 gentoo-ef858b0ec8290a384a848d133cdd942ac7c8206d.zip |
media-sound/sidplayfp: bump to 2.12.0
Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org>
Diffstat (limited to 'media-sound/sidplayfp')
-rw-r--r-- | media-sound/sidplayfp/Manifest | 1 | ||||
-rw-r--r-- | media-sound/sidplayfp/sidplayfp-2.12.0.ebuild | 51 |
2 files changed, 52 insertions, 0 deletions
diff --git a/media-sound/sidplayfp/Manifest b/media-sound/sidplayfp/Manifest index 1664e377d8ea..2474e0ab1eaf 100644 --- a/media-sound/sidplayfp/Manifest +++ b/media-sound/sidplayfp/Manifest @@ -1,2 +1,3 @@ DIST sidplayfp-2.10.0.tar.gz 244263 BLAKE2B 62406febe1ba9074779b3ed77e5ceddea35d472eae94bfec13245ce9503c812d5cefeb0fa1d870e00380535145a031427463d58c8d1262ff8a43a2b470b58073 SHA512 7d59f21690d8219fd2d077541ffe90499f4b44b79e1fc4f43f3f048a01e935ad7b4723cd111acb9c9a287a1b8960b187a8e82463b9725a3171d98c32e391b15f DIST sidplayfp-2.11.0.tar.gz 252126 BLAKE2B 0ef141ca32c3f91dad67a54bf253da806242fb30294be97b44ded23490bb30d05dfc63593bb3c5b05a1bae48228d0ce3c31c35dba15dea1db70ed36692ef060d SHA512 455e8a81e7540f7fa5b97a11c5ab45cb87d77210569dd62ea3bfee8149d56b884eafb23ae404e806b92bf62f40bbf560ecfda76073477caf3fa960a1f52933be +DIST sidplayfp-2.12.0.tar.gz 251994 BLAKE2B 9b3416504d7488e05c127a2b9c112118bf1283f0a022cc82e353c8f16f61a4d87779712d7faa591dca1a145c060d8a8afada1050a1766c654df7d9055e04d95f SHA512 1e511d2847d774bb8b64757b0c83ae1c5d3e794d05998600ba6f68b79eb29f6f970854d00be84572b5622495099211af7fc2e166d135b6447dc0eba163b68ec3 diff --git a/media-sound/sidplayfp/sidplayfp-2.12.0.ebuild b/media-sound/sidplayfp/sidplayfp-2.12.0.ebuild new file mode 100644 index 000000000000..2d76084b9af7 --- /dev/null +++ b/media-sound/sidplayfp/sidplayfp-2.12.0.ebuild @@ -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 +} |