~ubuntu-branches/debian/sid/brasero/sid

« back to all changes in this revision

Viewing changes to configure.in

  • Committer: Package Import Robot
  • Author(s): Michael Biebl
  • Date: 2011-11-19 14:00:13 UTC
  • mfrom: (5.1.6 experimental)
  • Revision ID: package-import@ubuntu.com-20111119140013-9dnkj4de9z9lzceo
Tags: 3.2.0-2
* Upload to unstable.
* debian/control.in:
  - Make libbrasero-media3-dev depend on gir1.2-brasero-3.0.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
dnl Process this file with autoconf to produce a configure script.
2
 
AC_INIT([brasero],[3.0.0])
 
2
AC_INIT([brasero],[3.2.0])
3
3
AC_CONFIG_SRCDIR(src/main.c)
4
4
 
5
5
BRASERO_MAJOR_VERSION=3
6
 
BRASERO_MINOR_VERSION=0
 
6
BRASERO_MINOR_VERSION=2
7
7
BRASERO_SUB=0
8
8
BRASERO_VERSION=$BRASERO_MAJOR_VERSION.$BRASERO_MINOR_VERSION.$BRASERO_SUB
9
9
 
48
48
AC_DISABLE_STATIC
49
49
LT_INIT
50
50
 
51
 
AM_MAINTAINER_MODE
 
51
AM_MAINTAINER_MODE([enable])
52
52
 
53
53
dnl **************** Support GSettings *************************
54
54
GLIB_GSETTINGS
138
138
AC_SYS_LARGEFILE
139
139
 
140
140
dnl ********** Required libraries **********************
141
 
GLIB_REQUIRED=2.28.0
 
141
GLIB_REQUIRED=2.29.14
142
142
GTHREAD_REQUIRED=2.6.0
143
143
GMODULE_REQUIRED=2.6.0
144
144
GMODULE_EXPORT_REQUIRED=2.6.0
145
145
GIO_REQUIRED=2.28.0
146
 
GCONF_REQUIRED=2.32.0 
147
146
GSTREAMER_REQUIRED=0.10.15
148
147
GSTREAMER_BASE_REQUIRED=0.10.0
149
148
LIBXML2_REQUIRED=2.6.0
188
187
AC_SUBST(BRASERO_GLIB_CFLAGS)
189
188
AC_SUBST(BRASERO_GLIB_LIBS)
190
189
 
191
 
PKG_CHECK_MODULES(BRASERO_GCONF,                \
192
 
        gconf-2.0 >= $GCONF_REQUIRED)
193
 
 
194
 
AC_SUBST(BRASERO_GCONF_CFLAGS)
195
 
AC_SUBST(BRASERO_GCONF_LIBS)
196
 
 
197
190
PKG_CHECK_MODULES(BRASERO_GMODULE,              \
198
191
        gmodule-2.0 >= $GMODULE_REQUIRED)
199
192
 
372
365
fi
373
366
AM_CONDITIONAL(BUILD_GROWISOFS, test x"$build_growisofs" = "xyes")
374
367
 
375
 
BEAGLE_REQUIRED=0.3.0
376
 
TRACKER_REQUIRED=0.8.0
 
368
TRACKER_REQUIRED=0.10.0
377
369
 
378
370
AC_ARG_ENABLE(search,
379
371
                        AS_HELP_STRING([--enable-search],[Build search pane (if a search backend is available) [[default=auto]]]),
380
372
                        [case "$enableval" in
381
 
                                "auto")    enable_search="yes" ;;
382
 
                                "yes")     enable_search="yes" ;;
383
 
                                "no")      enable_search="no" ;;
384
 
                                "tracker") enable_search="tracker" ;;
385
 
                                "beagle")  enable_search="beagle" ;;
 
373
                                "auto"|"yes"|"no") ;;
386
374
                                *)         echo "Unknown option"; exit 2 ;;
387
375
                        esac],
388
 
                        [enable_search="yes"])
389
 
 
390
 
if test x"$enable_search" = "xtracker"; then
391
 
        PKG_CHECK_MODULES(BRASERO_SEARCH, tracker-sparql-0.10 >= $TRACKER_REQUIRED)
 
376
                        [enable_search="auto"])
 
377
 
 
378
if test x"$enable_search" = "xauto"; then
 
379
        PKG_CHECK_EXISTS([tracker-sparql-0.12 >= $TRACKER_REQUIRED],
 
380
                          [enable_search=yes],
 
381
                          [PKG_CHECK_EXISTS([tracker-sparql-0.10 >= $TRACKER_REQUIRED],
 
382
                                            [enable_search=yes],
 
383
                                            [enable_search=no])]);
 
384
fi
 
385
 
 
386
if test x"$enable_search" = "xyes"; then
 
387
        PKG_CHECK_EXISTS([tracker-sparql-0.12 >= $TRACKER_REQUIRED],
 
388
                         [tracker_api=0.12], [tracker_api=0.10])
 
389
        PKG_CHECK_MODULES(BRASERO_SEARCH, tracker-sparql-$tracker_api >= $TRACKER_REQUIRED)
392
390
        AC_DEFINE(BUILD_SEARCH, 1, [define if you  want to use search pane])
393
391
        AC_DEFINE(BUILD_TRACKER, 1, [define if you  want to use search pane])
394
392
        AC_SUBST(BRASERO_SEARCH_CFLAGS)
395
393
        AC_SUBST(BRASERO_SEARCH_LIBS)
396
 
        build_beagle="no"
397
394
        build_tracker="yes"
398
395
        build_search="yes"
399
 
elif test x"$enable_search" = "xbeagle"; then
400
 
        PKG_CHECK_MODULES(BRASERO_SEARCH, libbeagle-1.0 >= $BEAGLE_REQUIRED)
401
 
        AC_DEFINE(BUILD_SEARCH, 1, [define if you  want to use search pane])
402
 
        AC_DEFINE(BUILD_BEAGLE, 1, [define if you  want to use search pane])
403
 
        AC_SUBST(BRASERO_SEARCH_CFLAGS)
404
 
        AC_SUBST(BRASERO_SEARCH_LIBS)
405
 
        build_beagle="yes"
406
 
        build_tracker="no"
407
 
        build_search="yes"
408
 
elif test x"$enable_search" = "xyes"; then
409
 
        PKG_CHECK_MODULES(BRASERO_SEARCH, tracker-sparql-0.10 >= $TRACKER_REQUIRED, build_search=yes, build_search=no)
410
 
        if test x"$build_search" = "xyes"; then
411
 
                AC_DEFINE(BUILD_SEARCH, 1, [define if you  want to use search pane])
412
 
                AC_DEFINE(BUILD_TRACKER, 1, [define if you  want to use search pane])
413
 
 
414
 
                AC_SUBST(BRASERO_SEARCH_CFLAGS)
415
 
                AC_SUBST(BRASERO_SEARCH_LIBS)
416
 
 
417
 
                build_beagle="no"
418
 
                build_tracker="yes"
419
 
        else 
420
 
                PKG_CHECK_MODULES(BRASERO_SEARCH, libbeagle-1.0 >= $BEAGLE_REQUIRED, build_search=yes, build_search=no)
421
 
                if test x"$build_search" = "xyes"; then
422
 
                        AC_DEFINE(BUILD_SEARCH, 1, [define if you  want to use search pane])
423
 
                        AC_DEFINE(BUILD_BEAGLE, 1, [define if you  want to use search pane])
424
 
 
425
 
                        AC_SUBST(BRASERO_SEARCH_CFLAGS)
426
 
                        AC_SUBST(BRASERO_SEARCH_LIBS)
427
 
 
428
 
                        build_beagle="yes"
429
 
                        build_tracker="no"
430
 
                fi
431
 
        fi
432
396
else
433
397
        build_search="no"
434
398
fi
435
399
 
436
400
AM_CONDITIONAL(BUILD_SEARCH, test x"$build_search" = "xyes")
437
 
AM_CONDITIONAL(BUILD_BEAGLE, test x"$build_beagle" = "xyes")
438
401
AM_CONDITIONAL(BUILD_TRACKER, test x"$build_tracker" = "xyes")
439
402
 
440
403
dnl ****************check for playlist (optional)**************