commit: 7c50331279b24b3f89cd6d161d1b088d30961062 Author: Ionen Wolkens <ionen <AT> gentoo <DOT> org> AuthorDate: Tue Jul 23 14:04:40 2024 +0000 Commit: Ionen Wolkens <ionen <AT> gentoo <DOT> org> CommitDate: Tue Jul 23 15:04:52 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7c503312
gui-libs/eglexternalplatform: move .pc file to /usr/share get_libdir never made sense here, this is only headers and is now causing trouble for revdeps wanting multilib Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org> .../eglexternalplatform-1.1-r1.ebuild | 34 ++++++++++++++++++++++ 1 file changed, 34 insertions(+) diff --git a/gui-libs/eglexternalplatform/eglexternalplatform-1.1-r1.ebuild b/gui-libs/eglexternalplatform/eglexternalplatform-1.1-r1.ebuild new file mode 100644 index 000000000000..a040aff76b2f --- /dev/null +++ b/gui-libs/eglexternalplatform/eglexternalplatform-1.1-r1.ebuild @@ -0,0 +1,34 @@ +# Copyright 2021-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DESCRIPTION="EGL External Platform interface" +HOMEPAGE="https://github.com/NVIDIA/eglexternalplatform" +SRC_URI=" + https://github.com/NVIDIA/eglexternalplatform/archive/${PV}.tar.gz + -> ${P}.tar.gz +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm64" + +src_prepare() { + default + + use !prefix || sed -i "/^inc/s|=|=${EPREFIX}|" eglexternalplatform.pc || die +} + +src_install() { + insinto /usr/share/pkgconfig + doins eglexternalplatform.pc + + insinto /usr/include/EGL + doins interface/*.h + + einstalldocs + + docinto examples + dodoc samples/*.c +}
