Gentoo Archives: gentoo-commits

From: Ionen Wolkens <ionen@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: media-video/mpv/
Date: Tue, 28 Feb 2023 15:00:53
Message-Id: 1677596018.96fb6735bb117aedd5fb3e9e5f80a9d4fbfd6fea.ionen@gentoo
1 commit: 96fb6735bb117aedd5fb3e9e5f80a9d4fbfd6fea
2 Author: Ionen Wolkens <ionen <AT> gentoo <DOT> org>
3 AuthorDate: Tue Feb 28 12:55:02 2023 +0000
4 Commit: Ionen Wolkens <ionen <AT> gentoo <DOT> org>
5 CommitDate: Tue Feb 28 14:53:38 2023 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=96fb6735
7
8 media-video/mpv: don't unnecessarily pass -I/-L for raspberry-pi
9
10 If meson.build doesn't find the pkg-config file, it'll fail. So
11 there's no sense in adding this ourselves.
12
13 mpv already looks for the .pc file in /opt/vc for userland-bin, and
14 meson considers SYSROOT even with absolute paths (cross works).
15
16 Prefix is untested (would need more setting up to try this on arm),
17 may or may not need to use PKG_CONFIG_PATH so it can find brcmegl.pc
18 depending on how meson handles it -- but either way is unlikely to
19 work given userland-bin's .pc are not modified to include EPREFIX
20 (not going to worry unless someone actually uses this configuration).
21
22 Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org>
23
24 media-video/mpv/mpv-0.35.1.ebuild | 5 -----
25 media-video/mpv/mpv-9999.ebuild | 5 -----
26 2 files changed, 10 deletions(-)
27
28 diff --git a/media-video/mpv/mpv-0.35.1.ebuild b/media-video/mpv/mpv-0.35.1.ebuild
29 index bcd28382376d..5ea6dc240af6 100644
30 --- a/media-video/mpv/mpv-0.35.1.ebuild
31 +++ b/media-video/mpv/mpv-0.35.1.ebuild
32 @@ -147,11 +147,6 @@ src_configure() {
33 fi
34 fi
35
36 - if use raspberry-pi; then
37 - append-cflags -I"${ESYSROOT}"/opt/vc/include
38 - append-ldflags -L"${ESYSROOT}"/opt/vc/lib
39 - fi
40 -
41 mpv_feature_multi() {
42 local use set
43 for use in ${1} ${2}; do
44
45 diff --git a/media-video/mpv/mpv-9999.ebuild b/media-video/mpv/mpv-9999.ebuild
46 index 11323310aeb0..34293c859ac9 100644
47 --- a/media-video/mpv/mpv-9999.ebuild
48 +++ b/media-video/mpv/mpv-9999.ebuild
49 @@ -147,11 +147,6 @@ src_configure() {
50 fi
51 fi
52
53 - if use raspberry-pi; then
54 - append-cflags -I"${ESYSROOT}"/opt/vc/include
55 - append-ldflags -L"${ESYSROOT}"/opt/vc/lib
56 - fi
57 -
58 mpv_feature_multi() {
59 local use set
60 for use in ${1} ${2}; do