From e205843aab1c4777e71463ed992d1e6307a0e84b Mon Sep 17 00:00:00 2001 From: Michael Orlitzky Date: Sat, 6 Dec 2025 16:30:16 -0500 Subject: [PATCH] mail-client/evolution: fix USE=libnotify in a new revision The libnotify detection used to be automatic and involved an ebuild hack, but now it is handled by the build system: https://gitlab.gnome.org/GNOME/evolution/-/commit/699741f9760150f0 This fixes the libnotifyless build. Signed-off-by: Michael Orlitzky --- .../{evolution-3.58.2.ebuild => evolution-3.58.2-r1.ebuild} | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) rename mail-client/evolution/{evolution-3.58.2.ebuild => evolution-3.58.2-r1.ebuild} (94%) diff --git a/mail-client/evolution/evolution-3.58.2.ebuild b/mail-client/evolution/evolution-3.58.2-r1.ebuild similarity index 94% rename from mail-client/evolution/evolution-3.58.2.ebuild rename to mail-client/evolution/evolution-3.58.2-r1.ebuild index 5218151194a7..031397ef3e1f 100644 --- a/mail-client/evolution/evolution-3.58.2.ebuild +++ b/mail-client/evolution/evolution-3.58.2-r1.ebuild @@ -103,11 +103,6 @@ file from /usr/share/applications if you use a different browser)." # call; if needed, set them after cmake_src_prepare call, if that works src_prepare() { - # libnotify is automagically detected, but a quick and easy way to - # force-disable it is to delete the "yes it's there" variable from - # CMakeLists.txt. - use libnotify || sed '/HAVE_LIBNOTIFY/d' -i CMakeLists.txt || die - cmake_src_prepare gnome2_src_prepare } @@ -136,6 +131,7 @@ src_configure() { -DENABLE_PST_IMPORT=OFF -DWITH_GLADE_CATALOG=OFF -DENABLE_MARKDOWN=ON + -DENABLE_LIBNOTIFY=$(usex libnotify) ) cmake_src_configure