commit:     22cd904362c30ddaa479349fdc3b8278eb8c3aac
Author:     Sebastian Pipping <sping <AT> gentoo <DOT> org>
AuthorDate: Sun Jan  8 21:07:08 2023 +0000
Commit:     Sebastian Pipping <sping <AT> gentoo <DOT> org>
CommitDate: Sun Jan  8 21:07:56 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=22cd9043

media-plugins/ladspa-bs2b: Fix compilation for dash /bin/sh

Closes: https://bugs.gentoo.org/889426
Signed-off-by: Sebastian Pipping <sping <AT> gentoo.org>

 .../ladspa-bs2b/ladspa-bs2b-0.9.1-r3.ebuild        | 31 ++++++++++++++++++++++
 1 file changed, 31 insertions(+)

diff --git a/media-plugins/ladspa-bs2b/ladspa-bs2b-0.9.1-r3.ebuild 
b/media-plugins/ladspa-bs2b/ladspa-bs2b-0.9.1-r3.ebuild
new file mode 100644
index 000000000000..fe0ab13e4dab
--- /dev/null
+++ b/media-plugins/ladspa-bs2b/ladspa-bs2b-0.9.1-r3.ebuild
@@ -0,0 +1,31 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="8"
+
+inherit autotools
+
+DESCRIPTION="LADSPA plugin for bs2b headphone filter"
+HOMEPAGE="http://bs2b.sourceforge.net/";
+SRC_URI="mirror://sourceforge/bs2b/plugins/LADSPA%20plugin/${PV}/${P}.tar.bz2"
+
+LICENSE="|| ( GPL-2 GPL-3 )"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+DEPEND="media-libs/ladspa-sdk
+               >=media-libs/libbs2b-3.1.0"
+
+RDEPEND="${DEPEND}"
+
+src_prepare() {
+       default
+       sed 's,dist-lzma,,' -i configure.ac || die
+       eautoreconf  # bug 889426
+}
+
+src_install() {
+       default
+       find "${D}" -name '*.la' -delete || die
+}

Reply via email to