commit:     05b7ed51e2669c9b9c2afc65906e972e3eaac7c3
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Thu Dec 15 15:00:18 2022 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Thu Dec 15 15:04:10 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=05b7ed51

xfce-base/thunar: Bump to 4.18.0

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 xfce-base/thunar/Manifest             |  1 +
 xfce-base/thunar/thunar-4.18.0.ebuild | 86 +++++++++++++++++++++++++++++++++++
 2 files changed, 87 insertions(+)

diff --git a/xfce-base/thunar/Manifest b/xfce-base/thunar/Manifest
index f0b0983889be..71d1d8087e9f 100644
--- a/xfce-base/thunar/Manifest
+++ b/xfce-base/thunar/Manifest
@@ -1,2 +1,3 @@
 DIST thunar-4.16.11.tar.bz2 2326592 BLAKE2B 
0e077f2b4bba613849d3dabaebfa652fd99cc2d1035320016fd4e87597e1af1f6330c2758feead307c6182784de65a358058e2a482f2e287447cdd05d00c8404
 SHA512 
41b390ce269911e4f0b83c07bf910274cf13afcd293389b156457764a0c771dcb87c03976debe0c4ce06c6a5eeca32fd043cbc3e92d4c7ea8fb00da973b06404
 DIST thunar-4.17.12.tar.bz2 2800333 BLAKE2B 
10aaaf3edd9795cf45a54239ef5b38a40cf351a389a8b0c6af2f7011b839e7b76caef6ab2477e73687734c43581eb70a926e1dc3165f0ca242d9ca96b96548b7
 SHA512 
51c764235e00b3fa06388d2028a60119208c1f402965761362d5928e6fc4ac579ac74c60562194f5a1783794b17fde27611a0660a3d05abb64bdd47980264131
+DIST thunar-4.18.0.tar.bz2 2802858 BLAKE2B 
f9e8df57557aad52b600cd6d4f8bc035ba70f8f475a00d85a5110f4f6bf822bc30674581ae2210d0b723b5667306e0a78d3b23474b6dc93aa65f8bb81f3a1617
 SHA512 
0e1ce223d7a94c78e0f13750a1cf9b0676392aff3d1cf32f6a35b624629031d7b09dfe82f26defa5dfe466f876b5a33d0e6cf154b547f97451b4f89b7c3d6215

diff --git a/xfce-base/thunar/thunar-4.18.0.ebuild 
b/xfce-base/thunar/thunar-4.18.0.ebuild
new file mode 100644
index 000000000000..179a67a06509
--- /dev/null
+++ b/xfce-base/thunar/thunar-4.18.0.ebuild
@@ -0,0 +1,86 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit 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.bz2";
+
+LICENSE="GPL-2+ LGPL-2+"
+SLOT="0/3"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv 
~sparc ~x86 ~amd64-linux ~x86-linux ~x86-solaris"
+IUSE="exif introspection libnotify pcre +trash-panel-plugin udisks"
+
+DEPEND="
+       >=dev-libs/glib-2.66.0
+       >=x11-libs/gdk-pixbuf-2.40.0
+       >=x11-libs/gtk+-3.24.0:3
+       >=xfce-base/exo-4.17.0:=
+       >=xfce-base/libxfce4ui-4.17.6:=
+       >=xfce-base/libxfce4util-4.17.2:=
+       >=xfce-base/xfconf-4.12:=
+       exif? ( >=media-libs/libexif-0.6.19:= )
+       introspection? ( dev-libs/gobject-introspection:= )
+       libnotify? ( >=x11-libs/libnotify-0.7 )
+       pcre? ( >=dev-libs/libpcre2-10.0:= )
+       trash-panel-plugin? ( >=xfce-base/xfce4-panel-4.10:= )
+       udisks? ( dev-libs/libgudev:= )
+"
+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
+       )
+"
+BDEPEND="
+       dev-util/intltool
+       sys-devel/gettext
+       virtual/pkgconfig
+"
+
+src_configure() {
+       local myconf=(
+               $(use_enable introspection)
+               $(use_enable udisks gudev)
+               $(use_enable libnotify notifications)
+               $(use_enable exif)
+               $(use_enable pcre pcre2)
+               $(use_enable trash-panel-plugin tpa-plugin)
+       )
+
+       econf "${myconf[@]}"
+}
+
+src_install() {
+       default
+       find "${D}" -name '*.la' -delete || 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
+}

Reply via email to