summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2022-10-10 20:07:42 +0200
committerAndreas Sturmlechner <asturm@gentoo.org>2022-10-10 20:09:12 +0200
commit1319a6905b4ff4ef1cba89e35c53d70691cb79b8 (patch)
treeb840d2271d1168fe3bce232b857b876bfebe399d /sys-apps/xdg-desktop-portal
parentdev-python/tree-sitter: Stabilize 0.20.1 ppc64, #876553 (diff)
downloadgentoo-1319a6905b4ff4ef1cba89e35c53d70691cb79b8.tar.gz
gentoo-1319a6905b4ff4ef1cba89e35c53d70691cb79b8.tar.bz2
gentoo-1319a6905b4ff4ef1cba89e35c53d70691cb79b8.zip
sys-apps/xdg-desktop-portal: Add pkg_postinst info about XDP impls
Closes: https://bugs.gentoo.org/845138 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'sys-apps/xdg-desktop-portal')
-rw-r--r--sys-apps/xdg-desktop-portal/xdg-desktop-portal-1.15.0.ebuild14
1 files changed, 14 insertions, 0 deletions
diff --git a/sys-apps/xdg-desktop-portal/xdg-desktop-portal-1.15.0.ebuild b/sys-apps/xdg-desktop-portal/xdg-desktop-portal-1.15.0.ebuild
index c0589cac6847..8a507cb3af1f 100644
--- a/sys-apps/xdg-desktop-portal/xdg-desktop-portal-1.15.0.ebuild
+++ b/sys-apps/xdg-desktop-portal/xdg-desktop-portal-1.15.0.ebuild
@@ -43,3 +43,17 @@ src_configure() {
)
econf "${myeconfargs[@]}"
}
+
+pkg_postinst() {
+ if ! has_version gui-libs/xdg-desktop-portal-lxqt && ! has_version gui-libs/xdg-desktop-portal-wlr && \
+ ! has_version kde-plasma/xdg-desktop-portal-kde && ! has_version sys-apps/xdg-desktop-portal-gnome && \
+ ! has_version sys-apps/xdg-desktop-portal-gtk; then
+ elog "${PN} is not usable without any of the following XDP"
+ elog "implementations installed:"
+ elog " gui-libs/xdg-desktop-portal-lxqt"
+ elog " gui-libs/xdg-desktop-portal-wlr"
+ elog " kde-plasma/xdg-desktop-portal-kde"
+ elog " sys-apps/xdg-desktop-portal-gnome"
+ elog " sys-apps/xdg-desktop-portal-gtk"
+ fi
+}