forked from adapta-project/adapta-gtk-theme
-
Notifications
You must be signed in to change notification settings - Fork 0
/
configure.ac
117 lines (93 loc) · 3.89 KB
/
configure.ac
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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
AC_INIT(
[Adapta ],
3.21.4,
[https://github.com/tista500/Adapta],
[adapta-gtk-theme]
)
AC_CONFIG_MACRO_DIR([m4])
AM_INIT_AUTOMAKE([-Wno-portability no-dist-gzip dist-xz foreign subdir-objects 1.9 tar-ustar])
AC_PREFIX_DEFAULT(/usr)
AM_SILENT_RULES([yes])
ADAPTA_OPTION([PARALLEL], [parallel], [parallel-build], [disable])
ADAPTA_OPTION([GTK_NEXT], [gtk_next], [Gtk-3.22], [disable])
ADAPTA_OPTION([CINNAMON], [cinnamon], [Cinnamon], [disable])
ADAPTA_OPTION([FLASHBACK], [flashback], [Flashback], [disable])
ADAPTA_OPTION([UNITY], [unity], [Unity], [disable])
ADAPTA_OPTION([XFCE], [xfce], [XFce], [disable])
ADAPTA_OPTION([CHROME], [chrome], [Chrome(ium)], [disable])
ADAPTA_OPTION([PLANK], [plank], [Plank], [disable])
if test x"$ENABLE_PARALLEL" = xyes; then
AC_PATH_PROG([PARALLEL], [parallel])
if test x"$PARALLEL" = x; then
AC_MSG_ERROR(['parallel' not found.])
fi
fi
AC_PATH_PROG([BUNDLE], [bundle])
if test x"$BUNDLE" = x; then
AC_MSG_ERROR(['bundle' not found.])
fi
AC_PATH_PROG([SASS], [sass])
if test x"$SASS" = x; then
AC_MSG_ERROR(['sass' not found.])
fi
AC_PATH_PROG([INKSCAPE], [inkscape])
if test x"$INKSCAPE" = x; then
AC_MSG_ERROR(['inkscape' not found.])
fi
AC_PATH_PROG([GLIB_COMPILE_RESOURCES], [glib-compile-resources])
if test x"$GLIB_COMPILE_RESOURCES" = x; then
AC_MSG_ERROR(['glib-compile-resources' not found.])
fi
ADAPTA_COLOR_SCHEME
AC_CONFIG_FILES([ \
Makefile \
gtk/Makefile \
shell/Makefile \
wm/Makefile \
extra/Makefile ])
AC_OUTPUT
AC_MSG_RESULT([
Adapta Gtk+ Theme $VERSION
===========================================================
-----------------------------------------------------------
| Supported Gtk+ version: 3.20 & 3.18
-----------------------------------------------------------
prefix: ${prefix}
datarootdir: ${datarootdir}
target directories: ${datarootdir}/themes/Adapta
${datarootdir}/themes/Adapta-Nokto
parallel-build: $ENABLE_PARALLEL
parallel: $PARALLEL
bundle: $BUNDLE
sass: $SASS
inkscape: $INKSCAPE
glib-compile-resources: $GLIB_COMPILE_RESOURCES
selection-color: $SELECTION (default: $selection_default)
2nd-selection-color: $SECOND_SELECTION (default: $second_selection_default)
accent-color: $ACCENT (default: $accent_default)
suggestion-color: $SUGGESTION (default: $suggestion_default)
destruction-color: $DESTRUCTION (default: $destruction_default)
-----------------------------------------------------------
| Default DE support
-----------------------------------------------------------
GNOME: >= 3.20 (or 3.18)
Budgie-Desktop: >= 10.2.5
-----------------------------------------------------------
| Extra DE support
-----------------------------------------------------------
Cinnamon: $ENABLE_CINNAMON
GNOME-Flashback: $ENABLE_FLASHBACK
Unity: $ENABLE_UNITY
XFce: $ENABLE_XFCE
-----------------------------------------------------------
| Next Gtk+ support
-----------------------------------------------------------
Gtk+ 3.22: $ENABLE_GTK_NEXT
-----------------------------------------------------------
| Extra support
-----------------------------------------------------------
Chrome(ium): $ENABLE_CHROME
Plank: $ENABLE_PLANK
===========================================================
=>> run 'make' and 'sudo make install'
])