File: configure.ac

package info (click to toggle)
revelation 0.5.4-2
  • links: PTS
  • area: main
  • in suites: bullseye
  • size: 2,184 kB
  • sloc: python: 6,243; xml: 244; makefile: 144; sh: 5
file content (67 lines) | stat: -rw-r--r-- 1,578 bytes parent folder | download
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
dnl
dnl configure.ac
dnl
dnl $Id$
dnl

dnl initialize autoconf/automake
AC_PREREQ([2.69])
AC_INIT([revelation],[0.5.4],[https://github.com/mikelolasagasti/revelation/issues],[revelation],[https://revelation.olasagasti.info/])
AM_INIT_AUTOMAKE([1.11 tar-ustar dist-xz no-dist-gzip -Wno-portability foreign])

AM_GNU_GETTEXT_VERSION([0.19.8])
AM_GNU_GETTEXT_REQUIRE_VERSION([0.19.8])
AM_GNU_GETTEXT([external])

RVL_PYTHON_PATH(3.0)
RVL_PYGTK()
RVL_GETTEXT()
RVL_MMAN()
RVL_FDO_MIME()

GLIB_GSETTINGS

RVL_PYTHON_MODULE(Cryptodome, yes)
AX_PYTHON_GI(Gtk, 3.0)
AX_PYTHON_GI(Gio, 2.0)
AX_PYTHON_GI(Pango, 1.0)
AX_PYTHON_GI(Gdk, 3.0)
RVL_PYTHON_MODULE(pwquality, yes)

AC_ARG_VAR([GLIB_COMPILE_RESOURCES],[the glib-compile-resources programme])
AC_PATH_PROG([GLIB_COMPILE_RESOURCES],[glib-compile-resources],[])
if test -z "$GLIB_COMPILE_RESOURCES"; then
  AC_MSG_ERROR([glib-compile-resources not found])
fi

dnl output files
AC_CONFIG_FILES([
	Makefile
	data/Makefile
	data/icons/Makefile
	data/icons/16x16/Makefile
	data/icons/24x24/Makefile
	data/icons/32x32/Makefile
	data/icons/48x48/Makefile
	data/icons/128x128/Makefile
	data/icons/256x256/Makefile
	data/icons/scalable/Makefile
	data/info.olasagasti.revelation.desktop.in
	po/Makefile.in
	po/Makefile
	src/Makefile
	src/bundle/Makefile
	src/lib/Makefile
	src/lib/datahandler/Makefile
])
AC_OUTPUT

echo "

------------------------------------------------------------------
-- revelation compilation options

revelation version:        ${PACKAGE_VERSION}
------------------------------------------------------------------
"