summaryrefslogtreecommitdiff
path: root/xfce-base/xfce4-session
diff options
context:
space:
mode:
authorLiguros - Gitlab CI/CD [develop] <gitlab@liguros.net>2024-03-09 18:37:02 +0000
committerLiguros - Gitlab CI/CD [develop] <gitlab@liguros.net>2024-03-09 18:37:02 +0000
commit55e484d799f2a98d05e4cf623231974931e0001a (patch)
tree08843da883ae0e0569a2253e6f1b33dfa6d0dbce /xfce-base/xfce4-session
parent2a0c56a1b1aa7531107ace4150cc49824f1c482d (diff)
downloadbaldeagleos-repo-55e484d799f2a98d05e4cf623231974931e0001a.tar.gz
baldeagleos-repo-55e484d799f2a98d05e4cf623231974931e0001a.tar.xz
baldeagleos-repo-55e484d799f2a98d05e4cf623231974931e0001a.zip
Adding metadata
Diffstat (limited to 'xfce-base/xfce4-session')
-rw-r--r--xfce-base/xfce4-session/xfce4-session-4.18.3-r1.ebuild (renamed from xfce-base/xfce4-session/xfce4-session-4.18.3.ebuild)14
-rw-r--r--xfce-base/xfce4-session/xfce4-session-4.19.1-r1.ebuild (renamed from xfce-base/xfce4-session/xfce4-session-4.19.1.ebuild)14
2 files changed, 26 insertions, 2 deletions
diff --git a/xfce-base/xfce4-session/xfce4-session-4.18.3.ebuild b/xfce-base/xfce4-session/xfce4-session-4.18.3-r1.ebuild
index 6c91ba8afe5f..0d8fcab79d15 100644
--- a/xfce-base/xfce4-session/xfce4-session-4.18.3.ebuild
+++ b/xfce-base/xfce4-session/xfce4-session-4.18.3-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -66,6 +66,18 @@ src_install() {
startxfce4
EOF
dosym Xfce4 /etc/X11/Sessions/Xfce
+
+ if [[ -f ${ED}/usr/share/xdg-desktop-portal/xfce-portals.conf ]]; then
+ die "Please remove the xfce-portals.conf hack"
+ fi
+ insinto /usr/share/xdg-desktop-portal
+ # https://gitlab.xfce.org/xfce/xfce4-session/-/blob/master/xfce4-session/xfce-portals.conf
+ newins - xfce-portals.conf <<-EOF
+ [preferred]
+ default=gtk;
+ org.freedesktop.impl.portal.Wallpaper=xapp;gtk;
+ org.freedesktop.impl.portal.Screenshot=xapp;gtk;
+ EOF
}
pkg_postinst() {
diff --git a/xfce-base/xfce4-session/xfce4-session-4.19.1.ebuild b/xfce-base/xfce4-session/xfce4-session-4.19.1-r1.ebuild
index 85ee23d89717..563047e907f0 100644
--- a/xfce-base/xfce4-session/xfce4-session-4.19.1.ebuild
+++ b/xfce-base/xfce4-session/xfce4-session-4.19.1-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -65,6 +65,18 @@ src_install() {
startxfce4
EOF
dosym Xfce4 /etc/X11/Sessions/Xfce
+
+ if [[ -f ${ED}/usr/share/xdg-desktop-portal/xfce-portals.conf ]]; then
+ die "Please remove the xfce-portals.conf hack"
+ fi
+ insinto /usr/share/xdg-desktop-portal
+ # https://gitlab.xfce.org/xfce/xfce4-session/-/blob/master/xfce4-session/xfce-portals.conf
+ newins - xfce-portals.conf <<-EOF
+ [preferred]
+ default=gtk;
+ org.freedesktop.impl.portal.Wallpaper=xapp;gtk;
+ org.freedesktop.impl.portal.Screenshot=xapp;gtk;
+ EOF
}
pkg_postinst() {