summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--media-sound/sidplayfp/Manifest1
-rw-r--r--media-sound/sidplayfp/sidplayfp-1.4.4.ebuild38
2 files changed, 39 insertions, 0 deletions
diff --git a/media-sound/sidplayfp/Manifest b/media-sound/sidplayfp/Manifest
index 32b6e1f64a7e..5dba28b2eea5 100644
--- a/media-sound/sidplayfp/Manifest
+++ b/media-sound/sidplayfp/Manifest
@@ -1,3 +1,4 @@
DIST sidplayfp-0.3.3.tar.gz 454452 BLAKE2B d791698972bc8e4cc31c9c29b42f6af8a7024cb64bb9c3f24389bef01f1bd3d4c194eb84c82ebb85a73fd10e07a0fc2374afa38273aee0642a9ad3daaad59883 SHA512 f979af0c6ead38a9cd3a95cb27ebb26390506bbfbea192345f9873c62e064f18d7dc529ead22c35d46b4ebe8af6808d42f4d015d61ce48d7318daa1a7f613fbf
DIST sidplayfp-1.1.0.tar.gz 221706 BLAKE2B d6c0b4a70872fab235a46783cf2ec077a5746c175fb6d2fcb5e057cb76f249a3a75c16ff0e3ebb0f2a2546e49ef8310b445c4b86c8ba262b6bef1d86895e6e48 SHA512 2e0986b9bb5b571e1e38c7e92b836a2e39f6dd84fd26161891b3117976c2d98e615e13819f68d0984094b085d50b53205a74a71b371ba005b1ddf3cb00d5274c
DIST sidplayfp-1.4.0.tar.gz 181746 BLAKE2B ec21d900dbfaabe7d8e976acce0c4a53c60b4be8cfb6bc1e53005949f52a0dc28ff90e6087e57e77db571e987cdbc644eacbaaa3a78ef8868c4a48771e2c9603 SHA512 ac91cc26622b211408c50bcef14dcda78b8da81b43a8f334d91a02b89bd6dac0b3e3adaeb84545e6dbcef97354ba6c2dc555e4f0a2ff0298c6710fe1c6cbbd5f
+DIST sidplayfp-1.4.4.tar.gz 183711 BLAKE2B 31ff002d4cd54e827117e2b2f86d253ee1e0bc07fb6ac777653109585c059311205e141e339a8d8cde08209e1c35776d6f0a0ccf0ad754f78eb5e5f4bafd3cfb SHA512 8375a249da80a10d9c0ef55b35c5b047bf0249393026ad8ff25fb8a2660151f1d482fe581a85c6982b3c70ea257807ce17e1c6011874f10c64bec54a1982ec04
diff --git a/media-sound/sidplayfp/sidplayfp-1.4.4.ebuild b/media-sound/sidplayfp/sidplayfp-1.4.4.ebuild
new file mode 100644
index 000000000000..40dc1277bbd0
--- /dev/null
+++ b/media-sound/sidplayfp/sidplayfp-1.4.4.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+DESCRIPTION="Sidplay2 fork with resid-fp"
+HOMEPAGE="https://sourceforge.net/projects/sidplay-residfp/"
+SRC_URI="mirror://sourceforge/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-1.8.0
+ alsa? ( media-libs/alsa-lib )
+ pulseaudio? ( media-sound/pulseaudio )"
+DEPEND="${RDEPEND}
+ oss? ( virtual/os-headers )"
+
+DOCS=( AUTHORS README TODO )
+
+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
+}