diff options
author | Miroslav Šulc <fordfrog@gentoo.org> | 2024-08-29 13:31:29 +0200 |
---|---|---|
committer | Miroslav Šulc <fordfrog@gentoo.org> | 2024-08-29 13:31:29 +0200 |
commit | ca13e079a8617768fed8d56904c2357ac968de4c (patch) | |
tree | 41f89c6ec55fb4b53df9422283faaece15d4ae00 /media-sound/sidplayfp/sidplayfp-2.9.0.ebuild | |
parent | media-sound/qmidiarp: bump to 0.7.1 (diff) | |
download | gentoo-ca13e079a8617768fed8d56904c2357ac968de4c.tar.gz gentoo-ca13e079a8617768fed8d56904c2357ac968de4c.tar.bz2 gentoo-ca13e079a8617768fed8d56904c2357ac968de4c.zip |
media-sound/sidplayfp: bump to 2.9.0
Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org>
Diffstat (limited to 'media-sound/sidplayfp/sidplayfp-2.9.0.ebuild')
-rw-r--r-- | media-sound/sidplayfp/sidplayfp-2.9.0.ebuild | 51 |
1 files changed, 51 insertions, 0 deletions
diff --git a/media-sound/sidplayfp/sidplayfp-2.9.0.ebuild b/media-sound/sidplayfp/sidplayfp-2.9.0.ebuild new file mode 100644 index 000000000000..2d76084b9af7 --- /dev/null +++ b/media-sound/sidplayfp/sidplayfp-2.9.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 +} |