1 |
commit: 4b65b862e51fbd4c8de5d394b3fbd2323a933785 |
2 |
Author: Sam James <sam <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Sep 2 01:02:24 2022 +0000 |
4 |
Commit: Sam James <sam <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Sep 2 01:07:10 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4b65b862 |
7 |
|
8 |
media-video/bino: respect AR |
9 |
|
10 |
Closes: https://bugs.gentoo.org/804486 |
11 |
Signed-off-by: Sam James <sam <AT> gentoo.org> |
12 |
|
13 |
media-video/bino/bino-1.6.8.ebuild | 10 +++++++++- |
14 |
media-video/bino/files/bino-1.6.8-respect-AR.patch | 22 ++++++++++++++++++++++ |
15 |
2 files changed, 31 insertions(+), 1 deletion(-) |
16 |
|
17 |
diff --git a/media-video/bino/bino-1.6.8.ebuild b/media-video/bino/bino-1.6.8.ebuild |
18 |
index f0f6a54eb8d1..b304712373c8 100644 |
19 |
--- a/media-video/bino/bino-1.6.8.ebuild |
20 |
+++ b/media-video/bino/bino-1.6.8.ebuild |
21 |
@@ -3,7 +3,7 @@ |
22 |
|
23 |
EAPI=8 |
24 |
|
25 |
-inherit flag-o-matic qmake-utils xdg |
26 |
+inherit autotools flag-o-matic qmake-utils xdg |
27 |
|
28 |
DESCRIPTION="Stereoscopic and multi-display media player" |
29 |
HOMEPAGE="https://bino3d.org/" |
30 |
@@ -32,8 +32,16 @@ BDEPEND="sys-devel/gettext |
31 |
|
32 |
PATCHES=( |
33 |
"${FILESDIR}"/${PN}-1.6.8-time-include.patch |
34 |
+ "${FILESDIR}"/${PN}-1.6.8-respect-AR.patch |
35 |
) |
36 |
|
37 |
+src_prepare() { |
38 |
+ default |
39 |
+ |
40 |
+ # Needed for AR patch |
41 |
+ eautoreconf |
42 |
+} |
43 |
+ |
44 |
src_configure() { |
45 |
if use video_cards_nvidia; then |
46 |
append-cppflags "-I${ESYSROOT}/usr/include/NVCtrl" |
47 |
|
48 |
diff --git a/media-video/bino/files/bino-1.6.8-respect-AR.patch b/media-video/bino/files/bino-1.6.8-respect-AR.patch |
49 |
new file mode 100644 |
50 |
index 000000000000..b4f9177affe1 |
51 |
--- /dev/null |
52 |
+++ b/media-video/bino/files/bino-1.6.8-respect-AR.patch |
53 |
@@ -0,0 +1,22 @@ |
54 |
+Sent upstream by email on 2022-09-02. |
55 |
+ |
56 |
+From 66399974bec4cc3b9c7570b222bc778078f5dc7f Mon Sep 17 00:00:00 2001 |
57 |
+From: Sam James <sam@g.o> |
58 |
+Date: Fri, 2 Sep 2022 02:04:00 +0100 |
59 |
+Subject: [PATCH 1/2] build: respect AR |
60 |
+ |
61 |
+Search for AR using the normal mechanisms like e.g. CC |
62 |
+to allow it to be easily overridden in the environment. |
63 |
+ |
64 |
+Bug: https://bugs.gentoo.org/804486 |
65 |
+Signed-off-by: Sam James <sam@g.o> |
66 |
+--- a/configure.ac |
67 |
++++ b/configure.ac |
68 |
+@@ -38,6 +38,7 @@ AC_PROG_CXX |
69 |
+ AC_PROG_INSTALL |
70 |
+ AC_PROG_RANLIB |
71 |
+ AC_PROG_LN_S |
72 |
++AM_PROG_AR |
73 |
+ AC_LANG([C++]) |
74 |
+ AC_C_BIGENDIAN |
75 |
+ |