commit: 96fb6735bb117aedd5fb3e9e5f80a9d4fbfd6fea
Author: Ionen Wolkens <ionen <AT> gentoo <DOT> org>
AuthorDate: Tue Feb 28 12:55:02 2023 +0000
Commit: Ionen Wolkens <ionen <AT> gentoo <DOT> org>
CommitDate: Tue Feb 28 14:53:38 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=96fb6735
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 <AT> gentoo.org>
media-video/mpv/mpv-0.35.1.ebuild | 5 -----
media-video/mpv/mpv-9999.ebuild | 5 -----
2 files changed, 10 deletions(-)
diff --git a/media-video/mpv/mpv-0.35.1.ebuild
b/media-video/mpv/mpv-0.35.1.ebuild
index bcd28382376d..5ea6dc240af6 100644
--- a/media-video/mpv/mpv-0.35.1.ebuild
+++ b/media-video/mpv/mpv-0.35.1.ebuild
@@ -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
diff --git a/media-video/mpv/mpv-9999.ebuild b/media-video/mpv/mpv-9999.ebuild
index 11323310aeb0..34293c859ac9 100644
--- a/media-video/mpv/mpv-9999.ebuild
+++ b/media-video/mpv/mpv-9999.ebuild
@@ -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