-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathconfigure.ac
72 lines (55 loc) · 1.75 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
dnl minimum required version of autoconf
AC_PREREQ([2.60])
dnl initialize autoconf
AC_INIT([Desktop Entry Editor],
[0.1.2],
[https://github.com/Quixotix/desktop-entry-editor/issues],
[desktop-entry-editor],
[https://github.com/Quixotix/desktop-entry-editor])
AC_CONFIG_SRCDIR([src/dee/application.py])
AC_CONFIG_MACRO_DIR([m4])
AM_INIT_AUTOMAKE
dnl check for glib2 (required for GLIB_GSETTINGS macro to work)
PKG_CHECK_MODULES([GLIB], [glib-2.0 >= 2.28])
dnl check for required pythonmodules
AM_PATH_PYTHON([2.5])
AX_PYTHON_MODULE([xdg], [pyxdg])
AX_PYTHON_MODULE([gi.repository], [pygobject3])
AX_PYTHON_MODULE([gi.repository.GObject], [glib2])
AX_PYTHON_MODULE([gi.repository.Pango], [pango])
AX_PYTHON_MODULE([gi.repository.Gtk], [gtk3])
AX_PYTHON_MODULE([gi.repository.GtkSource], [gtksourceview3])
dnl check for optional python modules
dnl gettext
IT_PROG_INTLTOOL([0.35.0])
GETTEXT_PACKAGE=desktop-entry-editor
AC_SUBST(GETTEXT_PACKAGE)
AC_DEFINE_UNQUOTED(GETTEXT_PACKAGE, "$GETTEXT_PACKAGE", [The gettext package])
AM_GLIB_GNU_GETTEXT
dnl GSettings
GLIB_GSETTINGS
dnl generate output
AC_OUTPUT([
Makefile
data/Makefile
data/desktop-entry-editor.desktop
data/icons/Makefile
data/icons/hicolor/Makefile
data/icons/hicolor/16x16/Makefile
data/icons/hicolor/16x16/apps/Makefile
data/icons/hicolor/22x22/Makefile
data/icons/hicolor/22x22/apps/Makefile
data/icons/hicolor/24x24/Makefile
data/icons/hicolor/24x24/apps/Makefile
data/icons/hicolor/32x32/Makefile
data/icons/hicolor/32x32/apps/Makefile
data/icons/hicolor/48x48/Makefile
data/icons/hicolor/48x48/apps/Makefile
data/icons/hicolor/scalable/Makefile
data/icons/hicolor/scalable/apps/Makefile
data/ui/Makefile
po/Makefile.in
src/Makefile
src/desktop-entry-editor
src/dee/Makefile
])