xfce-base/thunar: Bump to 4.21.1

Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
Michał Górny 2025-05-16 11:25:21 +02:00
parent 3eae54d45f
commit e2edb8b91b
No known key found for this signature in database
GPG Key ID: 639ADAE2329E240E
2 changed files with 107 additions and 0 deletions

View File

@ -2,3 +2,4 @@ DIST thunar-4.18.11.tar.bz2 2944418 BLAKE2B dc5182192d3c9de2330af0ef236f90939da2
DIST thunar-4.20.2.tar.bz2 4452492 BLAKE2B b75f78a494d608180b1f337eb272ca7a1df2f48b908b349633869e1241053edce689c803734b6845f36f13ba459749253d34649e9567803bb090722dbb388b46 SHA512 c023dc136d10f79f01482207be6f590fa352798bd6fc923910e513bb0774681ac027b2da9aaee4899cd096925225c2c079a5bb9561c0397a0fbc6c844261e214
DIST thunar-4.20.3.tar.bz2 4530792 BLAKE2B 8e7dadef92676536e548cc759b283fd4e52af2e4d0409b06d1d62c75104e47fd84a99b3d67047056c03dad730ab55d23dc17bd91cb17736b298653920291e242 SHA512 0e559b74c6244607ee3f97507cf6e5f5e9ba4690d8346352a7472c6d374554823a6b728cdce9b9fdffc24037179a94b92661d11082d96baa4c850bd6ea46ee61
DIST thunar-4.21.0.tar.xz 1615060 BLAKE2B d1bf4918bac6a561c03cd2c564709cc18365262edba2f5a3155f0eb4f7fd7cf9cde60019afc9f65d9bd1776c438ffb821ceba5f10784123a898707cb54143a57 SHA512 2301a672a58ee8edbf309baf8278bdaffed7d156e1a87d23530cbd9dd16c7735aa3c38738f361a9e082c84d0a671b731bc720e314dd1976736239dbf7cd60042
DIST thunar-4.21.1.tar.xz 1587060 BLAKE2B c71ada891d855629c8558c915dab13e2127e95a3dd937569ae4c8d2b2d6712abdbdac55a16b6d45a6febd9c919baf3134cd9b959d559a1f7c59a11a818369089 SHA512 3263148881ca67b66a2a011e97526f925037eddbc9d992e30e3f521456ce58d880b96297090ad46ba5450b11bf56ff262560e1b33b8fa9c07a55c96be33371a3

View File

@ -0,0 +1,106 @@
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit meson xdg-utils
DESCRIPTION="File manager for the Xfce desktop environment"
HOMEPAGE="
https://docs.xfce.org/xfce/thunar/start
https://gitlab.xfce.org/xfce/thunar/
"
SRC_URI="https://archive.xfce.org/src/xfce/${PN}/${PV%.*}/${P}.tar.xz"
LICENSE="GPL-2+ LGPL-2+"
SLOT="0/3"
KEYWORDS="~amd64 ~arm ~arm64 ~loong ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux"
IUSE="X exif gtk-doc introspection libnotify pcre policykit +trash-panel-plugin udisks"
DEPEND="
>=dev-libs/glib-2.72.0
>=x11-libs/gdk-pixbuf-2.42.8
>=x11-libs/gtk+-3.24.0:3[X?]
>=x11-libs/pango-1.38.0
>=xfce-base/libxfce4ui-4.21.0:=
>=xfce-base/libxfce4util-4.17.2:=
>=xfce-base/xfconf-4.12.0:=
exif? ( >=media-libs/libexif-0.6.0:= )
introspection? ( >=dev-libs/gobject-introspection-1.72.0:= )
libnotify? ( >=x11-libs/libnotify-0.7.0 )
pcre? ( >=dev-libs/libpcre2-10.0:= )
trash-panel-plugin? ( >=xfce-base/xfce4-panel-4.14.0:= )
udisks? ( >=dev-libs/libgudev-145:= )
X? (
>=x11-libs/libICE-1.0.10
>=x11-libs/libSM-1.2.3
>=x11-libs/libX11-1.6.7
)
"
RDEPEND="
${DEPEND}
>=dev-util/desktop-file-utils-0.20-r1
x11-misc/shared-mime-info
trash-panel-plugin? (
>=gnome-base/gvfs-1.18.3
)
udisks? (
>=gnome-base/gvfs-1.18.3[udisks,udev]
virtual/udev
)
"
# TODO: should this be BDEPEND too?
# https://gitlab.xfce.org/xfce/thunar/-/commit/3b57f79dabdcd52aac8c183530e07fc2ff172958
DEPEND+="
policykit? ( sys-auth/polkit )
"
BDEPEND="
dev-build/xfce4-dev-tools
dev-libs/libxml2
sys-devel/gettext
virtual/pkgconfig
gtk-doc? ( dev-util/gtk-doc )
"
src_configure() {
local emesonargs=(
$(meson_use gtk-doc)
$(meson_use introspection)
$(meson_feature X x11)
$(meson_feature X session-management)
-Dgio-unix=enabled
$(meson_feature udisks gudev)
$(meson_feature libnotify)
$(meson_feature policykit polkit)
-Dthunar-apr=enabled
-Dthunar-sbr=enabled
$(meson_feature exif)
$(meson_feature pcre pcre2)
$(meson_feature trash-panel-plugin thunar-tpa)
-Dthunar-uca=enabled
-Dthunar-wallpaper=enabled
)
meson_src_configure
}
src_install() {
meson_src_install
mv "${ED}"/usr/share/doc/{thunar,${PF}} || die
}
pkg_postinst() {
elog "If you were using an older Xfce version and Thunar fails to start"
elog "with a message similar to:"
elog " Failed to register: Timeout was reached"
elog "you may need to reset your xfce4 session:"
elog " rm ~/.cache/sessions/xfce4-session-*"
elog "See https://bugs.gentoo.org/698914."
xdg_desktop_database_update
xdg_icon_cache_update
}
pkg_postrm() {
xdg_desktop_database_update
xdg_icon_cache_update
}