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 (4096 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 7DA44158164 for ; Sun, 17 Nov 2024 13:21:34 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id C9B69E0EDE; Sun, 17 Nov 2024 13:21:33 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.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 97D54E0EDE for ; Sun, 17 Nov 2024 13:21:33 +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)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 968BF34302B for ; Sun, 17 Nov 2024 13:21:31 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id BF3FD1F0B for ; Sun, 17 Nov 2024 13:21:28 +0000 (UTC) From: "Nowa Ammerlaan" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Nowa Ammerlaan" Message-ID: <1731841271.d2060976b775ad70bd3934b7f23ce1c019894da0.nowa@gentoo> Subject: [gentoo-commits] repo/proj/guru:master commit in: media-video/wl-screenrec/ X-VCS-Repository: repo/proj/guru X-VCS-Files: media-video/wl-screenrec/wl-screenrec-0.1.6-r1.ebuild media-video/wl-screenrec/wl-screenrec-0.1.6-r2.ebuild X-VCS-Directories: media-video/wl-screenrec/ X-VCS-Committer: nowa X-VCS-Committer-Name: Nowa Ammerlaan X-VCS-Revision: d2060976b775ad70bd3934b7f23ce1c019894da0 X-VCS-Branch: master Date: Sun, 17 Nov 2024 13:21:28 +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: 27e25ef1-3f3c-4bf6-a35c-4c264e352db4 X-Archives-Hash: bd016c08a1f61b14c247b07755a23189 commit: d2060976b775ad70bd3934b7f23ce1c019894da0 Author: Henri Gasc eurecom fr> AuthorDate: Sat Nov 16 14:16:34 2024 +0000 Commit: Nowa Ammerlaan gentoo org> CommitDate: Sun Nov 17 11:01:11 2024 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=d2060976 media-video/wl-screenrec: Fix *DEPEND and src_* steps Signed-off-by: Henri Gasc eurecom.fr> ....1.6-r1.ebuild => wl-screenrec-0.1.6-r2.ebuild} | 31 +++++++++++++--------- 1 file changed, 19 insertions(+), 12 deletions(-) diff --git a/media-video/wl-screenrec/wl-screenrec-0.1.6-r1.ebuild b/media-video/wl-screenrec/wl-screenrec-0.1.6-r2.ebuild similarity index 77% rename from media-video/wl-screenrec/wl-screenrec-0.1.6-r1.ebuild rename to media-video/wl-screenrec/wl-screenrec-0.1.6-r2.ebuild index 98228fd56..74da5b8ad 100644 --- a/media-video/wl-screenrec/wl-screenrec-0.1.6-r1.ebuild +++ b/media-video/wl-screenrec/wl-screenrec-0.1.6-r2.ebuild @@ -129,14 +129,17 @@ KEYWORDS="~amd64" RESTRICT="test" BDEPEND=" - media-video/ffmpeg:= - x11-libs/libdrm $(llvm_gen_dep ' sys-devel/clang:${LLVM_SLOT} ') " -RDEPEND="${BDEPEND}" -DEPEND="${RDEPEND}" +RDEPEND=" + media-video/ffmpeg:=[vaapi] + x11-libs/libdrm +" +DEPEND=" + ${RDEPEND} +" QA_FLAGS_IGNORED="usr/bin/${PN}" @@ -148,23 +151,27 @@ pkg_setup() { src_compile() { cargo_src_compile - ./"${S}"/target/release/"${PN}" --generate-completions bash > "${S}/wl-screenrec.bash" - ./"${S}"/target/release/"${PN}" --generate-completions fish > "${S}/wl-screenrec.fish" - ./"${S}"/target/release/"${PN}" --generate-completions zsh > "${S}/wl-screenrec.zsh" + ./"$(cargo_target_dir)/${PN}" --generate-completions bash > "${S}/wl-screenrec" || \ + die "Could not generate bash completion" + ./"$(cargo_target_dir)/${PN}" --generate-completions fish > "${S}/wl-screenrec.fish" || \ + die "Could not generate fish completion" + ./"$(cargo_target_dir)/${PN}" --generate-completions zsh > "${S}/_wl-screenrec" || \ + die "Could not generate zsh completion" } src_install() { cargo_src_install - dobashcomp "${S}/wl-screenrec.bash" - dofishcomp "${S}/wl-screenrec.fish" - dozshcomp "${S}/wl-screenrec.zsh" + dobashcomp "${S}/wl-screenrec" || die "Could not install bash completion" + dofishcomp "${S}/wl-screenrec.fish" || die "Could not install fish completion" + dozshcomp "${S}/_wl-screenrec" || die "Could not install zsh completion" } pkg_postinst() { - elog "To use this software, you need vaapi encoding support." - elog "You also need a wayland compositor that supports the" + elog "You need a wayland compositor that supports the" elog "following unstable protocols:" elog " - wlr-output-management-unstable-v1" elog " - wlr-screencopy-unstable-v1" + elog "You should also make sure you have the correct librairies" + elog "installed. See: https://trac.ffmpeg.org/wiki/Hardware/VAAPI" }