summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--media-libs/libsidplayfp/Manifest1
-rw-r--r--media-libs/libsidplayfp/libsidplayfp-2.4.0.ebuild29
2 files changed, 30 insertions, 0 deletions
diff --git a/media-libs/libsidplayfp/Manifest b/media-libs/libsidplayfp/Manifest
index 1fe55fbc33b2..7ebd2df608ab 100644
--- a/media-libs/libsidplayfp/Manifest
+++ b/media-libs/libsidplayfp/Manifest
@@ -1 +1,2 @@
DIST libsidplayfp-2.3.1.tar.gz 797779 BLAKE2B 45bf858fc984b10538e322c3d1473c490ff1ef88d0e9db170121fefe68356435ddf649bb897c265253632b4b5949e6b417b9c74141d92dca9d6099d7a429784c SHA512 28c33a33ce40df432731afc66e315fe6909edb964fc39f50011761bda43b892e46a758453d191c26da63123fb4fab755f66333ad9c70c1e679c5cad8438a8e22
+DIST libsidplayfp-2.4.0.tar.gz 794252 BLAKE2B 5074e5f286b15dd419aceb3eb5b35903de45b75c0e6ec98b5419a285d28547e46d0f635f8c9882dc0630d3f91741573829c87bb786a79f0b779244d37c4e6e9d SHA512 bbe06069d578227e04c4c950dc66c6b35f856f0df4511b4d9669bbf92892327b6c488786678570357a7622150fc0984bfab0570f581a5a9caa2e04a4dcc8368e
diff --git a/media-libs/libsidplayfp/libsidplayfp-2.4.0.ebuild b/media-libs/libsidplayfp/libsidplayfp-2.4.0.ebuild
new file mode 100644
index 000000000000..cc286dae945a
--- /dev/null
+++ b/media-libs/libsidplayfp/libsidplayfp-2.4.0.ebuild
@@ -0,0 +1,29 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DESCRIPTION="Library for the 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/6"
+KEYWORDS="~amd64 ~hppa ~riscv ~x86"
+IUSE="static-libs"
+
+src_prepare() {
+ default
+ # fix automagic. warning: modifying .ac triggers maintainer mode.
+ sed -i -e 's:doxygen:dIsAbLe&:' configure || die
+}
+
+src_configure() {
+ econf \
+ $(use_enable static-libs static)
+}
+
+src_install() {
+ default
+ find "${D}" -name '*.la' -delete || die
+}