commit:     565a25416909ed2434bd3deaec87282552746776
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sat May 14 00:50:59 2022 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat May 14 00:50:59 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=565a2541

media-video/mpv: [QA] inline ESYSROOT

Signed-off-by: Sam James <sam <AT> gentoo.org>

 media-video/mpv/mpv-0.33.1-r3.ebuild | 4 ++--
 media-video/mpv/mpv-0.34.0-r1.ebuild | 4 ++--
 media-video/mpv/mpv-0.34.1-r1.ebuild | 4 ++--
 media-video/mpv/mpv-9999.ebuild      | 4 ++--
 4 files changed, 8 insertions(+), 8 deletions(-)

diff --git a/media-video/mpv/mpv-0.33.1-r3.ebuild 
b/media-video/mpv/mpv-0.33.1-r3.ebuild
index bd6de4e3f9f0..101a71f0731c 100644
--- a/media-video/mpv/mpv-0.33.1-r3.ebuild
+++ b/media-video/mpv/mpv-0.33.1-r3.ebuild
@@ -146,8 +146,8 @@ src_configure() {
        tc-export CC PKG_CONFIG AR
 
        if use raspberry-pi; then
-               append-cflags -I"${SYSROOT%/}${EPREFIX}/opt/vc/include"
-               append-ldflags -L"${SYSROOT%/}${EPREFIX}/opt/vc/lib"
+               append-cflags -I"${ESYSROOT}/opt/vc/include"
+               append-ldflags -L"${ESYSROOT}/opt/vc/lib"
        fi
 
        local mywafargs=(

diff --git a/media-video/mpv/mpv-0.34.0-r1.ebuild 
b/media-video/mpv/mpv-0.34.0-r1.ebuild
index 398bdb258c34..c6bf9d1ac4aa 100644
--- a/media-video/mpv/mpv-0.34.0-r1.ebuild
+++ b/media-video/mpv/mpv-0.34.0-r1.ebuild
@@ -146,8 +146,8 @@ src_configure() {
        tc-export CC PKG_CONFIG AR
 
        if use raspberry-pi; then
-               append-cflags -I"${SYSROOT%/}${EPREFIX}/opt/vc/include"
-               append-ldflags -L"${SYSROOT%/}${EPREFIX}/opt/vc/lib"
+               append-cflags -I"${ESYSROOT}/opt/vc/include"
+               append-ldflags -L"${ESYSROOT}/opt/vc/lib"
        fi
 
        local mywafargs=(

diff --git a/media-video/mpv/mpv-0.34.1-r1.ebuild 
b/media-video/mpv/mpv-0.34.1-r1.ebuild
index 398bdb258c34..c6bf9d1ac4aa 100644
--- a/media-video/mpv/mpv-0.34.1-r1.ebuild
+++ b/media-video/mpv/mpv-0.34.1-r1.ebuild
@@ -146,8 +146,8 @@ src_configure() {
        tc-export CC PKG_CONFIG AR
 
        if use raspberry-pi; then
-               append-cflags -I"${SYSROOT%/}${EPREFIX}/opt/vc/include"
-               append-ldflags -L"${SYSROOT%/}${EPREFIX}/opt/vc/lib"
+               append-cflags -I"${ESYSROOT}/opt/vc/include"
+               append-ldflags -L"${ESYSROOT}/opt/vc/lib"
        fi
 
        local mywafargs=(

diff --git a/media-video/mpv/mpv-9999.ebuild b/media-video/mpv/mpv-9999.ebuild
index 6d29fba49c11..c44511ff2016 100644
--- a/media-video/mpv/mpv-9999.ebuild
+++ b/media-video/mpv/mpv-9999.ebuild
@@ -146,8 +146,8 @@ src_configure() {
        tc-export CC PKG_CONFIG AR
 
        if use raspberry-pi; then
-               append-cflags -I"${SYSROOT%/}${EPREFIX}/opt/vc/include"
-               append-ldflags -L"${SYSROOT%/}${EPREFIX}/opt/vc/lib"
+               append-cflags -I"${ESYSROOT}/opt/vc/include"
+               append-ldflags -L"${ESYSROOT}/opt/vc/lib"
        fi
 
        local mywafargs=(

Reply via email to