commit:     9ba63e5e6d6f8a7f0e18a641863a03f5bdd2a527
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Mon Oct 17 15:26:51 2022 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Mon Oct 17 15:29:33 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9ba63e5e

xfce-base/thunar: Fix building with USE=-libnotify

Closes: https://bugs.gentoo.org/877321
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 xfce-base/thunar/Manifest              |  1 +
 xfce-base/thunar/thunar-4.17.10.ebuild | 10 +++++++++-
 2 files changed, 10 insertions(+), 1 deletion(-)

diff --git a/xfce-base/thunar/Manifest b/xfce-base/thunar/Manifest
index e78573af2867..f5dccb495b09 100644
--- a/xfce-base/thunar/Manifest
+++ b/xfce-base/thunar/Manifest
@@ -1,3 +1,4 @@
 DIST thunar-4.16.11.tar.bz2 2326592 BLAKE2B 
0e077f2b4bba613849d3dabaebfa652fd99cc2d1035320016fd4e87597e1af1f6330c2758feead307c6182784de65a358058e2a482f2e287447cdd05d00c8404
 SHA512 
41b390ce269911e4f0b83c07bf910274cf13afcd293389b156457764a0c771dcb87c03976debe0c4ce06c6a5eeca32fd043cbc3e92d4c7ea8fb00da973b06404
+DIST thunar-4.17.10-no-libnotify.patch 5069 BLAKE2B 
1277e1ecd773da366c3cf4dd97415024474152207e6b8029222ad085b91408cb69f2115e9d9aa380aab5f4dfedb84a9d367902261151ffd1950dd69471669478
 SHA512 
8e5f96d03861c350fa077d7cb6b69b25ed4c2518d9488862ac60bca45fe4b9ee518dfcf4d34d6a0301c9472677eab459db16c022ae0145130fc3680656cd1128
 DIST thunar-4.17.10.tar.bz2 2796649 BLAKE2B 
3d18bddc1c07bc7ed7aac7334a83d8cd6abc5c455f217db34edb36d6fe10ee3d0176e29472e799d0013635dec23578886abea0859b3691047e0e97d671651f2f
 SHA512 
61e0d49016bce27a47f1fd6af12638fd8ab096976cc3a29c473a1b0ffcfca8bd9f624b02509846c3fae1425ca1748ea3ad1db0935e09e9af0653056c33570b63
 DIST thunar-4.17.9.tar.bz2 2786205 BLAKE2B 
2b497e8653fe83581fcec78959dafce3764c98564cfa36bfe26a7cdf2aa3f0b8bf7c41b5e002ca3999931c21856adec74ea2f5f3d863da89bd6e89025f5a83c1
 SHA512 
029d7e893cbe38d5c968dd9ac6141b52c513bcb7bb1c9a566082e51bd86f22993acf8ba65cba05d341558a06c57aa36e51dbf702044fd3ea0176a88fae158cc2

diff --git a/xfce-base/thunar/thunar-4.17.10.ebuild 
b/xfce-base/thunar/thunar-4.17.10.ebuild
index f46b2ce1f0ca..dfbcd75a9c24 100644
--- a/xfce-base/thunar/thunar-4.17.10.ebuild
+++ b/xfce-base/thunar/thunar-4.17.10.ebuild
@@ -10,7 +10,11 @@ HOMEPAGE="
        https://www.xfce.org/projects/
        https://docs.xfce.org/xfce/thunar/start
 "
-SRC_URI="https://archive.xfce.org/src/xfce/${PN}/${PV%.*}/${P}.tar.bz2";
+SRC_URI="
+       https://archive.xfce.org/src/xfce/${PN}/${PV%.*}/${P}.tar.bz2
+       
https://gitlab.xfce.org/xfce/thunar/-/commit/697e188d1847aaf37a755f39625bfaa3e1979c7e.patch
+               -> ${P}-no-libnotify.patch
+"
 
 LICENSE="GPL-2+ LGPL-2+"
 SLOT="0/3"
@@ -50,6 +54,10 @@ BDEPEND="
        virtual/pkgconfig
 "
 
+PATCHES=(
+       "${DISTDIR}/${P}-no-libnotify.patch"
+)
+
 src_configure() {
        local myconf=(
                $(use_enable introspection)

Reply via email to