summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2024-06-09 19:29:37 +0200
committerMichał Górny <mgorny@gentoo.org>2024-06-09 19:31:02 +0200
commit6f46e6810c297a6c94f2914a107f0c2153727413 (patch)
tree9394881b45fed132f8b253236fee2e2051a40619 /xfce-base
parentxfce-base/xfce4-power-manager: add 4.18.4 (diff)
downloadgentoo-6f46e6810c297a6c94f2914a107f0c2153727413.tar.gz
gentoo-6f46e6810c297a6c94f2914a107f0c2153727413.tar.bz2
gentoo-6f46e6810c297a6c94f2914a107f0c2153727413.zip
xfce-base/xfce4-session: Bump to 4.18.4
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'xfce-base')
-rw-r--r--xfce-base/xfce4-session/Manifest1
-rw-r--r--xfce-base/xfce4-session/xfce4-session-4.18.4.ebuild77
2 files changed, 78 insertions, 0 deletions
diff --git a/xfce-base/xfce4-session/Manifest b/xfce-base/xfce4-session/Manifest
index 27238bd3489b..c1af40631f6d 100644
--- a/xfce-base/xfce4-session/Manifest
+++ b/xfce-base/xfce4-session/Manifest
@@ -1,2 +1,3 @@
DIST xfce4-session-4.18.3.tar.bz2 875517 BLAKE2B bc729218fb845589655e5cd35c15dab3a3fad931b348098e052212b60c52214727af734641512590f85c88cd36d2db160d8e24d98ad34d47358469c466da9f38 SHA512 65314472049c973af4b7553ec969691dfe701af2addb8cb63aebb49ff1b61ddb9e1418b2969e5eac69fd32096dd3163b7bf28fefe1d8c130c46bd5dd2bfe126c
+DIST xfce4-session-4.18.4.tar.bz2 922274 BLAKE2B 1ea22b552446f9dd7c1516e854c5dc7101780fba9f44e93a5a66105137607ffa943a539e124f13dc47a170695ebe8d5e59de7cf9c6c27b75dbb50f0d53a7e592 SHA512 dec5006cf69cd44d39c0923d512bfd07123c923627b33a9f232134468cf8a160e329afcf0e61619e7f9a91a453845cbc55a355b6ca9c02e15f55eb7876c8bfc1
DIST xfce4-session-4.19.2.tar.bz2 1201959 BLAKE2B adc76dddec0fa19872054a1dcd64bc920df71360f42c4befa5b33a6fa8369fc1af2ae8cd9192b9f5412ca196fa6b39824971aa775773debb9d8189736e59a4f5 SHA512 35bc1daccb86791882007ea71516746909b6d69b74465a66533399b72529448bc40a64dc0f1f6cd06ddcc5c48413b728c3cd8eadb467afcc493e6d936c564600
diff --git a/xfce-base/xfce4-session/xfce4-session-4.18.4.ebuild b/xfce-base/xfce4-session/xfce4-session-4.18.4.ebuild
new file mode 100644
index 000000000000..8e6a0ac408b8
--- /dev/null
+++ b/xfce-base/xfce4-session/xfce4-session-4.18.4.ebuild
@@ -0,0 +1,77 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit xdg-utils
+
+DESCRIPTION="A session manager for the Xfce desktop environment"
+HOMEPAGE="
+ https://docs.xfce.org/xfce/xfce4-session/start
+ https://gitlab.xfce.org/xfce/xfce4-session
+"
+SRC_URI="https://archive.xfce.org/src/xfce/${PN}/${PV%.*}/${P}.tar.bz2"
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux"
+IUSE="nls policykit +xscreensaver"
+
+DEPEND="
+ >=dev-libs/glib-2.66.0
+ >=x11-libs/gtk+-3.24.0:3
+ x11-libs/libSM
+ x11-libs/libwnck:3
+ x11-libs/libX11
+ >=xfce-base/libxfce4util-4.17.2:=
+ >=xfce-base/libxfce4ui-4.18.2:=
+ >=xfce-base/xfconf-4.12:=
+ policykit? ( >=sys-auth/polkit-0.102 )
+"
+RDEPEND="
+ ${DEPEND}
+ x11-apps/iceauth
+ x11-apps/xrdb
+ nls? ( x11-misc/xdg-user-dirs )
+ xscreensaver? (
+ || (
+ xfce-extra/xfce4-screensaver
+ >=x11-misc/xscreensaver-5.26
+ x11-misc/light-locker
+ )
+ )
+"
+BDEPEND="
+ dev-util/intltool
+ sys-devel/gettext
+ virtual/pkgconfig
+"
+
+src_configure() {
+ local myconf=(
+ $(use_enable policykit polkit)
+ --with-xsession-prefix="${EPREFIX}"/usr
+ ICEAUTH="${EPREFIX}"/usr/bin/iceauth
+ )
+
+ econf "${myconf[@]}"
+}
+
+src_install() {
+ default
+ find "${ED}" -name '*.la' -delete || die
+
+ exeinto /etc/X11/Sessions
+ newexe - Xfce4 <<-EOF
+ startxfce4
+ EOF
+ dosym Xfce4 /etc/X11/Sessions/Xfce
+}
+
+pkg_postinst() {
+ xdg_icon_cache_update
+}
+
+pkg_postrm() {
+ xdg_icon_cache_update
+}