xfce-base/thunar: Bump to 4.21.2

Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
Michał Górny
2025-07-08 18:48:43 +02:00
parent 95473513dd
commit 5c18f9f3fb
2 changed files with 109 additions and 0 deletions

View File

@@ -1,2 +1,3 @@
DIST thunar-4.20.3.tar.bz2 4530792 BLAKE2B 8e7dadef92676536e548cc759b283fd4e52af2e4d0409b06d1d62c75104e47fd84a99b3d67047056c03dad730ab55d23dc17bd91cb17736b298653920291e242 SHA512 0e559b74c6244607ee3f97507cf6e5f5e9ba4690d8346352a7472c6d374554823a6b728cdce9b9fdffc24037179a94b92661d11082d96baa4c850bd6ea46ee61
DIST thunar-4.21.1.tar.xz 1587060 BLAKE2B c71ada891d855629c8558c915dab13e2127e95a3dd937569ae4c8d2b2d6712abdbdac55a16b6d45a6febd9c919baf3134cd9b959d559a1f7c59a11a818369089 SHA512 3263148881ca67b66a2a011e97526f925037eddbc9d992e30e3f521456ce58d880b96297090ad46ba5450b11bf56ff262560e1b33b8fa9c07a55c96be33371a3
DIST thunar-4.21.2.tar.xz 1593692 BLAKE2B a3c369dca1b674d8e9a7566cb382865f0ee96af570a0c3ccb7dc354f5234e8bac43ab9a1df082a2d7c228340946e1327ef9b6992c5bf8ebb4a2a7527a31cf8c8 SHA512 3d9205784a4b480255231d6f736b63fe4e7196aed4f2da89ddd42170e69e8a79a8d77785483b028d86c2ee9f02386213111f33277364b51116d42ccaaf2a06ea

View File

@@ -0,0 +1,108 @@
# 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.1:=
>=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.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 )
"
# 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 libnotify)
$(meson_feature policykit polkit)
-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
}