mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2025-12-21 21:17:37 -08:00
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:
parent
63e7c819a6
commit
e205843aab
@ -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
|
||||
Loading…
x
Reference in New Issue
Block a user