commit:     e205843aab1c4777e71463ed992d1e6307a0e84b
Author:     Michael Orlitzky <mjo <AT> gentoo <DOT> org>
AuthorDate: Sat Dec  6 21:30:16 2025 +0000
Commit:     Michael Orlitzky <mjo <AT> gentoo <DOT> org>
CommitDate: Sat Dec  6 22:05:59 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e205843a

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 <mjo <AT> gentoo.org>

 .../{evolution-3.58.2.ebuild => evolution-3.58.2-r1.ebuild}         | 6 +-----
 1 file changed, 1 insertion(+), 5 deletions(-)

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

Reply via email to