~do-plugins/do-plugins/trunk

« back to all changes in this revision

Viewing changes to configure.ac

  • Committer: Christopher James Halse Rogers
  • Date: 2013-05-02 07:23:58 UTC
  • mfrom: (684.1.9 do-plugins)
  • Revision ID: chris@ed-20130502072358-ddn5oxyjngeearme
Merge long-awaited Transmission control plugin

Ported to Json.NET, as this has packages in the Debian and Ubuntu archives.

Show diffs side-by-side

added added

removed removed

Lines of Context:
231
231
AC_SUBST([TELEPATHY_SHARP_LIBS])
232
232
dnl }}}
233
233
 
 
234
dnl {{{
 
235
AC_ARG_ENABLE(transmission,
 
236
        AC_HELP_STRING([--enable-transmission], [Build plugin for the Transmission bittorrent client (default: auto]),
 
237
        enable_transmission=$enableval,
 
238
        enable_transmission=auto)
 
239
 
 
240
if test "x$enable_transmission" != "xno"; then
 
241
        PKG_CHECK_MODULES([NEWTONSOFT_JSON], [newtonsoft-json], HAVE_JSON=yes, HAVE_JSON=no)
 
242
 
 
243
        if test "x$HAVE_JSON" = "xno" ; then
 
244
                if test "x$enable_transmission" = "xyes" ; then
 
245
                        AC_MSG_ERROR([Transmission plugin explicitly requested but newtonsoft-json dependencies not found])
 
246
                fi
 
247
                HAVE_TRANSMISSION=no
 
248
        else
 
249
                HAVE_TRANSMISSION=yes
 
250
        fi
 
251
else
 
252
        HAVE_TRANSMISSION=no
 
253
fi
 
254
 
 
255
AM_CONDITIONAL(HAVE_TRANSMISSION, test "x$HAVE_TRANSMISSION" = "xyes")
 
256
dnl }}}
 
257
 
 
258
 
234
259
PKG_CHECK_MODULES([GCONF_SHARP_20], [gconf-sharp-2.0])
235
260
PKG_CHECK_MODULES([GLADE_SHARP_20], [glade-sharp-2.0])
236
261
PKG_CHECK_MODULES([GLIB_SHARP_20], [glib-sharp-2.0])
423
448
Tracker/Resources/TrackerSearch.addin.xml
424
449
Translate/Makefile
425
450
Translate/Resources/Translate.addin.xml
 
451
Transmission/Makefile
 
452
Transmission/Resources/Transmission.addin.xml
426
453
Tomboy/Makefile
427
454
Tomboy/Resources/Tomboy.addin.xml
428
455
Vinagre/Makefile
471
498
    Google Calendar:   ${HAVE_GCAL}
472
499
    Google Contacts:   ${HAVE_GMAIL}
473
500
    Google Docs:       ${HAVE_GDOCS}
 
501
    Transmission:      ${HAVE_TRANSMISSION}
474
502
    Window Manager:    ${HAVE_WNCK}
475
503
    YouTube:           ${HAVE_YOUTUBE}
476
504