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 29DAC15808B for ; Tue, 29 Mar 2022 11:55:30 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 09F67E07DB; Tue, 29 Mar 2022 11:55:29 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 4049DE07AE for ; Tue, 29 Mar 2022 11:55:28 +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 0B8C53410A7 for ; Tue, 29 Mar 2022 11:55:27 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 4EAE933F for ; Tue, 29 Mar 2022 11:55:25 +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: <1648554915.2ded61bf2f0fdcc6f39eb949ac43ad3d052be6e9.polynomial-c@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: media-video/simplescreenrecorder/ X-VCS-Repository: repo/gentoo X-VCS-Files: media-video/simplescreenrecorder/simplescreenrecorder-9999.ebuild X-VCS-Directories: media-video/simplescreenrecorder/ X-VCS-Committer: polynomial-c X-VCS-Committer-Name: Lars Wendler X-VCS-Revision: 2ded61bf2f0fdcc6f39eb949ac43ad3d052be6e9 X-VCS-Branch: master Date: Tue, 29 Mar 2022 11:55:25 +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: 752d57df-59b7-4a9e-9480-d597f1faa5f1 X-Archives-Hash: df3afa109c86a3cafd4d4023eacfb9db commit: 2ded61bf2f0fdcc6f39eb949ac43ad3d052be6e9 Author: Lars Wendler gentoo org> AuthorDate: Tue Mar 29 11:54:27 2022 +0000 Commit: Lars Wendler gentoo org> CommitDate: Tue Mar 29 11:55:15 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2ded61bf media-video/simplescreenrecorder: Synced live ebuild Signed-off-by: Lars Wendler gentoo.org> .../simplescreenrecorder-9999.ebuild | 23 ++++++++++++---------- 1 file changed, 13 insertions(+), 10 deletions(-) diff --git a/media-video/simplescreenrecorder/simplescreenrecorder-9999.ebuild b/media-video/simplescreenrecorder/simplescreenrecorder-9999.ebuild index 337ba993d166..5c2e985195d7 100644 --- a/media-video/simplescreenrecorder/simplescreenrecorder-9999.ebuild +++ b/media-video/simplescreenrecorder/simplescreenrecorder-9999.ebuild @@ -1,7 +1,7 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=7 +EAPI=8 CMAKE_ECLASS=cmake inherit cmake-multilib flag-o-matic xdg @@ -21,7 +21,7 @@ else fi SLOT="0" -IUSE="+asm jack mp3 pulseaudio theora v4l vorbis vpx x264" +IUSE="+asm jack mp3 opengl pulseaudio theora v4l vorbis vpx x264" RDEPEND=" dev-qt/qtcore:5 @@ -29,7 +29,6 @@ RDEPEND=" dev-qt/qtwidgets:5 dev-qt/qtx11extras:5 media-libs/alsa-lib:0= - media-libs/libglvnd[${MULTILIB_USEDEP},X] media-video/ffmpeg[vorbis?,vpx?,x264?,mp3?,theora?] x11-libs/libX11[${MULTILIB_USEDEP}] x11-libs/libXext @@ -39,17 +38,20 @@ RDEPEND=" virtual/glu[${MULTILIB_USEDEP}] v4l? ( media-libs/libv4l ) jack? ( virtual/jack ) + opengl? ( media-libs/libglvnd[${MULTILIB_USEDEP},X] ) pulseaudio? ( media-sound/pulseaudio ) " DEPEND="${RDEPEND}" BDEPEND="dev-qt/linguist-tools:5" +REQUIRED_USE="abi_x86_32? ( opengl )" + pkg_pretend() { - if [[ "${ABI}" == amd64 ]]; then - elog "You may want to add USE flag 'abi_x86_32' when running a 64bit system" - elog "When added 32bit GLInject libraries are also included. This is" - elog "required if you want to use OpenGL recording on 32bit applications." - elog + if [[ "${ABI}" == amd64 ]] ; then + einfo "You may want to add USE flag 'abi_x86_32' when running a 64bit system" + einfo "When added 32bit GLInject libraries are also included. This is" + einfo "required if you want to use OpenGL recording on 32bit applications." + einfo fi if has_version media-video/ffmpeg[x264] && has_version media-libs/x264[10bit] ; then @@ -78,9 +80,10 @@ multilib_src_configure() { local mycmakeargs=( -DENABLE_JACK_METADATA="$(multilib_native_usex jack)" -DENABLE_X86_ASM="$(usex asm)" + -DWITH_OPENGL_RECORDING="$(usex opengl)" -DWITH_PULSEAUDIO="$(multilib_native_usex pulseaudio)" -DWITH_JACK="$(multilib_native_usex jack)" - -DWITH_GLINJECT="true" + -DWITH_GLINJECT="$(usex opengl)" -DWITH_V4L2="$(multilib_native_usex v4l)" )