about summary refs log tree commit diff stats
path: root/examples/emacs
blob: e7348dbfaadd1b978d66bca755782203ec090daa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
# misc :: Emacs -*- bash-ts -*-

# Variables

SOURCE=git://git.sv.gnu.org/emacs.git
CHECKOUT=emacs-29

CONFIGURE_ARGS=(
	--prefix="$MISC_INSTALL_PREFIX"
	--with-cairo
	--with-file-notification=inotify
	--with-imagemagick
	--with-json
	--with-native-compilation=aot # Emacs 29
	--with-tree-sitter=yes        # requires tree-sitter
	--with-x
	--with-x-toolkit=lucid
	--with-xinput2
	--with-xml2
	# --with-xwidgets # requires gtk3
	--without-gconf
	--without-gsettings
)

MISC_DEPENDENCIES=(
	tree-sitter
)

# Plan

install_deps
repo_pull
repo_ready extraclean

with_repo ./autogen.sh
configure
make_install bootstrap