mirror of
https://github.com/termux/termux-packages.git
synced 2025-03-04 05:59:06 +00:00
30 lines
1.0 KiB
Diff
30 lines
1.0 KiB
Diff
# Patch meson to copy mu4e source files even if emacs was not found.
|
|
--- ./meson.build.orig 2022-07-06 09:38:17.491018593 +0530
|
|
+++ ./meson.build 2022-07-06 09:39:41.161018561 +0530
|
|
@@ -274,9 +274,7 @@
|
|
# emacs -- needed for mu4e compilation
|
|
emacs_name=get_option('emacs')
|
|
emacs_min_version='26.3'
|
|
-emacs=find_program([emacs_name], version: '>='+emacs_min_version, required:false)
|
|
-if emacs.found()
|
|
- subdir('man')
|
|
+if true
|
|
subdir('mu4e')
|
|
else
|
|
message('emacs not found; not pre-compiling mu4e / generating manpages')
|
|
--- ./mu4e/meson.build.orig 2022-07-06 09:21:53.456610752 +0530
|
|
+++ ./mu4e/meson.build 2022-07-06 09:36:08.601018642 +0530
|
|
@@ -75,6 +75,7 @@ mu4e_srcs=[
|
|
#
|
|
#... so let's not do that!
|
|
|
|
+if false
|
|
foreach src : mu4e_srcs
|
|
target_name= '@BASENAME@.elc'
|
|
target_path = join_paths(meson.current_build_dir(), target_name)
|
|
@@ -117,6 +118,7 @@ mu4e_autoloads = configure_file(
|
|
'--load', 'package',
|
|
'--eval', '(package-generate-autoloads "mu4e" "' +
|
|
meson.current_build_dir() + '" )'])
|
|
+endif
|