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 | |
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')
-rw-r--r-- | media-sound/sidplayfp/Manifest | 1 | ||||
-rw-r--r-- | media-sound/sidplayfp/sidplayfp-2.9.0.ebuild | 51 |
2 files changed, 52 insertions, 0 deletions
diff --git a/media-sound/sidplayfp/Manifest b/media-sound/sidplayfp/Manifest index 78b333ad7275..f580257e2455 100644 --- a/media-sound/sidplayfp/Manifest +++ b/media-sound/sidplayfp/Manifest @@ -1 +1,2 @@ DIST sidplayfp-2.8.0.tar.gz 243292 BLAKE2B 92fc48659c459c6add6ef26000c9e153ec41b1b96ba205985d5c39ea14c4bb6c5b87e77ddc58945d8bb965a45af56e6eb436d0e10cc15553fbfeb84f6ef3ca08 SHA512 83f2d8cbe422ddc638fb36955b78c303ffe6dcbbc3cb92a2f9947de402579fcdd2e4f28fa130a49dfca87b6103daee1107f8797c38bd5c5d198b1642cee4cf53 +DIST sidplayfp-2.9.0.tar.gz 247965 BLAKE2B 11ff3c33360aca182886418bda8dbfb534de6c6e76b854dfaf78599ce388b5c493221cf8d0f13fdb5ccb7cae7d352484b56505cbef3f955cac5cb26d933d35e1 SHA512 2a59cca74456e04ff6cd5bf3c8f47eb8687e577cd907979188713d38f1602ec8933d467222ae4f5e630116bc71832435bd911901c666b3285c796bb1c5d03393 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 +} |