public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Ionen Wolkens" <ionen@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: gui-libs/egl-gbm/
Date: Tue, 23 Jul 2024 15:15:11 +0000 (UTC)	[thread overview]
Message-ID: <1721747621.86b56d2c66b0ad21cd449bfefa53c22c49ff4a76.ionen@gentoo> (raw)

commit:     86b56d2c66b0ad21cd449bfefa53c22c49ff4a76
Author:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
AuthorDate: Tue Jul 23 14:01:46 2024 +0000
Commit:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
CommitDate: Tue Jul 23 15:13:41 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=86b56d2c

gui-libs/egl-gbm: add multilib support

To match NVIDIA that started shipping egl-gbm/wayland 32bit
variant in >=nvidia-drivers-560 to let 32bit applications
work right on wayland.

...albeit this is rather uncommon given most 32bit applications
would be using xwayland at best, but do not want an unexpected
setup that may confuse some things like steam or wine's new
wayland support.

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

 gui-libs/egl-gbm/egl-gbm-1.1.1-r1.ebuild | 38 ++++++++++++++++++++++++++++++++
 1 file changed, 38 insertions(+)

diff --git a/gui-libs/egl-gbm/egl-gbm-1.1.1-r1.ebuild b/gui-libs/egl-gbm/egl-gbm-1.1.1-r1.ebuild
new file mode 100644
index 000000000000..4ec0bbc9775c
--- /dev/null
+++ b/gui-libs/egl-gbm/egl-gbm-1.1.1-r1.ebuild
@@ -0,0 +1,38 @@
+# Copyright 2021-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit meson-multilib
+
+DESCRIPTION="GBM EGL external platform library"
+HOMEPAGE="https://github.com/NVIDIA/egl-gbm/"
+SRC_URI="
+	https://github.com/NVIDIA/egl-gbm/archive/${PV}.tar.gz
+		-> ${P}.tar.gz
+"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64"
+
+RDEPEND="
+	media-libs/mesa[gbm(+),${MULTILIB_USEDEP}]
+	x11-libs/libdrm[${MULTILIB_USEDEP}]
+"
+DEPEND="
+	${RDEPEND}
+	>=gui-libs/eglexternalplatform-1.1-r1
+	media-libs/libglvnd
+"
+
+PATCHES=(
+	"${FILESDIR}"/${PN}-1.1.0-werror.patch
+)
+
+src_install() {
+	meson-multilib_src_install
+
+	insinto /usr/share/egl/egl_external_platform.d
+	doins "${FILESDIR}"/15_nvidia_gbm.json
+}


             reply	other threads:[~2024-07-23 15:15 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-07-23 15:15 Ionen Wolkens [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-10-23  9:33 [gentoo-commits] repo/gentoo:master commit in: gui-libs/egl-gbm/ Ionen Wolkens
2024-08-13  5:16 Ionen Wolkens
2024-08-02 15:59 Ionen Wolkens
2024-01-23  9:11 Ionen Wolkens
2024-01-08 12:59 Ionen Wolkens
2024-01-03  5:42 Ionen Wolkens
2023-07-03  7:25 Ionen Wolkens
2023-06-27  3:51 Ionen Wolkens
2022-02-14  0:48 Sam James
2022-02-09 15:33 Ionen Wolkens

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1721747621.86b56d2c66b0ad21cd449bfefa53c22c49ff4a76.ionen@gentoo \
    --to=ionen@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox