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 D8C1115808B for ; Tue, 8 Mar 2022 23:32:46 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 0AEB2E085B; Tue, 8 Mar 2022 23:32:46 +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 E00E5E085B for ; Tue, 8 Mar 2022 23:32:45 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (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 B71B4343074 for ; Tue, 8 Mar 2022 23:32:44 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id D3DA12E0 for ; Tue, 8 Mar 2022 19:54:19 +0000 (UTC) From: "Matthew Smith" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Matthew Smith" Message-ID: <1646769234.a02168c6688b0358dc5beeabfe1c555ed7f7f533.matthew@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: media-gfx/renderdoc/ X-VCS-Repository: repo/gentoo X-VCS-Files: media-gfx/renderdoc/renderdoc-1.18-r1.ebuild X-VCS-Directories: media-gfx/renderdoc/ X-VCS-Committer: matthew X-VCS-Committer-Name: Matthew Smith X-VCS-Revision: a02168c6688b0358dc5beeabfe1c555ed7f7f533 X-VCS-Branch: master Date: Tue, 8 Mar 2022 19:54:19 +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: f62251b7-d053-423a-bad8-448fd076340d X-Archives-Hash: 1ddf114cebfa9e9450d694a528d5526a commit: a02168c6688b0358dc5beeabfe1c555ed7f7f533 Author: Matthew Smith gentoo org> AuthorDate: Tue Mar 8 18:59:34 2022 +0000 Commit: Matthew Smith gentoo org> CommitDate: Tue Mar 8 19:53:54 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a02168c6 media-gfx/renderdoc: unconditionally call xdg helpers xdg_pkg_* helpers safely do nothing if there is nothing to be done, therefore they can be called unconditionally. Suggested-by: Ionen Wolkens gentoo.org> Signed-off-by: Matthew Smith gentoo.org> media-gfx/renderdoc/renderdoc-1.18-r1.ebuild | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/media-gfx/renderdoc/renderdoc-1.18-r1.ebuild b/media-gfx/renderdoc/renderdoc-1.18-r1.ebuild index aca43a4ec9e9..d69cea877735 100644 --- a/media-gfx/renderdoc/renderdoc-1.18-r1.ebuild +++ b/media-gfx/renderdoc/renderdoc-1.18-r1.ebuild @@ -175,16 +175,8 @@ src_compile() { docs_compile } -pkg_preinst() { - use qt5 && xdg_pkg_preinst -} - pkg_postinst() { - use qt5 && xdg_pkg_postinst + xdg_pkg_postinst optfeature "android remote contexts" dev-util/android-tools optfeature "vulkan contexts" media-libs/vulkan-loader } - -pkg_postrm() { - use qt5 && xdg_pkg_postrm -}