~ubuntu-branches/ubuntu/raring/soundconverter/raring-201211220242

« back to all changes in this revision

Viewing changes to configure.in

  • Committer: Bazaar Package Importer
  • Author(s): William Alexander Grant
  • Date: 2006-09-25 07:25:55 UTC
  • mfrom: (1.1.4 upstream)
  • Revision ID: james.westby@ubuntu.com-20060925072555-x4bd5pj4y6dhl86d
Tags: 0.9.1-0ubuntu1
* Preemptive fake sync from Sid. This is actually 0.9.1-1.
* New upstream release.
  - Change gstreamer0.8* dependencies to the equivalent gstreamer0.10 ones
    (Closes: #380473).
  - Drop the Debian .desktop, as there's now one included upstream.
  - Use CDBS, as the new upstream uses autotools.
  - Add python-gtk2 to Build-Depends-Indep, due to autotools detection.
* Bumped debhelper dependency to >= 5.
* New maintainer.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
dnl -*- Mode: autoconf -*-
 
2
dnl Process this file with autoconf to produce a configure script.
 
3
AC_PREREQ(2.53)
 
4
AC_INIT(src/soundconverter.py)
 
5
AM_INIT_AUTOMAKE(soundconverter, 0.9.1)
 
6
 
 
7
m4_define(required_python_abi, 2.3)
 
8
m4_define(required_python_version, 2.3.3)
 
9
m4_define(required_pygtk_version, 2.0)
 
10
 
 
11
dnl put the ACLOCAL flags in the makefile
 
12
ACLOCAL="$ACLOCAL $ACLOCAL_FLAGS"
 
13
 
 
14
ALL_LINGUAS="fr pl pt_BR"
 
15
GETTEXT_PACKAGE=soundconverter
 
16
AC_SUBST(GETTEXT_PACKAGE)
 
17
AC_DEFINE_UNQUOTED(GETTEXT_PACKAGE, "$GETTEXT_PACKAGE", [Gettext package])
 
18
AM_GLIB_GNU_GETTEXT
 
19
AC_PROG_INTLTOOL
 
20
 
 
21
AM_PATH_PYTHON(required_python_version)
 
22
 
 
23
dnl Check for correctly installed pygtk
 
24
AC_MSG_CHECKING(for pygtk required_pygtk_version installed for python required_python_abi)
 
25
prog="
 
26
import pygtk; pygtk.require('2.0')
 
27
import gobject
 
28
assert gobject.pygtk_version >= tuple(map(int, 'required_pygtk_version'.split('.')))
 
29
"
 
30
if $PYTHON -c "$prog" 1>&AC_FD_CC 2>&AC_FD_CC; then
 
31
    AC_MSG_RESULT(found)
 
32
else
 
33
    AC_MSG_RESULT(not found)
 
34
    AC_MSG_ERROR(required pygtk version not found)
 
35
fi
 
36
 
 
37
AC_OUTPUT(
 
38
        Makefile
 
39
        po/Makefile.in
 
40
        src/Makefile
 
41
        data/Makefile
 
42
        data/soundconverter.desktop.in
 
43
        doc/Makefile
 
44
        )