commit: a02168c6688b0358dc5beeabfe1c555ed7f7f533
Author: Matthew Smith <matthew <AT> gentoo <DOT> org>
AuthorDate: Tue Mar 8 18:59:34 2022 +0000
Commit: Matthew Smith <matthew <AT> gentoo <DOT> 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 <ionen <AT> gentoo.org>
Signed-off-by: Matthew Smith <matthew <AT> 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
-}