1 |
commit: eeedf9e85e36c1eab7d37b42f22224ca27db7fd1 |
2 |
Author: Ben Kohler <bkohler <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Sep 22 14:46:43 2022 +0000 |
4 |
Commit: Ben Kohler <bkohler <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Sep 22 15:04:45 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=eeedf9e8 |
7 |
|
8 |
x11-misc/bbcd: fix detection of X11 and libcdaudio under clang-16 |
9 |
|
10 |
Signed-off-by: Ben Kohler <bkohler <AT> gentoo.org> |
11 |
|
12 |
x11-misc/bbcd/bbcd-0.3.1-r5.ebuild | 44 ++++++++++++++++++++++++++++++++++++++ |
13 |
1 file changed, 44 insertions(+) |
14 |
|
15 |
diff --git a/x11-misc/bbcd/bbcd-0.3.1-r5.ebuild b/x11-misc/bbcd/bbcd-0.3.1-r5.ebuild |
16 |
new file mode 100644 |
17 |
index 000000000000..87a0f10e9752 |
18 |
--- /dev/null |
19 |
+++ b/x11-misc/bbcd/bbcd-0.3.1-r5.ebuild |
20 |
@@ -0,0 +1,44 @@ |
21 |
+# Copyright 1999-2022 Gentoo Authors |
22 |
+# Distributed under the terms of the GNU General Public License v2 |
23 |
+ |
24 |
+EAPI=8 |
25 |
+ |
26 |
+inherit autotools flag-o-matic |
27 |
+ |
28 |
+DESCRIPTION="Basic CD Player for blackbox wm" |
29 |
+HOMEPAGE="http://tranber1.free.fr/bbcd.html" |
30 |
+SRC_URI="http://tranber1.free.fr/${P}.tar.gz" |
31 |
+LICENSE="GPL-2" |
32 |
+ |
33 |
+SLOT="0" |
34 |
+KEYWORDS="~amd64 ~ppc ~x86" |
35 |
+IUSE="" |
36 |
+ |
37 |
+RDEPEND=">=media-libs/libcdaudio-0.99.12-r4 |
38 |
+ x11-libs/libX11" |
39 |
+DEPEND="${RDEPEND} |
40 |
+ x11-libs/libXt" |
41 |
+ |
42 |
+PATCHES=( |
43 |
+ "${FILESDIR}"/${P}_${PV}a.diff |
44 |
+ "${FILESDIR}"/${P}-gcc3.3.patch |
45 |
+ "${FILESDIR}"/${P}-gcc4.3.patch |
46 |
+) |
47 |
+ |
48 |
+src_prepare() { |
49 |
+ default |
50 |
+ eautoreconf |
51 |
+} |
52 |
+ |
53 |
+src_configure() { |
54 |
+ append-cxxflags -std=c++14 |
55 |
+ econf \ |
56 |
+ --with-x \ |
57 |
+ --x-includes=/usr/include/X11 \ |
58 |
+ --x-libraries=/usr/lib64/x86_64-linux-gnu |
59 |
+} |
60 |
+ |
61 |
+src_install() { |
62 |
+ default |
63 |
+ rm "${ED}/usr/share/bbtools/README.bbcd" || die |
64 |
+} |