xfce-base/xfce4-session: Bump to 4.19.4

Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
Michał Górny
2024-12-01 17:25:53 +01:00
parent c3c145cd03
commit f8b0e5e715
2 changed files with 90 additions and 0 deletions

View File

@@ -1,2 +1,3 @@
DIST xfce4-session-4.18.4.tar.bz2 922274 BLAKE2B 1ea22b552446f9dd7c1516e854c5dc7101780fba9f44e93a5a66105137607ffa943a539e124f13dc47a170695ebe8d5e59de7cf9c6c27b75dbb50f0d53a7e592 SHA512 dec5006cf69cd44d39c0923d512bfd07123c923627b33a9f232134468cf8a160e329afcf0e61619e7f9a91a453845cbc55a355b6ca9c02e15f55eb7876c8bfc1
DIST xfce4-session-4.19.3.tar.bz2 1185521 BLAKE2B 9009dc1ec371cd3bc1a820af50c3c52967cbc0894ee1d9ea4d5baa2ac93da592b909061c932bebbf5c6b98e016c0ec78424ea356cb9375eb7383ddf57f3288c4 SHA512 feb0ad9660c6c5b7acc7effea3ed422580b9bfbe584fca340b6da5907fed494faf63bb735aa2ebed5f1960f4ae5ba450071b5a4da95eb63bfc05c7f0b023bfba
DIST xfce4-session-4.19.4.tar.bz2 1184586 BLAKE2B 4821b42ccad9dd666cd893e02879fea756d56d167b4c815a5f5065b8497e3d4dbb02cd24f83299bc8d4ffff99d37e5b4a80ad673ee9237327add87c8dfa394ca SHA512 c6cde037c3f25233a0245d59db19c22c393c09cae058519854f4f8965feca4aba822a6ba187986cc70f00e374ed073c935f899166af2e0c277403af95438ac9d

View File

@@ -0,0 +1,89 @@
# 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 ~loong ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux"
IUSE="X nls policykit wayland +xscreensaver"
REQUIRED_USE="|| ( X wayland )"
DEPEND="
>=dev-libs/glib-2.72.0
>=x11-libs/gtk+-3.24.0:3[X?,wayland?]
>=xfce-base/libxfce4util-4.19.2:=
>=xfce-base/libxfce4ui-4.18.4:=
>=xfce-base/libxfce4windowing-4.19.2:=
>=xfce-base/xfconf-4.12.0:=
policykit? ( >=sys-auth/polkit-0.102 )
wayland? (
>=gui-libs/gtk-layer-shell-0.7.0
)
X? (
>=x11-libs/libICE-1.0.10
>=x11-libs/libSM-1.2.3
>=x11-libs/libX11-1.6.7
>=x11-libs/libwnck-3.10.0:3
)
"
RDEPEND="
${DEPEND}
x11-apps/xrdb
nls? ( x11-misc/xdg-user-dirs )
X? (
x11-apps/iceauth
)
xscreensaver? (
|| (
xfce-extra/xfce4-screensaver
>=x11-misc/xscreensaver-5.26
x11-misc/light-locker
)
)
"
BDEPEND="
>=sys-devel/gettext-0.19.8
virtual/pkgconfig
"
src_configure() {
local myconf=(
$(use_enable X x11)
$(use_enable policykit polkit)
$(use_enable wayland)
$(use_enable wayland gtk-layer-shell)
--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
}