xfce-base/xfce4-session: Bump to 4.19.3

Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
Michał Górny
2024-11-02 07:58:01 +01:00
parent 64d6139886
commit 245824bbdc
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.2.tar.bz2 1201959 BLAKE2B adc76dddec0fa19872054a1dcd64bc920df71360f42c4befa5b33a6fa8369fc1af2ae8cd9192b9f5412ca196fa6b39824971aa775773debb9d8189736e59a4f5 SHA512 35bc1daccb86791882007ea71516746909b6d69b74465a66533399b72529448bc40a64dc0f1f6cd06ddcc5c48413b728c3cd8eadb467afcc493e6d936c564600
DIST xfce4-session-4.19.3.tar.bz2 1185521 BLAKE2B 9009dc1ec371cd3bc1a820af50c3c52967cbc0894ee1d9ea4d5baa2ac93da592b909061c932bebbf5c6b98e016c0ec78424ea356cb9375eb7383ddf57f3288c4 SHA512 feb0ad9660c6c5b7acc7effea3ed422580b9bfbe584fca340b6da5907fed494faf63bb735aa2ebed5f1960f4ae5ba450071b5a4da95eb63bfc05c7f0b023bfba

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
}