~timo-jyrinki/ubuntu/trusty/pitivi/backport_utopic_fixes

« back to all changes in this revision

Viewing changes to configure.ac

  • Committer: Package Import Robot
  • Author(s): Sebastian Dröge
  • Date: 2014-04-05 15:28:16 UTC
  • mfrom: (6.1.13 sid)
  • Revision ID: package-import@ubuntu.com-20140405152816-6lijoax4cngiz5j5
Tags: 0.93-3
* debian/control:
  + Depend on python-gi (>= 3.10), older versions do not work
    with pitivi (Closes: #732813).
  + Add missing dependency on gir1.2-clutter-gst-2.0 (Closes: #743692).
  + Add suggests on gir1.2-notify-0.7 and gir1.2-gnomedesktop-3.0.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
AC_PREREQ(2.52)
2
2
 
 
3
dnl Note for packagers: see pitivi/check.py for the dependencies
 
4
 
3
5
dnl initialize autoconf
4
6
dnl when going to/from release please set the nano (fourth number) right !
5
7
dnl releases only do Wall, cvs and prerelease does Werror too
6
 
AC_INIT(PiTiVi, 0.15.2,
 
8
AC_INIT(Pitivi, 0.93,
7
9
    https://bugzilla.gnome.org/browse.cgi?product=pitivi,
8
10
    pitivi)
9
11
 
 
12
LT_INIT()
 
13
 
10
14
dnl initialize automake
11
15
AM_INIT_AUTOMAKE
12
16
 
13
17
dnl define PACKAGE_VERSION_* variables
14
18
AS_VERSION
15
19
 
16
 
dnl check if this is a release version
17
 
AS_NANO(PITIVI_CVS="no", PITIVI_CVS="yes")
18
 
 
19
20
dnl can autoconf find the source ?
20
21
AC_CONFIG_SRCDIR([pitivi/application.py])
21
22
 
22
 
 
23
23
AC_SUBST_FILE(AUTHORS)
24
24
AUTHORS=$srcdir/AUTHORS
25
25
 
26
 
dnl Note for packagers
27
 
dnl The following requirements are run-time requirements,
28
 
dnl make sure you don't forget them, even though you're able to
29
 
dnl build pitivi without them.
30
 
dnl
31
 
dnl For a more exhaustive list of checks, you can have a look at
32
 
dnl the runtime checks in pitivi/check.py
33
 
 
34
 
AC_SUBST(GTK_REQ, 2.24.0)
35
 
AC_SUBST(PYGTK_REQ, 2.17.0)
36
 
AC_SUBST(PYGST_REQ, 0.10.19)
37
 
AC_SUBST(GST_REQ, 0.10.28)
38
 
AC_SUBST(GNONLIN_REQ, 0.10.16)
39
 
AC_SUBST(PYCAIRO_REQ, 1.0.0)
40
 
 
41
 
AM_INIT_AUTOMAKE($PACKAGE, $VERSION)
 
26
AM_INIT_AUTOMAKE([foreign])
42
27
AC_SUBST(ACLOCAL_AMFLAGS, "-I common/m4")
43
28
 
44
29
AS_AC_EXPAND(LIBDIR, $libdir)
53
38
AS_AC_EXPAND(LOCALSTATEDIR, $localstatedir)
54
39
AC_MSG_NOTICE(Using localstatedir $LOCALSTATEDIR)
55
40
 
56
 
dnl check for python
57
 
AS_PATH_PYTHON(2.5)
 
41
dnl python checks (you can change the required python version bellow)
 
42
AM_PATH_PYTHON(2.7.0)
 
43
PY_PREFIX=`$PYTHON -c 'import sys ; print sys.prefix'`
 
44
PYTHON_LIBS="-lpython$PYTHON_VERSION"
 
45
PYTHON_CFLAGS="-I$PY_PREFIX/include/python$PYTHON_VERSION"
 
46
AC_SUBST([PYTHON_LIBS])
 
47
AC_SUBST([PYTHON_CFLAGS])
58
48
 
59
49
dnl ALL_LINGUAS="fr"
60
50
GETTEXT_PACKAGE="pitivi"
61
51
AC_SUBST([GETTEXT_PACKAGE])
62
52
AC_DEFINE_UNQUOTED([GETTEXT_PACKAGE], "$GETTEXT_PACKAGE", [Gettext package])
63
53
AM_GLIB_GNU_GETTEXT
64
 
IT_PROG_INTLTOOL([0.35.0])
 
54
m4_ifdef([IT_PROG_INTLTOOL],
 
55
         [IT_PROG_INTLTOOL([0.35.0])],
 
56
         [AC_MSG_ERROR("The IT_PROG_INTLTOOL m4 macro is not available. Install intltool.")])
65
57
 
66
58
CONFIGURED_PYTHONPATH=$PYTHONPATH
67
59
AC_SUBST(CONFIGURED_PYTHONPATH)
72
64
CONFIGURED_GST_PLUGIN_PATH=$GST_PLUGIN_PATH
73
65
AC_SUBST(CONFIGURED_GST_PLUGIN_PATH)
74
66
 
 
67
CONFIGURED_GI_TYPELIB_PATH=$GI_TYPELIB_PATH
 
68
AC_SUBST(CONFIGURED_GI_TYPELIB_PATH)
 
69
 
75
70
AC_CONFIG_FILES([bin/pitivi], [chmod +x bin/pitivi])
76
71
 
77
 
GNOME_DOC_INIT([0.18.0])
 
72
PKG_CHECK_MODULES([cairo], [cairo])
 
73
PKG_CHECK_MODULES([pycairo], [pycairo])
 
74
 
 
75
AC_ARG_ENABLE(help,
 
76
  AS_HELP_STRING([--disable-help],[disable help]),
 
77
  [
 
78
    case "${enableval}" in
 
79
      yes) BUILD_HELP=yes ;;
 
80
      no)  BUILD_HELP=no ;;
 
81
      *)   AC_MSG_ERROR(bad value ${enableval} for --disable-help) ;;
 
82
    esac
 
83
  ],
 
84
[BUILD_HELP=yes]) dnl Default value
 
85
AM_CONDITIONAL(BUILD_HELP, test "x$BUILD_HELP" = "xyes")
 
86
 
 
87
if test x$BUILD_HELP = xyes; then
 
88
  YELP_HELP_INIT
 
89
fi
78
90
 
79
91
dnl output stuff
80
92
AC_OUTPUT(
85
97
help/Makefile
86
98
pitivi/Makefile
87
99
pitivi/configure.py
88
 
pitivi/ui/Makefile
89
 
pitivi/elements/Makefile
90
 
pitivi/factories/Makefile
91
 
pitivi/log/Makefile
92
 
pitivi/formatters/Makefile
 
100
pitivi/dialogs/Makefile
 
101
pitivi/undo/Makefile
 
102
pitivi/utils/Makefile
93
103
pitivi/timeline/Makefile
94
 
pitivi.spec
 
104
pitivi/coptimizations/Makefile
95
105
po/Makefile.in
96
106
tests/Makefile
97
107
data/Makefile
102
112
data/icons/24x24/Makefile
103
113
data/icons/32x32/Makefile
104
114
data/icons/48x48/Makefile
105
 
data/icons/scalable/Makefile
 
115
data/icons/256x256/Makefile
 
116
data/icons/512x512/Makefile
106
117
data/pixmaps/Makefile
107
118
data/ui/Makefile
108
119
data/renderpresets/Makefile