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.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 7C04B138359 for ; Tue, 4 Aug 2020 14:48:05 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 8B431E0BB5; Tue, 4 Aug 2020 14:48:04 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 47F0FE0BB5 for ; Tue, 4 Aug 2020 14:48:04 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 64B3434EB73 for ; Tue, 4 Aug 2020 14:48:03 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id C89E0253 for ; Tue, 4 Aug 2020 14:48:01 +0000 (UTC) From: "Lars Wendler" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Lars Wendler" Message-ID: <1596552476.8e0592dac97dfb1c7cc794e02a81d499e0fa205b.polynomial-c@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: games-emulation/mgba/ X-VCS-Repository: repo/gentoo X-VCS-Files: games-emulation/mgba/metadata.xml games-emulation/mgba/mgba-0.8.3.ebuild games-emulation/mgba/mgba-9999.ebuild X-VCS-Directories: games-emulation/mgba/ X-VCS-Committer: polynomial-c X-VCS-Committer-Name: Lars Wendler X-VCS-Revision: 8e0592dac97dfb1c7cc794e02a81d499e0fa205b X-VCS-Branch: master Date: Tue, 4 Aug 2020 14:48:01 +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: c133b3d5-377d-49f3-adf5-a2181cc6733d X-Archives-Hash: 7ba8c2e2a9cd5ba3adc0c82ddd0e19ee commit: 8e0592dac97dfb1c7cc794e02a81d499e0fa205b Author: Lars Wendler gentoo org> AuthorDate: Tue Aug 4 14:47:19 2020 +0000 Commit: Lars Wendler gentoo org> CommitDate: Tue Aug 4 14:47:56 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8e0592da games-emulation/mgba: Added "gles2" and "gles3" USE flags Bug: https://bugs.gentoo.org/735918 Package-Manager: Portage-3.0.1, Repoman-2.3.23 Signed-off-by: Lars Wendler gentoo.org> games-emulation/mgba/metadata.xml | 2 ++ games-emulation/mgba/mgba-0.8.3.ebuild | 11 ++++++++--- games-emulation/mgba/mgba-9999.ebuild | 11 ++++++++--- 3 files changed, 18 insertions(+), 6 deletions(-) diff --git a/games-emulation/mgba/metadata.xml b/games-emulation/mgba/metadata.xml index d65ffa04f67..3a30f098b0d 100644 --- a/games-emulation/mgba/metadata.xml +++ b/games-emulation/mgba/metadata.xml @@ -8,6 +8,8 @@ Enable Discord RPC support Enable the use of elf utils via dev-libs/elfutils + Build OpenGL ES 2.x RenderSystem + Build OpenGL ES 3.x RenderSystem mgba-emu/mgba diff --git a/games-emulation/mgba/mgba-0.8.3.ebuild b/games-emulation/mgba/mgba-0.8.3.ebuild index b94cca7aa9c..d1d5df90464 100644 --- a/games-emulation/mgba/mgba-0.8.3.ebuild +++ b/games-emulation/mgba/mgba-0.8.3.ebuild @@ -19,7 +19,7 @@ else fi LICENSE="MPL-2.0" SLOT="0" -IUSE="debug discord elf ffmpeg opengl qt5 +sdl sqlite" +IUSE="debug discord elf ffmpeg gles2 gles3 opengl qt5 +sdl sqlite" REQUIRED_USE="|| ( qt5 sdl ) qt5? ( opengl )" @@ -28,7 +28,7 @@ RDEPEND=" sys-libs/zlib[minizip] elf? ( dev-libs/elfutils ) ffmpeg? ( media-video/ffmpeg:= ) - opengl? ( virtual/opengl ) + opengl? ( media-libs/libglvnd ) qt5? ( dev-qt/qtcore:5 dev-qt/qtgui:5 @@ -39,7 +39,10 @@ RDEPEND=" sdl? ( media-libs/libsdl2[X,sound,joystick,video,opengl?] ) sqlite? ( dev-db/sqlite:3 ) " -DEPEND="${RDEPEND}" +DEPEND="${RDEPEND} + gles2? ( media-libs/libglvnd ) + gles3? ( media-libs/libglvnd ) +" src_prepare() { xdg_environment_reset @@ -55,6 +58,8 @@ src_configure() { local mycmakeargs=( -DCMAKE_SKIP_RPATH=ON -DBUILD_GL="$(usex opengl)" + -DBUILD_GLES2="$(usex gles2)" + -DBUILD_GLES3="$(usex gles3)" -DBUILD_PYTHON=OFF -DBUILD_QT="$(usex qt5)" -DBUILD_SDL="$(usex sdl)" diff --git a/games-emulation/mgba/mgba-9999.ebuild b/games-emulation/mgba/mgba-9999.ebuild index b94cca7aa9c..d1d5df90464 100644 --- a/games-emulation/mgba/mgba-9999.ebuild +++ b/games-emulation/mgba/mgba-9999.ebuild @@ -19,7 +19,7 @@ else fi LICENSE="MPL-2.0" SLOT="0" -IUSE="debug discord elf ffmpeg opengl qt5 +sdl sqlite" +IUSE="debug discord elf ffmpeg gles2 gles3 opengl qt5 +sdl sqlite" REQUIRED_USE="|| ( qt5 sdl ) qt5? ( opengl )" @@ -28,7 +28,7 @@ RDEPEND=" sys-libs/zlib[minizip] elf? ( dev-libs/elfutils ) ffmpeg? ( media-video/ffmpeg:= ) - opengl? ( virtual/opengl ) + opengl? ( media-libs/libglvnd ) qt5? ( dev-qt/qtcore:5 dev-qt/qtgui:5 @@ -39,7 +39,10 @@ RDEPEND=" sdl? ( media-libs/libsdl2[X,sound,joystick,video,opengl?] ) sqlite? ( dev-db/sqlite:3 ) " -DEPEND="${RDEPEND}" +DEPEND="${RDEPEND} + gles2? ( media-libs/libglvnd ) + gles3? ( media-libs/libglvnd ) +" src_prepare() { xdg_environment_reset @@ -55,6 +58,8 @@ src_configure() { local mycmakeargs=( -DCMAKE_SKIP_RPATH=ON -DBUILD_GL="$(usex opengl)" + -DBUILD_GLES2="$(usex gles2)" + -DBUILD_GLES3="$(usex gles3)" -DBUILD_PYTHON=OFF -DBUILD_QT="$(usex qt5)" -DBUILD_SDL="$(usex sdl)"