mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-21 10:37:22 -08:00
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:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user