diff options
author | Miroslav Šulc <fordfrog@gentoo.org> | 2024-06-10 10:16:14 +0200 |
---|---|---|
committer | Miroslav Šulc <fordfrog@gentoo.org> | 2024-06-10 10:16:14 +0200 |
commit | 78a2066504f37226c8d691bb3555b2819d34d391 (patch) | |
tree | 05dff23e5bc7044432c2865f1b92e0a4bd6b50ed /media-sound/sidplayfp | |
parent | media-sound/abcmidi: bump to 2024.06.09, dropped 2024.06.03 (diff) | |
download | gentoo-78a2066504f37226c8d691bb3555b2819d34d391.tar.gz gentoo-78a2066504f37226c8d691bb3555b2819d34d391.tar.bz2 gentoo-78a2066504f37226c8d691bb3555b2819d34d391.zip |
media-sound/sidplayfp: bump to 2.8.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.8.0.ebuild | 45 |
2 files changed, 46 insertions, 0 deletions
diff --git a/media-sound/sidplayfp/Manifest b/media-sound/sidplayfp/Manifest index 065bd3d2fc31..8835f3d5d215 100644 --- a/media-sound/sidplayfp/Manifest +++ b/media-sound/sidplayfp/Manifest @@ -1 +1,2 @@ DIST sidplayfp-2.7.0.tar.gz 247006 BLAKE2B abf6a00b818df7c228114470eeb92902bca2179b6f16751b1c023b5d18df661c7551ae469264e2e54f117b2fdd914cdeefac33f034fcf9c2182b61d4c3d06b8a SHA512 22fd5d70bad33071c080f87144f17ae41a82046a7f7f9b8fb510968810d74024f512ddabf70fc7b01e92b4345f0e8e8c3477b523ab2ef4975ff00d3007ce33bc +DIST sidplayfp-2.8.0.tar.gz 243292 BLAKE2B 92fc48659c459c6add6ef26000c9e153ec41b1b96ba205985d5c39ea14c4bb6c5b87e77ddc58945d8bb965a45af56e6eb436d0e10cc15553fbfeb84f6ef3ca08 SHA512 83f2d8cbe422ddc638fb36955b78c303ffe6dcbbc3cb92a2f9947de402579fcdd2e4f28fa130a49dfca87b6103daee1107f8797c38bd5c5d198b1642cee4cf53 diff --git a/media-sound/sidplayfp/sidplayfp-2.8.0.ebuild b/media-sound/sidplayfp/sidplayfp-2.8.0.ebuild new file mode 100644 index 000000000000..557b25344d84 --- /dev/null +++ b/media-sound/sidplayfp/sidplayfp-2.8.0.ebuild @@ -0,0 +1,45 @@ +# 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" +RDEPEND=" + media-libs/libsidplayfp + alsa? ( media-libs/alsa-lib ) + pulseaudio? ( media-libs/libpulse )" +DEPEND="${RDEPEND} + 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 +} |