media-video/mpv: don't unnecessarily pass -I/-L for raspberry-pi

If meson.build doesn't find the pkg-config file, it'll fail. So
there's no sense in adding this ourselves.

mpv already looks for the .pc file in /opt/vc for userland-bin, and
meson considers SYSROOT even with absolute paths (cross works).

Prefix is untested (would need more setting up to try this on arm),
may or may not need to use PKG_CONFIG_PATH so it can find brcmegl.pc
depending on how meson handles it -- but either way is unlikely to
work given userland-bin's .pc are not modified to include EPREFIX
(not going to worry unless someone actually uses this configuration).

Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
This commit is contained in:
Ionen Wolkens
2023-02-28 09:53:38 -05:00
parent f95f7bb683
commit 96fb6735bb
2 changed files with 0 additions and 10 deletions
-5
View File
@@ -147,11 +147,6 @@ src_configure() {
fi
fi
if use raspberry-pi; then
append-cflags -I"${ESYSROOT}"/opt/vc/include
append-ldflags -L"${ESYSROOT}"/opt/vc/lib
fi
mpv_feature_multi() {
local use set
for use in ${1} ${2}; do
-5
View File
@@ -147,11 +147,6 @@ src_configure() {
fi
fi
if use raspberry-pi; then
append-cflags -I"${ESYSROOT}"/opt/vc/include
append-ldflags -L"${ESYSROOT}"/opt/vc/lib
fi
mpv_feature_multi() {
local use set
for use in ${1} ${2}; do