1 |
commit: 73f72039852479ca1b7273b2843bd0b1accc07b2 |
2 |
Author: Kerin Millar <kfm <AT> plushkava <DOT> net> |
3 |
AuthorDate: Tue Feb 9 18:52:09 2021 +0000 |
4 |
Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Feb 9 19:27:35 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=73f72039 |
7 |
|
8 |
Allow media-libs/libbs2b to build with non-bash |
9 |
|
10 |
Signed-off-by: Kerin Millar <kfm <AT> plushkava.net> |
11 |
Closes: https://bugs.gentoo.org/526712 |
12 |
Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org> |
13 |
|
14 |
.../libbs2b/files/3.1.0-configure-ac-use-dist-xz.patch | 13 +++++++++++++ |
15 |
media-libs/libbs2b/libbs2b-3.1.0-r2.ebuild | 12 ++++++++++-- |
16 |
2 files changed, 23 insertions(+), 2 deletions(-) |
17 |
|
18 |
diff --git a/media-libs/libbs2b/files/3.1.0-configure-ac-use-dist-xz.patch b/media-libs/libbs2b/files/3.1.0-configure-ac-use-dist-xz.patch |
19 |
new file mode 100644 |
20 |
index 00000000000..a2f26a67e34 |
21 |
--- /dev/null |
22 |
+++ b/media-libs/libbs2b/files/3.1.0-configure-ac-use-dist-xz.patch |
23 |
@@ -0,0 +1,13 @@ |
24 |
+--- a/configure.ac 2009-06-04 18:17:02.000000000 +0000 |
25 |
++++ b/configure.ac 2021-01-08 00:54:42.622907620 +0000 |
26 |
+@@ -4,8 +4,8 @@ |
27 |
+ AC_PREREQ([2.63]) |
28 |
+ AC_INIT([libbs2b], [3.1.0], [boris_mikhaylov@×××××××××××××××××.net]) |
29 |
+ AC_CONFIG_AUX_DIR([build-aux]) |
30 |
+-AM_INIT_AUTOMAKE([1.10.1 -Wall foreign subdir-objects |
31 |
+- dist-zip dist-bzip2 dist-lzma]) |
32 |
++AM_INIT_AUTOMAKE([1.11.2 -Wall foreign subdir-objects |
33 |
++ dist-zip dist-bzip2 dist-xz]) |
34 |
+ AC_CONFIG_SRCDIR([src/bs2b.h]) |
35 |
+ |
36 |
+ # Checks for programs. |
37 |
|
38 |
diff --git a/media-libs/libbs2b/libbs2b-3.1.0-r2.ebuild b/media-libs/libbs2b/libbs2b-3.1.0-r2.ebuild |
39 |
index ab48410eb3f..d4f26c28ab2 100644 |
40 |
--- a/media-libs/libbs2b/libbs2b-3.1.0-r2.ebuild |
41 |
+++ b/media-libs/libbs2b/libbs2b-3.1.0-r2.ebuild |
42 |
@@ -3,7 +3,7 @@ |
43 |
|
44 |
EAPI=7 |
45 |
|
46 |
-inherit multilib-minimal |
47 |
+inherit autotools multilib-minimal |
48 |
|
49 |
DESCRIPTION="Bauer stereophonic-to-binaural DSP library" |
50 |
HOMEPAGE="http://bs2b.sourceforge.net/" |
51 |
@@ -17,7 +17,15 @@ RDEPEND=">=media-libs/libsndfile-1.0.25-r1[${MULTILIB_USEDEP}]" |
52 |
DEPEND="${RDEPEND}" |
53 |
BDEPEND="virtual/pkgconfig" |
54 |
|
55 |
-PATCHES=( "${FILESDIR}"/${PV}-format-security.patch ) |
56 |
+PATCHES=( |
57 |
+ "${FILESDIR}"/${PV}-format-security.patch |
58 |
+ "${FILESDIR}"/${PV}-configure-ac-use-dist-xz.patch #526712 |
59 |
+) |
60 |
+ |
61 |
+src_prepare() { |
62 |
+ default |
63 |
+ eautoreconf |
64 |
+} |
65 |
|
66 |
multilib_src_configure() { |
67 |
ECONF_SOURCE="${S}" \ |