xfce-base/thunar: Bump to 4.21.6

Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
Michał Górny
2026-07-17 11:37:31 +02:00
parent 89ac0be9a5
commit 380c5fa93b
3 changed files with 127 additions and 9 deletions

View File

@@ -1,3 +1,4 @@
DIST thunar-4.20.8.tar.bz2 4549820 BLAKE2B f888ad61a7112d54341f048e39735ba354a848f501437635234d18b891be3bd50ecc3e530c6997761c5b6da16fd25af845202d6a08bbab479d5f06bd06711cfb SHA512 b9e45bacaf01bc60b20e5a1a0a20367f6bbf8b6ab6c8bdb54fd84014e70cb57313c8c0e3f1e11375ee20cd7ca9a4e5d52d9dcb950b66f14a82764819f1369f49
DIST thunar-4.20.9.tar.bz2 4671015 BLAKE2B 280b9a2bdbc483790c6f251619e508c0b6961d2326fcbc4897a264bbad5cfc660e8700a80c5ea3078e991dbb2368bdc64a72c8104ee5128c31b30dbfe90eb7f2 SHA512 f60a46a213acfa0598fd45d1e75752c0bd5d0e62b953e2e1a67c4ff587710912e0cf100fe9bb7e8cf741b42402a80f69fb11f72a9213ecce0e117b6716fe58fa
DIST thunar-4.21.5.tar.xz 1621480 BLAKE2B d4a4a8082dfb5fb54d4f92e7486178eaee1ad89ece61681f253bb730053ae4952f893a89beb977d67426b9b6fc2173d807deb763840ad885cfedaac5f4dc4473 SHA512 c23fe194c7ec15d713f3642ac4bfe82d5d6617bf049f896fba447ea7c0b0b82dca97ea544c5111d5a5f36c9cf2746515f732b8c4337ba3f5ccc421afe26bbdb4
DIST thunar-4.21.6.tar.xz 1651228 BLAKE2B 799404e7549d07d99ed03eb682850a5df52d56bd005fc7a94a9ada485d7b653cfb1346ba70e5c54802722dc9cf0ddccbfb6d806c69d633e5091e5c693e693925 SHA512 58f1d53dac87400d36e3d93c1366c023800a335c5ae0193fb5a42562568ed484cbaa0ec615f0f073dfa1dd0e12c363e046130690e2021d188005f4e3211d3849

View File

@@ -1,13 +1,15 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="project">
<email>xfce@gentoo.org</email>
<name>XFCE Team</name>
</maintainer>
<use>
<flag name="terminal">Enable integrated terminal support</flag>
<flag name="trash-panel-plugin">Build the trash status indicator plugin for
the XFCE panel</flag>
</use>
<maintainer type="project">
<email>xfce@gentoo.org</email>
<name>XFCE Team</name>
</maintainer>
<use>
<flag name="libcanberra">Enable sound event support</flag>
<flag name="terminal">Enable integrated terminal support</flag>
<flag name="trash-panel-plugin">
Build the trash status indicator plugin for the XFCE panel
</flag>
</use>
</pkgmetadata>

View File

@@ -0,0 +1,115 @@
# Copyright 1999-2026 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"
IUSE="
X exif gtk-doc introspection libcanberra libnotify pcre policykit
+trash-panel-plugin udisks terminal
"
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.8:=
>=xfce-base/libxfce4util-4.17.2:=
>=xfce-base/xfconf-4.12.0:=
exif? ( >=media-libs/gexiv2-0.14.0 )
introspection? ( >=dev-libs/gobject-introspection-1.82.0-r2:= )
libcanberra? ( >=media-libs/libcanberra-0.30 )
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:= )
terminal? ( >=x11-libs/vte-0.70:= )
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 )
"
# glib for glib-compile-resources
BDEPEND="
dev-build/xfce4-dev-tools
>=dev-libs/glib-2.72.0
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 libcanberra)
$(meson_feature libnotify)
$(meson_feature policykit polkit)
$(meson_feature terminal)
-Dthunar-apr=enabled
-Dthunar-sbr=enabled
$(meson_feature exif gexiv2)
$(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
}