From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id EA3B315800A for ; Mon, 28 Aug 2023 16:14:57 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id E09EC2BC017; Mon, 28 Aug 2023 16:14:56 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id C4AEB2BC017 for ; Mon, 28 Aug 2023 16:14:56 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 695B8335CFF for ; Mon, 28 Aug 2023 16:14:55 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id C337810D0 for ; Mon, 28 Aug 2023 16:14:53 +0000 (UTC) From: "James Le Cuirot" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "James Le Cuirot" Message-ID: <1693239255.2380a875b7fe3af974889ade92fbd745bd3e388b.chewi@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: media-libs/glew/ X-VCS-Repository: repo/gentoo X-VCS-Files: media-libs/glew/glew-2.2.0-r1.ebuild media-libs/glew/metadata.xml X-VCS-Directories: media-libs/glew/ X-VCS-Committer: chewi X-VCS-Committer-Name: James Le Cuirot X-VCS-Revision: 2380a875b7fe3af974889ade92fbd745bd3e388b X-VCS-Branch: master Date: Mon, 28 Aug 2023 16:14:53 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 94ddc8e0-0a88-4b57-9356-5f9035457100 X-Archives-Hash: 9659764696923e38781b02af81f02225 commit: 2380a875b7fe3af974889ade92fbd745bd3e388b Author: James Le Cuirot gentoo org> AuthorDate: Mon Aug 28 16:13:33 2023 +0000 Commit: James Le Cuirot gentoo org> CommitDate: Mon Aug 28 16:14:15 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2380a875 media-libs/glew: Rename new wayland-only flag to egl-only EGL is not Wayland-specific. It can be used with KMS, for example. Even X11 supports EGL, although GLEW doesn't seem to support that case. See https://github.com/nigels-com/glew/issues/328 for more details. Signed-off-by: James Le Cuirot gentoo.org> media-libs/glew/glew-2.2.0-r1.ebuild | 6 +++--- media-libs/glew/metadata.xml | 3 +++ 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/media-libs/glew/glew-2.2.0-r1.ebuild b/media-libs/glew/glew-2.2.0-r1.ebuild index 5335393e4ec5..05123b7894e0 100644 --- a/media-libs/glew/glew-2.2.0-r1.ebuild +++ b/media-libs/glew/glew-2.2.0-r1.ebuild @@ -12,12 +12,12 @@ SRC_URI="mirror://sourceforge/${PN}/${P}.tgz" LICENSE="BSD MIT" SLOT="0/$(ver_cut 1-2)" KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos ~x64-solaris" -IUSE="doc static-libs wayland-only" +IUSE="doc egl-only static-libs" DEPEND=" >=virtual/glu-9.0-r1[${MULTILIB_USEDEP}] >=virtual/opengl-7.0-r1[${MULTILIB_USEDEP}] - !wayland-only? ( + !egl-only? ( >=x11-libs/libX11-1.6.2[${MULTILIB_USEDEP}] >=x11-libs/libXext-1.3.2[${MULTILIB_USEDEP}] >=x11-libs/libXi-1.7.2[${MULTILIB_USEDEP}] @@ -54,7 +54,7 @@ src_prepare() { glew_system() { # Set the SYSTEM variable instead of probing. #523444 #595280 - if use wayland-only; then + if use egl-only; then echo "linux-egl" else case ${CHOST} in diff --git a/media-libs/glew/metadata.xml b/media-libs/glew/metadata.xml index 9dfc437a211d..f7add5ca6bd1 100644 --- a/media-libs/glew/metadata.xml +++ b/media-libs/glew/metadata.xml @@ -9,4 +9,7 @@ nigels-com/glew glew + + Enable EGL support and disable X11 support +