forked from GNOME/grilo-plugins
-
Notifications
You must be signed in to change notification settings - Fork 0
/
configure.ac
1355 lines (1159 loc) · 47.3 KB
/
configure.ac
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
#
# configure.ac
#
# Author: Iago Toral Quiroga <itoral@igalia.com>
#
# Copyright (C) 2010, 2011 Igalia S.L.. All rights reserved.
m4_define([prj_name], [grilo-plugins])
m4_define([prj_version], [0.2.13])
AC_INIT([prj_name],
[prj_version],
[http://bugzilla.gnome.org/enter_bug.cgi?product=grilo;component=plugins],
[prj_name],
[https://wiki.gnome.org/Projects/Grilo])
AM_INIT_AUTOMAKE([foreign])
AC_CONFIG_MACRO_DIR([m4])
AC_CONFIG_SRCDIR([src])
AC_CONFIG_HEADERS(config.h)
AC_PROG_CC
AC_PROG_INSTALL
AC_DISABLE_STATIC
if test -z "$PKG_CONFIG" ; then
PKG_CONFIG="pkg-config"
if test -n "$host" ; then
PKG_CONFIG=$host-$PKG_CONFIG
fi
fi
LT_PREREQ([2.2.6])
LT_INIT
AM_PROG_CC_C_O
AC_HEADER_STDC
m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])])
# ----------------------------------------------------------
# ENVIRONMENT CONFIGURATION
# ----------------------------------------------------------
GNOME_COMPILE_WARNINGS([maximum])
CFLAGS+=" ${WARN_CFLAGS} -Wmissing-declarations -std=c99 "
GNOME_MAINTAINER_MODE_DEFINES
# ----------------------------------------------------------
# UNINSTALLED SUPPORT
# ----------------------------------------------------------
AC_ARG_ENABLE(uninstalled,
AC_HELP_STRING([--enable-uninstalled],
[run uninstalled (default: no)]),,
[enable_uninstalled=no])
if test "x$enable_uninstalled" = "xyes"; then
AC_MSG_WARN("Configuring for running uninstalled!")
GRL_VERSION=uninstalled
else
GRL_VERSION=0.2
fi
GRL_NAME=grilo-${GRL_VERSION}
GRLNET_NAME=grilo-net-${GRL_VERSION}
GRLPLS_NAME=grilo-pls-${GRL_VERSION}
# ----------------------------------------------------------
# DEBUG SUPPORT
# ----------------------------------------------------------
AC_ARG_ENABLE(debug,
AC_HELP_STRING([--enable-debug],
[include debug symbols (default: no)]),,
[enable_debug=no])
if test "x$enable_debug" = "xyes"; then
CFLAGS="$CFLAGS -g3 -O0"
fi
# ----------------------------------------------------------
# HARD DEPENDENCIES
# ----------------------------------------------------------
PKG_CHECK_MODULES([DEPS], glib-2.0 >= 2.34 \
gobject-2.0 \
gmodule-2.0 \
${GRL_NAME} >= 0.2.10)
GLIB_COMPILE_RESOURCES=`$PKG_CONFIG --variable glib_compile_resources gio-2.0`
AC_SUBST(GLIB_COMPILE_RESOURCES)
# ----------------------------------------------------------
# DEFINITIONS
# ----------------------------------------------------------
# Plugins directory
GRL_PLUGINS_DIR=`${PKG_CONFIG} --variable=plugindir ${GRL_NAME}`
AC_SUBST(GRL_PLUGINS_DIR)
AC_DEFINE_UNQUOTED(GRL_PLUGINS_DIR, "$GRL_PLUGINS_DIR", [Plugins directory])
# ----------------------------------------------------------
# EXTERNAL/OPTIONAL DEPENDENCIES
# ----------------------------------------------------------
PKG_CHECK_MODULES([GRLNET], [${GRLNET_NAME} >= 0.2.2],
HAVE_GRLNET=yes,
HAVE_GRLNET=no)
PKG_CHECK_MODULES([GRLPLS], [${GRLPLS_NAME} >= 0.2.0],
HAVE_GRLPLS=yes,
HAVE_GRLPLS=no)
PKG_CHECK_MODULES([GRLPLS], [${GRLPLS_NAME} >= 0.2.0],
HAVE_GRLPLS=yes,
HAVE_GRLPLS=no)
PKG_CHECK_MODULES(XML, libxml-2.0, HAVE_XML=yes, HAVE_XML=no)
PKG_CHECK_MODULES(GIO, gio-2.0, HAVE_GIO=yes, HAVE_GIO=no)
PKG_CHECK_MODULES(GSSDP, gssdp-1.0, HAVE_GSSDP=yes, HAVE_GSSDP=no)
PKG_CHECK_MODULES(GUPNP, gupnp-1.0 >= 0.13, HAVE_GUPNP=yes, HAVE_GUPNP=no)
PKG_CHECK_MODULES(GUPNPAV, gupnp-av-1.0 >= 0.5, HAVE_GUPNPAV=yes, HAVE_GUPNPAV=no)
PKG_CHECK_MODULES(DMAP, libdmapsharing-3.0 >= 2.9.12, HAVE_DMAP=yes, HAVE_DMAP=no)
PKG_CHECK_MODULES(SQLITE, sqlite3, HAVE_SQLITE=yes, HAVE_SQLITE=no)
PKG_CHECK_MODULES(GDATA, libgdata >= 0.7.0, HAVE_GDATA=yes, HAVE_GDATA=no)
PKG_CHECK_MODULES(LIBSOUP, libsoup-2.4, HAVE_LIBSOUP=yes, HAVE_LIBSOUP=no)
PKG_CHECK_MODULES(LUA, lua >= 5.2.0,
HAVE_LUA=yes,
[PKG_CHECK_MODULES(LUA, lua5.2 >= 5.2.0,
HAVE_LUA=yes,
HAVE_LUA=no)])
PKG_CHECK_MODULES(GTHREAD, gthread-2.0, HAVE_GTHREAD=yes, HAVE_GTHREAD=no)
PKG_CHECK_MODULES(OAUTH, oauth, HAVE_OAUTH=yes, HAVE_OAUTH=no)
PKG_CHECK_MODULES(GOA, [goa-1.0 >= 3.7.1], HAVE_GOA=yes, HAVE_GOA=no)
PKG_CHECK_MODULES(GOA_WITH_POCKET, [goa-1.0 >= 3.11.4], HAVE_GOA_WITH_POCKET=yes, HAVE_GOA_WITH_POCKET=no)
PKG_CHECK_MODULES(TOTEM_PL_PARSER, totem-plparser >= 3.4.1, HAVE_TOTEM_PL_PARSER=yes, HAVE_TOTEM_PL_PARSER=no)
PKG_CHECK_MODULES(REST, rest-0.7, HAVE_REST=yes, HAVE_REST=no)
PKG_CHECK_MODULES([JSON], [json-glib-1.0], HAVE_JSON_GLIB=yes, HAVE_JSON_GLIB=no)
PKG_CHECK_MODULES(GMIME, gmime-2.6,
HAVE_GMIME=yes,
[PKG_CHECK_MODULES(GMIME, gmime-2.4,
HAVE_GMIME=yes,
HAVE_GMIME=no)])
PKG_CHECK_MODULES(AVAHI, [avahi-gobject avahi-glib avahi-client], HAVE_AVAHI=yes, HAVE_AVAHI=no)
PKG_CHECK_MODULES(MEDIAART, [libmediaart-1.0], HAVE_MEDIAART=yes, HAVE_MEDIAART=no)
# Search available Tracker version
trackerpkg="tracker-sparql-0.10"
m4_foreach([VERSION], [[0.10], [0.11], [0.12], [0.14], [0.15], [0.16], [0.17], [0.18], [1.0]],
[PKG_CHECK_EXISTS([tracker-sparql-VERSION >= 0.10.5],
[ trackerpkg="tracker-sparql-VERSION" ])
])
PKG_CHECK_MODULES([TRACKER_SPARQL], [ ${trackerpkg} ],
HAVE_TRACKER_SPARQL=yes,
HAVE_TRACKER_SPARQL=no)
# ----------------------------------------------------------
# CHECK GOA
# ----------------------------------------------------------
AC_ARG_ENABLE(goa,
AC_HELP_STRING([--enable-goa],
[enable Gnome Online Accounts support (default: auto)]),
[
case "$enableval" in
yes)
if test "x$HAVE_GOA" = "xno"; then
AC_MSG_ERROR([goa-1.0 >= 3.7.1 not found, install it or use --disable-goa])
fi
;;
esac
],
[
if test "x$HAVE_GOA" = "xyes"; then
enable_goa=yes
else
enable_goa=no
fi
])
if test "x$enable_goa" = "xyes"; then
AC_DEFINE(GOA_ENABLED, 1, [Let plugins use goa])
fi
# ----------------------------------------------------------
# GDATA VERSION
# ----------------------------------------------------------
if test "x$HAVE_GDATA" = "xyes"; then
if `$PKG_CONFIG --atleast-version=0.9.1 libgdata`; then
AC_DEFINE(HAVE_LIBGDATA_0_9, 1, [libgdata is 0.9.1 or higher])
fi
fi
# ----------------------------------------------------------
# TESTS COVERAGE
# ----------------------------------------------------------
AC_ARG_ENABLE(gcov,
AC_HELP_STRING([--enable-gcov],
[enable coverage testing (default: no)]),
[enable_gcov=$enableval],
[enable_gcov=no])
if test "x$enable_gcov" = "xyes"; then
AC_PATH_PROG([enable_gcov], [lcov], [no])
if test "x$enable_gcov" = "xno"; then
AC_MSG_ERROR([You need lcov to build with coverage testing])
elif test "x$GCC" = "xno"; then
AC_MSG_ERROR([You need to use gcc to build with coverage testing])
else
enable_gcov=yes
CFLAGS="$CFLAGS -g -O0 -fprofile-arcs -ftest-coverage"
LDFLAGS="$LDFLAGS -lgcov"
fi
fi
AM_CONDITIONAL([GCOV_ENABLED], [test "x$enable_gcov" = "xyes"])
# ----------------------------------------------------------
# BUILD FILE SYSTEM PLUGIN
# ----------------------------------------------------------
AC_ARG_ENABLE(filesystem,
AC_HELP_STRING([--enable-filesystem],
[enable File System plugin (default: yes)]),
[
case "$enableval" in
yes)
if test "x$HAVE_GRLPLS" = "xno"; then
AC_MSG_ERROR([grilo-pls not found, install it or use --disable-filesystem])
fi
;;
esac
],
[enable_filesystem=yes])
AM_CONDITIONAL([FILESYSTEM_PLUGIN], [test "x$enable_filesystem" = "xyes"])
GRL_PLUGINS_ALL="$GRL_PLUGINS_ALL filesystem"
if test "x$enable_filesystem" = "xyes"
then
GRL_PLUGINS_ENABLED="$GRL_PLUGINS_ENABLED filesystem"
fi
FILESYSTEM_PLUGIN_ID="grl-filesystem"
AC_SUBST(FILESYSTEM_PLUGIN_ID)
AC_DEFINE_UNQUOTED([FILESYSTEM_PLUGIN_ID], ["$FILESYSTEM_PLUGIN_ID"], [Filesystem plugin ID])
DEPS_FILESYSTEM_CFLAGS="$DEPS_CFLAGS $GRLPLS_CFLAGS $GIO_CFLAGS"
AC_SUBST(DEPS_FILESYSTEM_CFLAGS)
DEPS_FILESYSTEM_LIBS="$DEPS_LIBS $GRLPLS_LIBS $GIO_LIBS"
AC_SUBST(DEPS_FILESYSTEM_LIBS)
# ----------------------------------------------------------
# BUILD OPTICAL MEDIA PLUGIN
# ----------------------------------------------------------
AC_ARG_ENABLE(optical-media,
AC_HELP_STRING([--enable-optical-media],
[enable Optical Media plugin (default: auto)]),
[
case "$enableval" in
yes)
if test "x$HAVE_TOTEM_PL_PARSER" = "xno"; then
AC_MSG_ERROR([totem-plparser >= 3.4.1 not found, install it or use --disable-optical-media])
fi
;;
esac
],
[
if test "x$HAVE_TOTEM_PL_PARSER" = "xyes"; then
enable_optical_media=yes
else
enable_optical_media=no
fi
])
AM_CONDITIONAL([OPTICAL_MEDIA_PLUGIN], [test "x$enable_optical_media" = "xyes"])
GRL_PLUGINS_ALL="$GRL_PLUGINS_ALL optical-media"
if test "x$enable_optical_media" = "xyes"
then
GRL_PLUGINS_ENABLED="$GRL_PLUGINS_ENABLED optical-media"
fi
OPTICAL_MEDIA_PLUGIN_ID="grl-optical-media"
AC_SUBST(OPTICAL_MEDIA_PLUGIN_ID)
AC_DEFINE_UNQUOTED([OPTICAL_MEDIA_PLUGIN_ID], ["$OPTICAL_MEDIA_PLUGIN_ID"], [Optical Media plugin ID])
DEPS_OPTICAL_MEDIA_CFLAGS="$DEPS_CFLAGS $GIO_CFLAGS $GTK_CFLAGS $TOTEM_PL_PARSER_CFLAGS"
AC_SUBST(DEPS_OPTICAL_MEDIA_CFLAGS)
DEPS_OPTICAL_MEDIA_LIBS="$DEPS_LIBS $GIO_LIBS $GTK_LIBS $TOTEM_PL_PARSER_LIBS"
AC_SUBST(DEPS_OPTICAL_MEDIA_LIBS)
# ----------------------------------------------------------
# BUILD JAMENDO PLUGIN
# ----------------------------------------------------------
AC_ARG_ENABLE(jamendo,
AC_HELP_STRING([--enable-jamendo],
[enable Jamendo plugin (default: auto)]),
[
case "$enableval" in
yes)
if test "x$HAVE_GRLNET" = "xno"; then
AC_MSG_ERROR([grilo-net-0.2 >= 0.2.2 not found, install it or use --disable-jamendo])
fi
if test "x$HAVE_XML" = "xno"; then
AC_MSG_ERROR([libxml-2.0 not found, install it or use --disable-jamendo])
fi
;;
esac
],
[
if test "x$HAVE_GRLNET" = "xyes" -a "x$HAVE_XML" = "xyes"; then
enable_jamendo=yes
else
enable_jamendo=no
fi
])
AM_CONDITIONAL([JAMENDO_PLUGIN], [test "x$enable_jamendo" = "xyes"])
GRL_PLUGINS_ALL="$GRL_PLUGINS_ALL jamendo"
if test "x$enable_jamendo" = "xyes"
then
GRL_PLUGINS_ENABLED="$GRL_PLUGINS_ENABLED jamendo"
fi
JAMENDO_PLUGIN_ID="grl-jamendo"
AC_SUBST(JAMENDO_PLUGIN_ID)
AC_DEFINE_UNQUOTED([JAMENDO_PLUGIN_ID], ["$JAMENDO_PLUGIN_ID"], [Jamendo plugin ID])
DEPS_JAMENDO_CFLAGS="$DEPS_CFLAGS $GRLNET_CFLAGS $XML_CFLAGS"
AC_SUBST(DEPS_JAMENDO_CFLAGS)
DEPS_JAMENDO_LIBS="$DEPS_LIBS $GRLNET_LIBS $XML_LIBS"
AC_SUBST(DEPS_JAMENDO_LIBS)
# ----------------------------------------------------------
# BUILD LASTFM ALBUM ART PLUGIN
# ----------------------------------------------------------
AC_ARG_ENABLE(lastfm_albumart,
AC_HELP_STRING([--enable-lastfm-albumart],
[enable Last.FM Album Art plugin (default: auto)]),
[
case "$enableval" in
yes)
if test "x$HAVE_GRLNET" = "xno"; then
AC_MSG_ERROR([grilo-net-0.2 >= 0.2.2 not found, install it or use --disable-lastfm-albumart])
fi
if test "x$HAVE_XML" = "xno"; then
AC_MSG_ERROR([libxml-2.0 not found, install it or use --disable-lastfm-albumart])
fi
;;
esac
],
[
if test "x$HAVE_GRLNET" = "xyes" -a "x$HAVE_XML" = "xyes"; then
enable_lastfm_albumart=yes
else
enable_lastfm_albumart=no
fi
])
AM_CONDITIONAL([LASTFM_ALBUMART_PLUGIN], [test "x$enable_lastfm_albumart" = "xyes"])
GRL_PLUGINS_ALL="$GRL_PLUGINS_ALL lastfm-albumart"
if test "x$enable_lastfm_albumart" = "xyes"
then
GRL_PLUGINS_ENABLED="$GRL_PLUGINS_ENABLED lastfm-albumart"
fi
LASTFM_ALBUMART_PLUGIN_ID="grl-lastfm-albumart"
AC_SUBST(LASTFM_ALBUMART_PLUGIN_ID)
AC_DEFINE_UNQUOTED([LASTFM_ALBUMART_PLUGIN_ID], ["$LASTFM_ALBUMART_PLUGIN_ID"], [Last.fm album art plugin ID])
DEPS_LASTFM_ALBUMART_CFLAGS="$DEPS_CFLAGS $GRLNET_CFLAGS $XML_CFLAGS"
AC_SUBST(DEPS_LASTFM_ALBUMART_CFLAGS)
DEPS_LASTFM_ALBUMART_LIBS="$DEPS_LIBS $GRLNET_LIBS $XML_LIBS"
AC_SUBST(DEPS_LASTFM_ALBUMART_LIBS)
# ----------------------------------------------------------
# BUILD UPNP PLUGIN
# ----------------------------------------------------------
AC_ARG_ENABLE(upnp,
AC_HELP_STRING([--enable-upnp],
[enable uPnP plugin (default: auto)]),
[
case "$enableval" in
yes)
if test "x$HAVE_GSSDP" = "xno"; then
AC_MSG_ERROR([gssdp-1.0 not found, install it or use --disable-upnp])
fi
if test "x$HAVE_GUPNP" = "xno"; then
AC_MSG_ERROR([gupnp-1.0 >= 0.13 not found, install it or use --disable-upnp])
fi
if test "x$HAVE_GUPNPAV" = "xno"; then
AC_MSG_ERROR([gupnp-av-1.0 >= 0.5 not found, install it or use --disable-upnp])
fi
if test "$xHAVE_XML" = "xno"; then
AC_MSG_ERROR([libxml-2.0 not found, install it or use --disable-upnp])
fi
esac
],
[
if test "x$HAVE_GSSDP" = "xyes" -a "x$HAVE_GUPNP" = "xyes" -a "x$HAVE_GUPNPAV" = "xyes" -a "x$HAVE_XML" = "xyes"; then
enable_upnp=yes
else
enable_upnp=no
fi
])
AM_CONDITIONAL([UPNP_PLUGIN], [test "x$enable_upnp" = "xyes"])
GRL_PLUGINS_ALL="$GRL_PLUGINS_ALL upnp"
if test "x$enable_upnp" = "xyes"
then
GRL_PLUGINS_ENABLED="$GRL_PLUGINS_ENABLED upnp"
fi
UPNP_PLUGIN_ID="grl-upnp"
AC_SUBST(UPNP_PLUGIN_ID)
AC_DEFINE_UNQUOTED([UPNP_PLUGIN_ID], ["$UPNP_PLUGIN_ID"], [UPnP plugin ID])
DEPS_UPNP_CFLAGS="$DEPS_CFLAGS $GSSDP_CFLAGS $GUPNP_CFLAGS $GUPNPAV_CFLAGS $GTHREAD_CFLAGS $XML_CFLAGS"
AC_SUBST(DEPS_UPNP_CFLAGS)
DEPS_UPNP_LIBS="$DEPS_LIBS $GSSDP_LIBS $GUPNP_LIBS $GUPNPAV_LIBS $GTHREAD_LIBS $XML_LIBS"
AC_SUBST(DEPS_UPNP_LIBS)
# ----------------------------------------------------------
# BUILD YOUTUBE PLUGIN
# ----------------------------------------------------------
AC_ARG_ENABLE(youtube,
AC_HELP_STRING([--enable-youtube],
[enable YouTube plugin (default: auto)]),
[
case "$enableval" in
yes)
if test "x$HAVE_GRLNET" = "xno"; then
AC_MSG_ERROR([grilo-net-0.2 >= 0.2.2 not found, install it or use --disable-youtube])
fi
if test "x$HAVE_XML" = "xno"; then
AC_MSG_ERROR([libxml-2.0 not found, install it or use --disable-youtube])
fi
if test "x$HAVE_GDATA" = "xno"; then
AC_MSG_ERROR([libgdata >= 0.7.0 not found, install it or use --disable-youtube])
fi
if test "x$HAVE_TOTEM_PL_PARSER" = "xno"; then
AC_MSG_ERROR([totem-plparser >= 3.4.1 not found, install it or use --disable-youtube])
fi
;;
esac
],
[
if test "x$HAVE_GRLNET" = "xyes" -a "x$HAVE_XML" = "xyes" -a "x$HAVE_GDATA" = "xyes" -a "x$HAVE_TOTEM_PL_PARSER" = "xyes"; then
enable_youtube=yes
else
enable_youtube=no
fi
])
AM_CONDITIONAL([YOUTUBE_PLUGIN], [test "x$enable_youtube" = "xyes"])
GRL_PLUGINS_ALL="$GRL_PLUGINS_ALL youtube"
if test "x$enable_youtube" = "xyes"
then
GRL_PLUGINS_ENABLED="$GRL_PLUGINS_ENABLED youtube"
fi
YOUTUBE_PLUGIN_ID="grl-youtube"
AC_SUBST(YOUTUBE_PLUGIN_ID)
AC_DEFINE_UNQUOTED([YOUTUBE_PLUGIN_ID], ["$YOUTUBE_PLUGIN_ID"], [YouTube plugin ID])
DEPS_YOUTUBE_CFLAGS="$DEPS_CFLAGS $GRLNET_CFLAGS $XML_CFLAGS $GTHREAD_CFLAGS $GDATA_CFLAGS $TOTEM_PL_PARSER_CFLAGS"
AC_SUBST(DEPS_YOUTUBE_CFLAGS)
DEPS_YOUTUBE_LIBS="$DEPS_LIBS $GRLNET_LIBS $XML_LIBS $GTHREAD_LIBS $GDATA_LIBS $TOTEM_PL_PARSER_LIBS"
AC_SUBST(DEPS_YOUTUBE_LIBS)
# ----------------------------------------------------------
# BUILD FLICKR PLUGIN
# ----------------------------------------------------------
AC_ARG_ENABLE(flickr,
AC_HELP_STRING([--enable-flickr],
[enable Flickr plugin (default: auto)]),
[
case "$enableval" in
yes)
if test "x$HAVE_GRLNET" = "xno"; then
AC_MSG_ERROR([grilo-net-0.2 >= 0.2.2 not found, install it or use --disable-flickr])
fi
if test "x$HAVE_XML" = "xno"; then
AC_MSG_ERROR([libxml-2.0 not found, install it or use --disable-flickr])
fi
if test "x$HAVE_OAUTH" = "xno"; then
AC_MSG_ERROR([oauth not found, install it or use --disable-flickr])
fi
;;
esac
],
[
if test "x$HAVE_GRLNET" = "xyes" -a "x$HAVE_XML" = "xyes" -a "x$HAVE_OAUTH" = "xyes"; then
enable_flickr=yes
else
enable_flickr=no
fi
])
AM_CONDITIONAL([FLICKR_PLUGIN], [test "x$enable_flickr" = "xyes"])
GRL_PLUGINS_ALL="$GRL_PLUGINS_ALL flickr"
if test "x$enable_flickr" = "xyes"
then
GRL_PLUGINS_ENABLED="$GRL_PLUGINS_ENABLED flickr"
fi
FLICKR_PLUGIN_ID="grl-flickr"
AC_SUBST(FLICKR_PLUGIN_ID)
AC_DEFINE_UNQUOTED([FLICKR_PLUGIN_ID], ["$FLICKR_PLUGIN_ID"], [Flickr plugin ID])
DEPS_FLICKR_CFLAGS="$DEPS_CFLAGS $XML_CFLAGS $GRLNET_CFLAGS $OAUTH_CFLAGS"
if test "x$enable_goa" = "xyes"; then
DEPS_FLICKR_CFLAGS="$DEPS_FLICKR_CFLAGS $GOA_CFLAGS"
fi
AC_SUBST(DEPS_FLICKR_CFLAGS)
DEPS_FLICKR_LIBS="$DEPS_LIBS $XML_LIBS $GRLNET_LIBS $OAUTH_LIBS"
if test "x$enable_goa" = "xyes"; then
DEPS_FLICKR_LIBS="$DEPS_FLICKR_LIBS $GOA_LIBS"
fi
AC_SUBST(DEPS_FLICKR_LIBS)
# ----------------------------------------------------------
# BUILD POCKET PLUGIN
# ----------------------------------------------------------
AC_ARG_ENABLE(pocket,
AC_HELP_STRING([--enable-pocket],
[enable Pocket plugin (default: auto)]),
[
case "$enableval" in
yes)
if test "x$HAVE_JSON_GLIB" = "xno"; then
AC_MSG_ERROR([json-glib not found, install it or use --disable-pocket])
fi
if test "x$HAVE_GOA_WITH_POCKET" = "xno"; then
AC_MSG_ERROR([goa-1.0 >= 3.11.4 not found, install it or use --disable-pocket])
fi
if test "x$HAVE_REST" = "xno"; then
AC_MSG_ERROR([rest not found, install it or use --disable-pocket])
fi
if test "x$HAVE_TOTEM_PL_PARSER" = "xno"; then
AC_MSG_ERROR([totem-pl-parser not found, install it or use --disable-pocket])
fi
;;
esac
],
[
if test "x$HAVE_JSON_GLIB" = "xyes" -a "x$HAVE_GOA_WITH_POCKET" = "xyes" -a "x$HAVE_REST" = "xyes" -a "x$HAVE_TOTEM_PL_PARSER" = "xyes"; then
enable_pocket=yes
else
enable_pocket=no
fi
])
AM_CONDITIONAL([POCKET_PLUGIN], [test "x$enable_pocket" = "xyes"])
GRL_PLUGINS_ALL="$GRL_PLUGINS_ALL pocket"
if test "x$enable_pocket" = "xyes"
then
GRL_PLUGINS_ENABLED="$GRL_PLUGINS_ENABLED pocket"
fi
POCKET_PLUGIN_ID="grl-pocket"
AC_SUBST(POCKET_PLUGIN_ID)
AC_DEFINE_UNQUOTED([POCKET_PLUGIN_ID], ["$POCKET_PLUGIN_ID"], [Pocket plugin ID])
DEPS_POCKET_CFLAGS="$DEPS_CFLAGS $JSON_CFLAGS $GOA_WITH_POCKET_CFLAGS $REST_CFLAGS $TOTEM_PL_PARSER_CFLAGS"
AC_SUBST(DEPS_POCKET_CFLAGS)
DEPS_POCKET_LIBS="$DEPS_LIBS $JSON_LIBS $GOA_WITH_POCKET_LIBS $REST_LIBS $TOTEM_PL_PARSER_LIBS"
AC_SUBST(DEPS_POCKET_LIBS)
# ----------------------------------------------------------
# BUILD PODCASTS PLUGIN
# ----------------------------------------------------------
AC_ARG_ENABLE(podcasts,
AC_HELP_STRING([--enable-podcasts],
[enable Podcasts plugin (default: auto)]),
[
case "$enableval" in
yes)
if test "x$HAVE_GRLNET" = "xno"; then
AC_MSG_ERROR([grilo-net-0.2 >= 0.2.2 not found, install it or use --disable-podcasts])
fi
if test "x$HAVE_XML" = "xno"; then
AC_MSG_ERROR([libxml-2.0 not found, install it or use --disable-podcasts])
fi
if test "x$HAVE_SQLITE" = "xno"; then
AC_MSG_ERROR([sqlite3 not found, install it or use --disable-podcasts])
fi
if test "x$HAVE_GMIME" = "xno"; then
AC_MSG_ERROR([gmime-2.4 or gmime-2.6 not found, install it or use --disable-podcasts])
fi
;;
esac
],
[
if test "x$HAVE_GRLNET" = "xyes" -a \
"x$HAVE_XML" = "xyes" -a \
"x$HAVE_SQLITE" = "xyes" -a \
"x$HAVE_GMIME" = "xyes"; then
enable_podcasts=yes
else
enable_podcasts=no
fi
])
AM_CONDITIONAL([PODCASTS_PLUGIN], [test "x$enable_podcasts" = "xyes"])
GRL_PLUGINS_ALL="$GRL_PLUGINS_ALL podcasts"
if test "x$enable_podcasts" = "xyes"
then
GRL_PLUGINS_ENABLED="$GRL_PLUGINS_ENABLED podcasts"
fi
PODCASTS_PLUGIN_ID="grl-podcasts"
AC_SUBST(PODCASTS_PLUGIN_ID)
AC_DEFINE_UNQUOTED([PODCASTS_PLUGIN_ID], ["$PODCASTS_PLUGIN_ID"], [Podcasts plugin ID])
DEPS_PODCASTS_CFLAGS="$DEPS_CFLAGS $GRLNET_CFLAGS $XML_CFLAGS $SQLITE_CFLAGS $GMIME_CFLAGS"
AC_SUBST(DEPS_PODCASTS_CFLAGS)
DEPS_PODCASTS_LIBS="$DEPS_LIBS $GRLNET_LIBS $XML_LIBS $SQLITE_LIBS $GMIME_LIBS"
AC_SUBST(DEPS_PODCASTS_LIBS)
# ----------------------------------------------------------
# BUILD BOOKMARKS PLUGIN
# ----------------------------------------------------------
AC_ARG_ENABLE(bookmarks,
AC_HELP_STRING([--enable-bookmarks],
[enable Bookmarks plugin (default: auto)]),
[
case "$enableval" in
yes)
if test "x$HAVE_GIO" = "xno"; then
AC_MSG_ERROR([gio-2.0 not found, install it or use --disable-bookmarks])
fi
if test "x$HAVE_XML" = "xno"; then
AC_MSG_ERROR([libxml-2.0 not found, install it or use --disable-bookmarks])
fi
if test "x$HAVE_SQLITE" = "xno"; then
AC_MSG_ERROR([sqlite3 not found, install it or use --disable-bookmarks])
fi
;;
esac
],
[
if test "x$HAVE_GIO" = "xyes" -a "x$HAVE_XML" = "xyes" -a "x$HAVE_SQLITE" = "xyes"; then
enable_bookmarks=yes
else
enable_bookmarks=no
fi
])
AM_CONDITIONAL([BOOKMARKS_PLUGIN], [test "x$enable_bookmarks" = "xyes"])
GRL_PLUGINS_ALL="$GRL_PLUGINS_ALL bookmarks"
if test "x$enable_bookmarks" = "xyes"
then
GRL_PLUGINS_ENABLED="$GRL_PLUGINS_ENABLED bookmarks"
fi
BOOKMARKS_PLUGIN_ID="grl-bookmarks"
AC_SUBST(BOOKMARKS_PLUGIN_ID)
AC_DEFINE_UNQUOTED([BOOKMARKS_PLUGIN_ID], ["$BOOKMARKS_PLUGIN_ID"], [Bookmarks plugin ID])
DEPS_BOOKMARKS_CFLAGS="$DEPS_CFLAGS $SQLITE_CFLAGS"
AC_SUBST(DEPS_BOOKMARKS_CFLAGS)
DEPS_BOOKMARKS_LIBS="$DEPS_LIBS $SQLITE_LIBS"
AC_SUBST(DEPS_BOOKMARKS_LIBS)
# ----------------------------------------------------------
# BUILD SHOUTCAST PLUGIN
# ----------------------------------------------------------
AC_ARG_ENABLE(shoutcast,
AC_HELP_STRING([--enable-shoutcast],
[enable SHOUTcast plugin (default: auto)]),
[
case "$enableval" in
yes)
if test "x$HAVE_GRLNET" = "xno"; then
AC_MSG_ERROR([grilo-net-0.2 >= 0.2.2 not found, install it or use --disable-shoutcast])
fi
if test "x$HAVE_XML" = "xno"; then
AC_MSG_ERROR([libxml-2.0 not found, install it or use --disable-shoutcast])
fi
;;
esac
],
[
if test "x$HAVE_GRLNET" = "xyes" -a "x$HAVE_XML" = "xyes"; then
enable_shoutcast=yes
else
enable_shoutcast=no
fi
])
AM_CONDITIONAL([SHOUTCAST_PLUGIN], [test "x$enable_shoutcast" = "xyes"])
GRL_PLUGINS_ALL="$GRL_PLUGINS_ALL shoutcast"
if test "x$enable_shoutcast" = "xyes"
then
GRL_PLUGINS_ENABLED="$GRL_PLUGINS_ENABLED shoutcast"
fi
SHOUTCAST_PLUGIN_ID="grl-shoutcast"
AC_SUBST(SHOUTCAST_PLUGIN_ID)
AC_DEFINE_UNQUOTED([SHOUTCAST_PLUGIN_ID], ["$SHOUTCAST_PLUGIN_ID"], [Shoutcast plugin ID])
DEPS_SHOUTCAST_CFLAGS="$DEPS_CFLAGS $GRLNET_CFLAGS $XML_CFLAGS"
AC_SUBST(DEPS_SHOUTCAST_CFLAGS)
DEPS_SHOUTCAST_LIBS="$DEPS_LIBS $GRLNET_LIBS $XML_LIBS"
AC_SUBST(DEPS_SHOUTCAST_LIBS)
# ----------------------------------------------------------
# BUILD APPLE TRAILERS PLUGIN
# ----------------------------------------------------------
AC_ARG_ENABLE(apple_trailers,
AC_HELP_STRING([--enable-apple-trailers],
[enable Apple Movie Trailers plugin (default: auto)]),
[
case "$enableval" in
yes)
if test "x$HAVE_GRLNET" = "xno"; then
AC_MSG_ERROR([grilo-net-0.2 >= 0.2.2 not found, install it or use --disable-apple-trailers])
fi
if test "x$HAVE_XML" = "xno"; then
AC_MSG_ERROR([libxml-2.0 not found, install it or use --disable-apple-trailers])
fi
;;
esac
],
[
if test "x$HAVE_GRLNET" = "xyes" -a "x$HAVE_XML" = "xyes"; then
enable_apple_trailers=yes
else
enable_apple_trailers=no
fi
])
AM_CONDITIONAL([APPLE_TRAILERS_PLUGIN], [test "x$enable_apple_trailers" = "xyes"])
GRL_PLUGINS_ALL="$GRL_PLUGINS_ALL apple-trailers"
if test "x$enable_apple_trailers" = "xyes"
then
GRL_PLUGINS_ENABLED="$GRL_PLUGINS_ENABLED apple-trailers"
fi
APPLE_TRAILERS_PLUGIN_ID="grl-apple-trailers"
AC_SUBST(APPLE_TRAILERS_PLUGIN_ID)
AC_DEFINE_UNQUOTED([APPLE_TRAILERS_PLUGIN_ID], ["$APPLE_TRAILERS_PLUGIN_ID"], [Apple Trailers plugin ID])
DEPS_APPLE_TRAILERS_CFLAGS="$DEPS_CFLAGS $GRLNET_CFLAGS $XML_CFLAGS"
AC_SUBST(DEPS_APPLE_TRAILERS_CFLAGS)
DEPS_APPLE_TRAILERS_LIBS="$DEPS_LIBS $GRLNET_LIBS $XML_LIBS"
AC_SUBST(DEPS_APPLE_TRAILERS_LIBS)
# ----------------------------------------------------------
# BUILD MAGNATUNE PLUGIN
# ----------------------------------------------------------
AC_ARG_ENABLE(magnatune,
AC_HELP_STRING([--enable-magnatune],
[enable Magnatune plugin (default: auto)]),
[
case "$enableval" in
yes)
if test "x$HAVE_SQLITE" = "xno"; then
AC_MSG_ERROR([sqlite3 not found, install it or use --disable-magnatune])
fi
if test "x$HAVE_GRLNET" = "xno"; then
AC_MSG_ERROR([grilo-net-0.2 >= 0.2.2 not found, install it or use --disable-magnatune])
fi
;;
esac
],
[
if test "x$HAVE_SQLITE" = "xyes"; then
enable_magnatune=yes
else
enable_magnatune=no
fi
])
AM_CONDITIONAL([MAGNATUNE_PLUGIN], [test "x$enable_magnatune" = "xyes"])
GRL_PLUGINS_ALL="$GRL_PLUGINS_ALL magnatune"
if test "x$enable_magnatune" = "xyes"
then
GRL_PLUGINS_ENABLED="$GRL_PLUGINS_ENABLED magnatune"
fi
MAGNATUNE_PLUGIN_ID="grl-magnatune"
AC_SUBST(MAGNATUNE_PLUGIN_ID)
AC_DEFINE_UNQUOTED([MAGNATUNE_PLUGIN_ID], ["$MAGNATUNE_PLUGIN_ID"], [Magnatune plugin ID])
DEPS_MAGNATUNE_CFLAGS="$DEPS_CFLAGS $GRLNET_CFLAGS $SQLITE_CFLAGS"
AC_SUBST(DEPS_MAGNATUNE_CFLAGS)
DEPS_MAGNATUNE_LIBS="$DEPS_LIBS $GRLNET_LIBS $SQLITE_LIBS"
AC_SUBST(DEPS_MAGNATUNE_LIBS)
# ----------------------------------------------------------
# BUILD LUA FACTORY PLUGIN
# ----------------------------------------------------------
AC_ARG_ENABLE(lua_factory,
AC_HELP_STRING([--enable-lua-factory],
[enable Lua plugins (default: auto)]),
[
case "$enableval" in
yes)
if test "x$HAVE_LUA" = "xno"; then
AC_MSG_ERROR([lua not found, install it or use --disable-lua-factory])
fi
if test "x$HAVE_GRLNET" = "xno"; then
AC_MSG_ERROR([grilo-net not found, install it or use --disable-lua-factory])
fi
if test "x$HAVE_JSON_GLIB" = "xno"; then
AC_MSG_ERROR([json-glib-1.0 not found, install it or use --disable-lua-factory])
fi
;;
esac
],
[
if test "x$HAVE_LUA" = "xyes"; then
enable_lua_factory=yes
else
enable_lua_factory=no
fi
])
AM_CONDITIONAL([LUA_FACTORY_PLUGIN], [test "x$enable_lua_factory" = "xyes"])
GRL_PLUGINS_ALL="$GRL_PLUGINS_ALL lua_factory"
if test "x$enable_lua_factory" = "xyes"
then
GRL_PLUGINS_ENABLED="$GRL_PLUGINS_ENABLED lua_factory"
fi
LUA_FACTORY_PLUGIN_ID="grl-lua-factory"
AC_SUBST(LUA_FACTORY_PLUGIN_ID)
AC_DEFINE_UNQUOTED([LUA_FACTORY_PLUGIN_ID], ["$LUA_FACTORY_PLUGIN_ID"], [Lua Factory plugin ID])
DEPS_LUA_FACTORY_CFLAGS="$DEPS_CFLAGS $LUA_CFLAGS $GRLNET_CFLAGS $JSON_CFLAGS"
AC_SUBST(DEPS_LUA_FACTORY_CFLAGS)
DEPS_LUA_FACTORY_LIBS="$DEPS_LIBS $LUA_LIBS $GRLNET_LIBS $JSON_LIBS"
AC_SUBST(DEPS_LUA_FACTORY_LIBS)
LUA_FACTORY_SOURCE_LOCATION="grilo-plugins/${LUA_FACTORY_PLUGIN_ID}"
AC_SUBST(LUA_FACTORY_SOURCE_LOCATION)
# ----------------------------------------------------------
# BUILD METADATA-STORE PLUGIN
# ----------------------------------------------------------
AC_ARG_ENABLE(metadata-store,
AC_HELP_STRING([--enable-metadata-store],
[enable Metadata Store plugin (default: auto)]),
[
case "$enableval" in
yes)
if test "x$HAVE_SQLITE" = "xno"; then
AC_MSG_ERROR([sqlite3 not found, install it or use --disable-metadata-store])
fi
;;
esac
],
[
if test "x$HAVE_SQLITE" = "xyes"; then
enable_metadata_store=yes
else
enable_metadata_store=no
fi
])
AM_CONDITIONAL([METADATA_STORE_PLUGIN], [test "x$enable_metadata_store" = "xyes"])
GRL_PLUGINS_ALL="$GRL_PLUGINS_ALL metadata-store"
if test "x$enable_metadata_store" = "xyes"
then
GRL_PLUGINS_ENABLED="$GRL_PLUGINS_ENABLED metadata-store"
fi
METADATA_STORE_PLUGIN_ID="grl-metadata-store"
AC_SUBST(METADATA_STORE_PLUGIN_ID)
AC_DEFINE_UNQUOTED([METADATA_STORE_PLUGIN_ID], ["$METADATA_STORE_PLUGIN_ID"], [Metadata Store plugin ID])
DEPS_METADATA_STORE_CFLAGS="$DEPS_CFLAGS $SQLITE_CFLAGS"
AC_SUBST(DEPS_METADATA_STORE_CFLAGS)
DEPS_METADATA_STORE_LIBS="$DEPS_LIBS $SQLITE_LIBS"
AC_SUBST(DEPS_METADATA_STORE_LIBS)
# ----------------------------------------------------------
# BUILD VIMEO PLUGIN
# ----------------------------------------------------------
AC_ARG_ENABLE(vimeo,
AC_HELP_STRING([--enable-vimeo],
[enable Vimeo plugin (default: auto)]),
[
case "$enableval" in
yes)
if test "x$HAVE_GRLNET" = "xno"; then
AC_MSG_ERROR([grilo-net-0.2 >= 0.2.2 not found, install it or use --disable-vimeo])
fi
if test "x$HAVE_XML" = "xno"; then
AC_MSG_ERROR([libxml-2.0 not found, install it or use --disable-vimeo])
fi
if test "x$HAVE_TOTEM_PL_PARSER" = "xno"; then
AC_MSG_ERROR([totem-plparser >= 3.4.1 not found, install it or use --disable-vimeo])
fi
;;
esac
],
[
if test "x$HAVE_GRLNET" = "xyes" -a "x$HAVE_XML" = "xyes" -a "x$HAVE_TOTEM_PL_PARSER" = "xyes"; then
enable_vimeo=yes
else
enable_vimeo=no
fi
])
AM_CONDITIONAL([VIMEO_PLUGIN], [test "x$enable_vimeo" = "xyes"])
GRL_PLUGINS_ALL="$GRL_PLUGINS_ALL vimeo"
if test "x$enable_vimeo" = "xyes"
then
GRL_PLUGINS_ENABLED="$GRL_PLUGINS_ENABLED vimeo"
fi
VIMEO_PLUGIN_ID="grl-vimeo"
AC_SUBST(VIMEO_PLUGIN_ID)
AC_DEFINE_UNQUOTED([VIMEO_PLUGIN_ID], ["$VIMEO_PLUGIN_ID"], [Vimeo plugin ID])
DEPS_VIMEO_CFLAGS="$DEPS_CFLAGS $GRLNET_CFLAGS $XML_CFLAGS $TOTEM_PL_PARSER_CFLAGS"
AC_SUBST(DEPS_VIMEO_CFLAGS)
DEPS_VIMEO_LIBS="$DEPS_LIBS $GRLNET_LIBS $XML_LIBS $TOTEM_PL_PARSER_LIBS"
AC_SUBST(DEPS_VIMEO_LIBS)
# ----------------------------------------------------------
# BUILD GRAVATAR PLUGIN
# ----------------------------------------------------------
AC_ARG_ENABLE(gravatar,
AC_HELP_STRING([--enable-gravatar],
[enable Gravatar plugin (default: auto)]),
[
],
[
enable_gravatar=yes
])
AM_CONDITIONAL([GRAVATAR_PLUGIN], [test "x$enable_gravatar" = "xyes"])
GRL_PLUGINS_ALL="$GRL_PLUGINS_ALL gravatar"
if test "x$enable_gravatar" = "xyes"
then
GRL_PLUGINS_ENABLED="$GRL_PLUGINS_ENABLED gravatar"
fi
GRAVATAR_PLUGIN_ID="grl-gravatar"
AC_SUBST(GRAVATAR_PLUGIN_ID)
AC_DEFINE_UNQUOTED([GRAVATAR_PLUGIN_ID], ["$GRAVATAR_PLUGIN_ID"], [Gravatar plugin ID])
DEPS_GRAVATAR_CFLAGS="$DEPS_CFLAGS"
AC_SUBST(DEPS_GRAVATAR_CFLAGS)
DEPS_GRAVATAR_LIBS="$DEPS_LIBS"
AC_SUBST(DEPS_GRAVATAR_LIBS)
# ----------------------------------------------------------
# BUILD TRACKER PLUGIN
# ----------------------------------------------------------