Diff thunar-4.20.10 with a thunar-4.21.7

/usr/portage/xfce-base/thunar/thunar-4.21.7.ebuild 2026-10-13 20:03:07.331912612 +0300
3 3

  
4 4
EAPI=8
5 5

  
6
inherit xdg-utils
6
inherit meson xdg-utils
7 7

  
8 8
DESCRIPTION="File manager for the Xfce desktop environment"
9 9
HOMEPAGE="
10 10
	https://docs.xfce.org/xfce/thunar/start
11 11
	https://gitlab.xfce.org/xfce/thunar/
12 12
"
13
SRC_URI="https://archive.xfce.org/src/xfce/${PN}/${PV%.*}/${P}.tar.bz2"
13
SRC_URI="https://archive.xfce.org/src/xfce/${PN}/${PV%.*}/${P}.tar.xz"
14 14

  
15 15
LICENSE="GPL-2+ LGPL-2+"
16 16
SLOT="0/3"
17
KEYWORDS="amd64 arm arm64 ~loong ~mips ppc ppc64 ~riscv ~sparc x86"
18
IUSE="exif introspection libnotify pcre +trash-panel-plugin udisks"
17
KEYWORDS="~amd64 ~arm ~arm64 ~loong ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86"
18
IUSE="
19
	X exif gtk-doc introspection libcanberra libnotify pcre policykit
20
	+trash-panel-plugin udisks terminal
21
"
19 22

  
20 23
DEPEND="
21 24
	>=dev-libs/glib-2.72.0
22 25
	>=x11-libs/gdk-pixbuf-2.42.8
23
	>=x11-libs/gtk+-3.24.0:3[X]
24
	>=xfce-base/exo-4.19.0:=
25
	>=xfce-base/libxfce4ui-4.17.6:=
26
	>=x11-libs/gtk+-3.24.0:3[X?]
27
	>=x11-libs/pango-1.38.0
28
	>=xfce-base/libxfce4ui-4.21.8:=
26 29
	>=xfce-base/libxfce4util-4.17.2:=
27
	>=xfce-base/xfconf-4.12:=
28
	exif? ( >=media-libs/libexif-0.6.19:= )
30
	>=xfce-base/xfce4-session-4.21.2:=
31
	>=xfce-base/xfconf-4.12.0:=
32
	exif? ( >=media-libs/gexiv2-0.14.0:0 )
29 33
	introspection? ( >=dev-libs/gobject-introspection-1.82.0-r2:= )
30
	libnotify? ( >=x11-libs/libnotify-0.7 )
34
	libcanberra? ( >=media-libs/libcanberra-0.30 )
35
	libnotify? ( >=x11-libs/libnotify-0.7.0 )
31 36
	pcre? ( >=dev-libs/libpcre2-10.0:= )
32
	trash-panel-plugin? ( >=xfce-base/xfce4-panel-4.10:= )
33
	udisks? ( dev-libs/libgudev:= )
37
	trash-panel-plugin? ( >=xfce-base/xfce4-panel-4.14.0:= )
38
	udisks? ( >=dev-libs/libgudev-145:= )
39
	terminal? ( >=x11-libs/vte-0.70:= )
40
	X? (
41
		>=x11-libs/libX11-1.6.7
42
	)
34 43
"
35 44
RDEPEND="
36 45
	${DEPEND}
......
44 53
		virtual/udev
45 54
	)
46 55
"
56
# TODO: should this be BDEPEND too?
57
# https://gitlab.xfce.org/xfce/thunar/-/commit/3b57f79dabdcd52aac8c183530e07fc2ff172958
58
DEPEND+="
59
	policykit? ( sys-auth/polkit )
60
"
61
# glib for glib-compile-resources
47 62
BDEPEND="
48
	dev-util/intltool
63
	dev-build/xfce4-dev-tools
64
	>=dev-libs/glib-2.72.0
65
	dev-libs/libxml2
49 66
	sys-devel/gettext
50 67
	virtual/pkgconfig
68
	gtk-doc? ( dev-util/gtk-doc )
51 69
"
52 70

  
53 71
src_configure() {
54
	local myconf=(
55
		$(use_enable introspection)
56
		$(use_enable udisks gudev)
57
		$(use_enable libnotify notifications)
58
		$(use_enable exif)
59
		$(use_enable pcre pcre2)
60
		$(use_enable trash-panel-plugin tpa-plugin)
72
	local emesonargs=(
73
		$(meson_use gtk-doc)
74
		$(meson_use introspection)
75
		$(meson_feature X x11)
76
		$(meson_feature X session-management)
77
		-Dgio-unix=enabled
78
		$(meson_feature udisks gudev)
79
		$(meson_feature libcanberra)
80
		$(meson_feature libnotify)
81
		$(meson_feature policykit polkit)
82
		$(meson_feature terminal)
83
		-Dthunar-apr=enabled
84
		-Dthunar-sbr=enabled
85
		$(meson_feature exif gexiv2)
86
		$(meson_feature pcre pcre2)
87
		$(meson_feature trash-panel-plugin thunar-tpa)
88
		-Dthunar-wallpaper=enabled
61 89
	)
62

  
63
	econf "${myconf[@]}"
90
	meson_src_configure
64 91
}
65 92

  
66 93
src_install() {
67
	default
68
	find "${D}" -name '*.la' -delete || die
94
	meson_src_install
95
	mv "${ED}"/usr/share/doc/{thunar,${PF}} || die
69 96
}
70 97

  
71 98
pkg_postinst() {
Thank you!