commit:     0069bb36045a03164fdff15e3adc5ca8ed79c993
Author:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
AuthorDate: Fri Dec 24 13:54:05 2021 +0000
Commit:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
CommitDate: Fri Dec 24 14:26:38 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0069bb36

gui-libs/eglexternalplatform: EAPI7->8, adjust prefix sed

Very trivial bump given not using eclasses, so straight to stable.

sed change is mostly to be more determinisitic and prevent noise
from sed change checkers (qa-sed).

Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org>

 gui-libs/eglexternalplatform/eglexternalplatform-1.1.ebuild | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/gui-libs/eglexternalplatform/eglexternalplatform-1.1.ebuild 
b/gui-libs/eglexternalplatform/eglexternalplatform-1.1.ebuild
index d224b408e9f7..5bb7ad87229a 100644
--- a/gui-libs/eglexternalplatform/eglexternalplatform-1.1.ebuild
+++ b/gui-libs/eglexternalplatform/eglexternalplatform-1.1.ebuild
@@ -1,7 +1,7 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=7
+EAPI=8
 
 DESCRIPTION="EGL External Platform interface"
 HOMEPAGE="https://github.com/NVIDIA/eglexternalplatform";
@@ -13,7 +13,8 @@ KEYWORDS="amd64"
 
 src_prepare() {
        default
-       sed -i "/^inc/s@=@=${EPREFIX}@" eglexternalplatform.pc || die
+
+       use !prefix || sed -i "/^inc/s|=|=${EPREFIX}|" eglexternalplatform.pc 
|| die
 }
 
 src_install() {

Reply via email to