Gentoo Archives: gentoo-commits

From: Ronny Gutbrod <gentoo@××××××××.de>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/proj/guru:dev commit in: media-libs/libbpg/
Date: Fri, 30 Apr 2021 21:24:38
Message-Id: 1619817578.df1e257df34f747a64701354a4e33d9fc35e56b2.tastytea@gentoo
1 commit: df1e257df34f747a64701354a4e33d9fc35e56b2
2 Author: Ronny (tastytea) Gutbrod <gentoo <AT> tastytea <DOT> de>
3 AuthorDate: Fri Apr 30 21:18:30 2021 +0000
4 Commit: Ronny Gutbrod <gentoo <AT> tastytea <DOT> de>
5 CommitDate: Fri Apr 30 21:19:38 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=df1e257d
7
8 media-libs/libbpg: Add -lnuma to X265_LIBS instead of to LIBS.
9
10 X265_LIBS is only used in bpgenc binary, LIBS in bpgenc bpgdec and
11 bpgview.
12
13 Signed-off-by: Ronny (tastytea) Gutbrod <gentoo <AT> tastytea.de>
14
15 media-libs/libbpg/libbpg-0.9.8.ebuild | 5 +++--
16 1 file changed, 3 insertions(+), 2 deletions(-)
17
18 diff --git a/media-libs/libbpg/libbpg-0.9.8.ebuild b/media-libs/libbpg/libbpg-0.9.8.ebuild
19 index 265654470..07640fa3d 100644
20 --- a/media-libs/libbpg/libbpg-0.9.8.ebuild
21 +++ b/media-libs/libbpg/libbpg-0.9.8.ebuild
22 @@ -47,6 +47,8 @@ Version: ${PV}
23 Libs: "-L\${libdir}" -lbpg
24 Cflags: "-I\${includedir}"
25 EOF
26 +
27 + sed -Ei 's/^(X265_LIBS:=.+\.a)$/\1 -lnuma/' Makefile || die
28 }
29
30 src_compile() {
31 @@ -56,8 +58,7 @@ src_compile() {
32 $(usex jctvc USE_JCTVC=y '') \
33 $(usex emcc USE_EMCC=y '') \
34 CXX="$(tc-getCXX)" \
35 - CC="$(tc-getCC)" \
36 - LIBS="-lrt -lm -lpthread -lnuma"
37 + CC="$(tc-getCC)"
38 }
39
40 src_install() {