diff options
author | Matthew Smith <matthew@gentoo.org> | 2022-03-08 18:59:34 +0000 |
---|---|---|
committer | Matthew Smith <matthew@gentoo.org> | 2022-03-08 19:53:54 +0000 |
commit | a02168c6688b0358dc5beeabfe1c555ed7f7f533 (patch) | |
tree | 512ff2a6b6cf1b330a804570c2083ef8bb97042f /media-gfx/renderdoc | |
parent | media-gfx/ttfautohint: add subslot (diff) | |
download | gentoo-a02168c6688b0358dc5beeabfe1c555ed7f7f533.tar.gz gentoo-a02168c6688b0358dc5beeabfe1c555ed7f7f533.tar.bz2 gentoo-a02168c6688b0358dc5beeabfe1c555ed7f7f533.zip |
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@gentoo.org>
Signed-off-by: Matthew Smith <matthew@gentoo.org>
Diffstat (limited to 'media-gfx/renderdoc')
-rw-r--r-- | media-gfx/renderdoc/renderdoc-1.18-r1.ebuild | 10 |
1 files changed, 1 insertions, 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 -} |