summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIonen Wolkens <sudinave@gmail.com>2021-03-21 16:52:22 +0100
committerDavid Seifert <soap@gentoo.org>2021-03-21 16:52:22 +0100
commit5ca648bb90c4d8bc3b73ff8fca6c4ed35e2a1f50 (patch)
treeae48e8e37bb11a26d0f342ad06e4a1b766d2d47d /gui-libs/eglexternalplatform
parentx11-drivers/nvidia-drivers: remove unused files (diff)
downloadgentoo-5ca648bb90c4d8bc3b73ff8fca6c4ed35e2a1f50.tar.gz
gentoo-5ca648bb90c4d8bc3b73ff8fca6c4ed35e2a1f50.tar.bz2
gentoo-5ca648bb90c4d8bc3b73ff8fca6c4ed35e2a1f50.zip
gui-libs/eglexternalplatform: new package 1.1
needed for gui-libs/egl-wayland Signed-off-by: Ionen Wolkens <sudinave@gmail.com> Signed-off-by: David Seifert <soap@gentoo.org>
Diffstat (limited to 'gui-libs/eglexternalplatform')
-rw-r--r--gui-libs/eglexternalplatform/Manifest1
-rw-r--r--gui-libs/eglexternalplatform/eglexternalplatform-1.1.ebuild30
-rw-r--r--gui-libs/eglexternalplatform/metadata.xml16
3 files changed, 47 insertions, 0 deletions
diff --git a/gui-libs/eglexternalplatform/Manifest b/gui-libs/eglexternalplatform/Manifest
new file mode 100644
index 00000000000..34147eb40e3
--- /dev/null
+++ b/gui-libs/eglexternalplatform/Manifest
@@ -0,0 +1 @@
+DIST eglexternalplatform-1.1.tar.gz 10372 BLAKE2B f18bd0c5244da34343b3bde8451602b8071972d33139ab4839e7bf68eae6be5fa69a12d5059b4b259bc4eac2e97f46d4d5fa734d48e45b6a6ae69251af86cdf0 SHA512 ee72c928abac060e28515807975a371d3792acd119fa9f9da926ae32105e1e528df8d9a3db57ffac0587b115293ede44997606d9da8e20e7f7061a01dd502748
diff --git a/gui-libs/eglexternalplatform/eglexternalplatform-1.1.ebuild b/gui-libs/eglexternalplatform/eglexternalplatform-1.1.ebuild
new file mode 100644
index 00000000000..d8cb2dbadf4
--- /dev/null
+++ b/gui-libs/eglexternalplatform/eglexternalplatform-1.1.ebuild
@@ -0,0 +1,30 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+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 ~x86"
+
+src_prepare() {
+ default
+ sed -i "/^inc/s@=@=${EPREFIX}@" eglexternalplatform.pc || die
+}
+
+src_install() {
+ insinto /usr/$(get_libdir)/pkgconfig
+ doins eglexternalplatform.pc
+
+ insinto /usr/include/EGL
+ doins interface/*.h
+
+ einstalldocs
+
+ docinto examples
+ dodoc samples/*.c
+}
diff --git a/gui-libs/eglexternalplatform/metadata.xml b/gui-libs/eglexternalplatform/metadata.xml
new file mode 100644
index 00000000000..d4e22d4e34e
--- /dev/null
+++ b/gui-libs/eglexternalplatform/metadata.xml
@@ -0,0 +1,16 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person" proxied="yes">
+ <email>sudinave@gmail.com</email>
+ <name>Ionen Wolkens</name>
+ </maintainer>
+ <maintainer type="project" proxied="proxy">
+ <email>proxy-maint@gentoo.org</email>
+ <name>Proxy Maintainers</name>
+ </maintainer>
+ <stabilize-allarches/>
+ <upstream>
+ <remote-id type="github">NVIDIA/eglexternalplatform</remote-id>
+ </upstream>
+</pkgmetadata>