~ubuntu-branches/ubuntu/saucy/parole/saucy

« back to all changes in this revision

Viewing changes to configure.ac

  • Committer: Package Import Robot
  • Author(s): Lionel Le Folgoc
  • Date: 2013-01-09 19:08:53 UTC
  • mfrom: (3.1.3 raring-proposed)
  • Revision ID: package-import@ubuntu.com-20130109190853-zeh9ksa0ijwzgmrs
Tags: 0.4.0-0ubuntu1
* New upstream release.
* debian/control:
  - add b-dep on libxfconf-0-dev since parole now uses Xfconf
  - suggests gnome-codec-install for the missing codec feature.

Show diffs side-by-side

added added

removed removed

Lines of Context:
4
4
dnl
5
5
 
6
6
m4_define([intltool_minimum_version], [0.31])
7
 
m4_define([parole_verinfo],  [0:3:1])
 
7
m4_define([parole_verinfo],  [0:4:1])
8
8
m4_define([parole_version_api],  [0])
9
9
m4_define([parole_version_major],  [0])
10
 
m4_define([parole_version_minor],  [3])
11
 
m4_define([parole_version_micro],  [0.3])
 
10
m4_define([parole_version_minor],  [4])
 
11
m4_define([parole_version_micro],  [0])
12
12
m4_define([parole_version_build],  [])
13
13
m4_define([parole_version_tag], [])
14
14
m4_define([parole_version], [parole_version_major().parole_version_minor().parole_version_micro()ifelse(parole_version_tag(), [git], [parole_version_tag().parole_version_build()], [parole_version_tag()])])
106
106
XDT_CHECK_PACKAGE([GST_BASE], [gstreamer-base-0.10], [gstreamer_minimum_version])
107
107
XDT_CHECK_PACKAGE([GST_VIDEO], [gstreamer-video-0.10], [gstreamer_minimum_version])
108
108
XDT_CHECK_PACKAGE([GST_INTERFACES], [gstreamer-interfaces-0.10], [gstreamer_minimum_version])
 
109
XDT_CHECK_PACKAGE([GST_PBUTILS], [gstreamer-pbutils-0.10], [0.10.2])
 
110
 
 
111
GST_MAJORMINOR=0.10
 
112
GST_REQS=0.10.30
 
113
GSTPLUG_REQS=0.10.30
 
114
GST_LIBS="$GST_LIBS -lgstbase-$GST_MAJORMINOR -lgstinterfaces-$GST_MAJORMINOR -lgstvideo-$GST_MAJORMINOR -lgstaudio-$GST_MAJORMINOR -lgstpbutils-$GST_MAJORMINOR -lgsttag-$GST_MAJORMINOR"
109
115
 
110
116
XDT_CHECK_PACKAGE([DBUS], [dbus-1], [dbus_minimum_version])
111
117
XDT_CHECK_PACKAGE([DBUS_GLIB], [dbus-glib-1], [dbus_glib_minimum_version])
113
119
XDT_CHECK_PACKAGE([LIBXFCE4UI], [libxfce4ui-1],[libxfce4ui_minimum_version])
114
120
XDT_CHECK_PACKAGE([LIBXFCE4UTIL], [libxfce4util-1.0],[libxfce4util_minimum_version])
115
121
 
 
122
XDT_CHECK_PACKAGE([XFCONF], [libxfconf-0], [4.10.0])
 
123
 
116
124
XDT_CHECK_LIBX11()
117
125
 
118
126
#=======================================================#
176
184
#              Check plugins to build                   #
177
185
#=======================================================#
178
186
 
179
 
# Stream Properties plugin.
 
187
# Notify plugin.
180
188
#--------------------------
181
 
AC_ARG_ENABLE([properties-plugin], AC_HELP_STRING([--disable-properties-plugin], [Don't build parole stream properties plugin]),
182
 
  [ac_properties_plugin=$enableval], [ac_properties_plugin=yes])
183
 
AC_MSG_CHECKING([whether to build the Parole stream properties plugin])
184
 
AM_CONDITIONAL([PAROLE_PROPERTIES_PLUGIN], [test x"$ac_properties_plugin" = x"yes"])
185
 
AC_MSG_RESULT([$ac_properties_plugin])
 
189
AC_ARG_ENABLE([notify-plugin], AC_HELP_STRING([--disable-notify-plugin], [Don't build parole notification plugin]),
 
190
  [ac_notify_plugin=$enableval], [ac_notify_plugin=yes])
 
191
AC_MSG_CHECKING([whether to build the notification plugin])
 
192
AM_CONDITIONAL([PAROLE_NOTIFY_PLUGIN], [test x"$ac_notify_plugin" = x"yes"])
 
193
AC_MSG_RESULT([$ac_notify_plugin])
 
194
# Depends on Libnotify - if not found cannot build
 
195
LIBNOTIFY_FOUND="no"
 
196
if test x"$ac_notify_plugin" = x"yes"; then
 
197
        XDT_CHECK_PACKAGE([LIBNOTIFY],
 
198
        [libnotify], [libnotify_minimum_version],
 
199
        [libnotify],
 
200
        [libnotify library], [yes]) 
 
201
fi
186
202
 
187
203
# Tray plugin.
188
204
#--------------------------
191
207
AC_MSG_CHECKING([whether to build the system tray plugin])
192
208
AM_CONDITIONAL([PAROLE_TRAY_PLUGIN], [test x"$ac_tray_plugin" = x"yes"])
193
209
AC_MSG_RESULT([$ac_tray_plugin])
194
 
# Should we build the tray icon with notification support?
195
 
LIBNOTIFY_FOUND="no"
196
 
if test x"$ac_tray_plugin" = x"yes"; then
197
 
        XDT_CHECK_OPTIONAL_PACKAGE([LIBNOTIFY],
198
 
        [libnotify], [libnotify_minimum_version],
199
 
        [libnotify],
200
 
        [libnotify library], [yes]) 
201
 
fi
202
210
 
203
211
# Power Manager
204
212
#--------------------------
239
247
src/dbus/Makefile
240
248
src/plugins/Makefile
241
249
src/plugins/sample/Makefile
242
 
src/plugins/properties/Makefile
 
250
src/plugins/notify/Makefile
243
251
src/plugins/tray/Makefile
244
252
src/plugins/power-manager/Makefile
245
253
docs/Makefile
252
260
------------------------------------------------------
253
261
            Parole Media Player $VERSION
254
262
        ====================================
255
 
        
256
 
        Installation:
257
 
        =============
258
 
        prefix:                         $prefix
259
 
        pixmapsdir:                     $pixmapsdir
260
 
        Debug:                          $enable_debug
261
 
        Building plugin api docs:       ${enable_gtk_doc}
262
 
        
263
 
        Optional dependencies:
264
 
        ======================
265
 
        Libnotify:                      $LIBNOTIFY_FOUND
266
 
        Taglib:                         $TAGLIB_FOUND
267
 
        
268
 
        Plugins to build:
269
 
        =================
270
 
        Stream Properties:              ${ac_properties_plugin}" 
271
 
        if test x${ac_properties_plugin} = x"yes"; then 
272
 
        echo "  (With taglib $TAGLIB_FOUND)" 
273
 
        fi 
274
 
        echo "  
275
 
        System Tray icon:               ${ac_tray_plugin}" 
276
 
        if test x${ac_tray_plugin} = x"yes"; then 
277
 
        echo "  (With notification $LIBNOTIFY_FOUND)" 
278
 
        fi 
279
 
        
280
 
        echo "
281
 
        Power Manager:                  ${ac_power_manager_plugin}
 
263
 
 
264
        Installation:
 
265
        =============
 
266
        prefix:                         $prefix
 
267
        pixmapsdir:                     $pixmapsdir
 
268
        Debug:                          $enable_debug
 
269
        Building plugin api docs:       ${enable_gtk_doc}
 
270
 
 
271
        Optional dependencies:
 
272
        ======================
 
273
        Taglib:                         $TAGLIB_FOUND
 
274
 
 
275
        Plugins to build:
 
276
        =================
 
277
        Notify:                         ${ac_notify_plugin}"
 
278
 
 
279
        echo "
 
280
        System Tray icon:               ${ac_tray_plugin}" 
 
281
 
 
282
        echo "
 
283
        Power Manager:                  ${ac_power_manager_plugin}
282
284
 
283
285
------------------------------------------------------
284
286