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@gentoo.org>
This commit is contained in:
Michael Orlitzky 2025-12-06 16:30:16 -05:00
parent 63e7c819a6
commit e205843aab
No known key found for this signature in database
GPG Key ID: 6F48D3DA05C2DADB

View File

@ -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