summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVictor Toso <me@victortoso.com>2018-07-30 16:07:37 +0200
committerVictor Toso <toso@posteo.net>2018-08-01 16:22:59 +0000
commit9fea9586dd3ed31bb3d5d24b3368b2834d51cac6 (patch)
treef6d91f8d74245846e900786626323957a77817a0
parent05bdbc8d7159cf1866439c76e50e3ff70ec5ba09 (diff)
downloadgrilo-plugins-9fea9586dd3ed31bb3d5d24b3368b2834d51cac6.tar.gz
build: Remove autotools support
-rw-r--r--ChangeLog0
-rw-r--r--Makefile.am63
-rwxr-xr-xautogen.sh22
-rw-r--r--configure.ac1408
-rw-r--r--git.mk333
-rw-r--r--gtester.mk82
-rw-r--r--help/Makefile.am17
-rw-r--r--help/examples/Makefile.am17
-rw-r--r--m4/ax_python_module.m449
-rw-r--r--release.mk48
-rw-r--r--src/Makefile.am109
-rw-r--r--src/bookmarks/Makefile.am33
-rw-r--r--src/chromaprint/Makefile.am29
-rw-r--r--src/dleyna/Makefile.am76
-rw-r--r--src/dmap/Makefile.am63
-rw-r--r--src/filesystem/Makefile.am29
-rw-r--r--src/flickr/Makefile.am35
-rw-r--r--src/freebox/Makefile.am46
-rw-r--r--src/gravatar/Makefile.am29
-rw-r--r--src/jamendo/Makefile.am31
-rw-r--r--src/local-metadata/Makefile.am30
-rw-r--r--src/lua-factory/Makefile.am71
-rw-r--r--src/lua-factory/sources/Makefile.am74
-rw-r--r--src/magnatune/Makefile.am29
-rw-r--r--src/metadata-store/Makefile.am29
-rw-r--r--src/opensubtitles/Makefile.am23
-rw-r--r--src/optical-media/Makefile.am31
-rw-r--r--src/podcasts/Makefile.am29
-rw-r--r--src/raitv/Makefile.am47
-rw-r--r--src/shoutcast/Makefile.am29
-rw-r--r--src/thetvdb/Makefile.am35
-rw-r--r--src/tmdb/Makefile.am30
-rw-r--r--src/tracker/Makefile.am44
-rw-r--r--src/vimeo/Makefile.am51
-rw-r--r--src/youtube/Makefile.am47
-rw-r--r--tests/Makefile.am53
-rw-r--r--tests/chromaprint/Makefile.am34
-rw-r--r--tests/dleyna/Makefile.am66
-rw-r--r--tests/games/Makefile.am48
-rw-r--r--tests/local-metadata/Makefile.am29
-rw-r--r--tests/lua-factory/Makefile.am91
-rw-r--r--tests/lua-factory/sources/Makefile.am99
-rw-r--r--tests/spotify-cover/Makefile.am36
-rw-r--r--tests/thetvdb/Makefile.am70
-rw-r--r--tests/tmdb/Makefile.am104
-rw-r--r--tests/vimeo/Makefile.am35
46 files changed, 0 insertions, 3783 deletions
diff --git a/ChangeLog b/ChangeLog
deleted file mode 100644
index e69de29..0000000
--- a/ChangeLog
+++ /dev/null
diff --git a/Makefile.am b/Makefile.am
deleted file mode 100644
index 83b1b78..0000000
--- a/Makefile.am
+++ /dev/null
@@ -1,63 +0,0 @@
-#
-# Makefile.am
-#
-# Author: Iago Toral Quiroga <itoral@igalia.com>
-#
-# Copyright (C) 2010, 2011 Igalia S.L. All rights reserved.
-
-include $(top_srcdir)/gtester.mk
-include $(top_srcdir)/release.mk
-
-ACLOCAL_AMFLAGS = -I m4
-
-SUBDIRS = src help po tests
-
-MAINTAINERCLEANFILES = \
- $(GITIGNORE_MAINTAINERCLEANFILES_TOPLEVEL) \
- $(GITIGNORE_MAINTAINERCLEANFILES_MAKEFILE_IN) \
- $(GITIGNORE_MAINTAINERCLEANFILES_M4_LIBTOOL) \
- m4/intltool.m4 \
- $(NULL)
-
-# Make sure that the documentation generation is enabled
-# when creating tarball releases,
-# and make sure that we enable all plugins needed by the documentation.
-DISTCHECK_CONFIGURE_FLAGS = --enable-bookmarks \
- --enable-chromaprint \
- --enable-dleyna \
- --enable-dmap \
- --enable-filesystem \
- --enable-flickr \
- --enable-freebox \
- --enable-gravatar \
- --enable-jamendo \
- --enable-local-metadata \
- --enable-lua-factory \
- --enable-magnatune \
- --enable-metadata-store \
- --enable-optical-media \
- --enable-pocket \
- --enable-podcasts \
- --enable-thetvdb \
- --enable-tmdb \
- --enable-tracker \
- --enable-vimeo \
- --enable-youtube
-
-EXTRA_DIST = \
- $(shell find "$(top_srcdir)" -type f -name meson.build ! -path "$(top_srcdir)/grilo-plugins-*" ) \
- meson_options.txt
-
-if GCOV_ENABLED
-lcov-clean:
- @rm -fr coverage
- @find . -name "*.gcda" -exec rm {} \;
- @lcov --directory . --zerocounters
-
-lcov:
- @mkdir -p coverage
- @lcov --compat-libtool --directory src --capture --output-file coverage/grilo.info
- @genhtml -o coverage/ coverage/grilo.info
-endif
-
--include $(top_srcdir)/git.mk
diff --git a/autogen.sh b/autogen.sh
deleted file mode 100755
index 46d2b4d..0000000
--- a/autogen.sh
+++ /dev/null
@@ -1,22 +0,0 @@
-#!/bin/sh
-# Run this to generate all the initial makefiles, etc.
-
-srcdir=`dirname $0`
-test -z "$srcdir" && srcdir=.
-
-PKG_NAME="grilo-plugins"
-
-(test -f $srcdir/configure.ac) || {
- echo -n "**Error**: Directory "\`$srcdir\'" does not look like the"
- echo " top-level directory"
- exit 1
-}
-
-which gnome-autogen.sh || {
- echo "You need to install gnome-common from the GNOME CVS"
- exit 1
-}
-
-REQUIRED_AUTOMAKE_VERSION=1.8 \
-USE_GNOME2_MACROS=1 \
-. gnome-autogen.sh "$@"
diff --git a/configure.ac b/configure.ac
deleted file mode 100644
index 7c8bc8c..0000000
--- a/configure.ac
+++ /dev/null
@@ -1,1408 +0,0 @@
-#
-# 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([grl_major_version], [0])
-m4_define([grl_minor_version], [3])
-m4_define([grl_micro_version], [8])
-m4_define([prj_version], [grl_major_version.grl_minor_version.grl_micro_version])
-
-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 subdir-objects dist-xz no-dist-gzip])
-
-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.3
-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
-# ----------------------------------------------------------
-
-GLIB2_REQUIRED=2.44
-GRILO_REQUIRED=0.3.6
-
-PKG_CHECK_MODULES([DEPS], glib-2.0 >= $GLIB2_REQUIRED \
- gobject-2.0 >= $GLIB2_REQUIRED \
- gmodule-2.0 >= $GLIB2_REQUIRED \
- ${GRL_NAME} >= $GRILO_REQUIRED)
-
-GLIB_COMPILE_RESOURCES=`$PKG_CONFIG --variable glib_compile_resources gio-2.0`
-AC_SUBST(GLIB_COMPILE_RESOURCES)
-
-# ----------------------------------------------------------
-# DEFINITIONS
-# ----------------------------------------------------------
-
-# Plugins directory
-
-GRL_MAJOR=grl_major_version
-GRL_MINOR=grl_minor_version
-GRL_PLUGINS_DIR=`${PKG_CONFIG} --variable=plugindir ${GRL_NAME}`
-AC_SUBST(GRL_MAJOR)
-AC_SUBST(GRL_MINOR)
-AC_SUBST(GRL_PLUGINS_DIR)
-AC_DEFINE_UNQUOTED(GRL_PLUGINS_DIR, "$GRL_PLUGINS_DIR", [Plugins directory])
-AC_DEFINE_UNQUOTED(GRL_MAJOR, $GRL_MAJOR, [plugins major version])
-AC_DEFINE_UNQUOTED(GRL_MINOR, $GRL_MINOR, [plugins minor version])
-
-# ----------------------------------------------------------
-# EXTERNAL/OPTIONAL DEPENDENCIES
-# ----------------------------------------------------------
-
-PKG_CHECK_MODULES([GRLNET], [${GRLNET_NAME} >= 0.3.0],
- HAVE_GRLNET=yes,
- HAVE_GRLNET=no)
-PKG_CHECK_MODULES([GRLPLS], [${GRLPLS_NAME} >= 0.3.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(GIO_UNIX, gio-unix-2.0, HAVE_GIO_UNIX=yes, HAVE_GIO_UNIX=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.9.1, 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.3.0,
- HAVE_LUA=yes,
- [PKG_CHECK_MODULES(LUA, lua5.3 >= 5.3.0,
- HAVE_LUA=yes,
- HAVE_LUA=no)])
-
-PKG_CHECK_MODULES(ARCHIVE, libarchive, HAVE_ARCHIVE=yes, HAVE_ARCHIVE=no)
-
-PKG_CHECK_MODULES(GSTREAMER, gstreamer-1.0, HAVE_GSTREAMER=yes, HAVE_GSTREAMER=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.17.91], HAVE_GOA=yes, HAVE_GOA=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(TOTEM_PL_PARSER_MINI, totem-plparser-mini >= 3.4.1, HAVE_TOTEM_PL_PARSER_MINI=yes, HAVE_TOTEM_PL_PARSER_MINI=no)
-if test "x$HAVE_TOTEM_PL_PARSER_MINI" = "xyes"; then
- AC_DEFINE(HAVE_TOTEM_PLPARSER_MINI, 1, [totem-plparser-mini is available])
-fi
-
-PKG_CHECK_MODULES([JSON], [json-glib-1.0], HAVE_JSON_GLIB=yes, HAVE_JSON_GLIB=no)
-
-PKG_CHECK_MODULES(AVAHI, [avahi-gobject avahi-glib avahi-client], HAVE_AVAHI=yes, HAVE_AVAHI=no)
-
-PKG_CHECK_MODULES(MEDIAART, [libmediaart-2.0], HAVE_MEDIAART=yes, HAVE_MEDIAART=no)
-
-PKG_CHECK_MODULES(GOM, [gom-1.0 >= 0.3.2], HAVE_GOM=yes, HAVE_GOM=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], [2.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)
-
-AC_CHECK_PROG(HAVE_GPERF, gperf, yes, no)
-
-GDBUS_CODEGEN=`${PKG_CONFIG} --variable=gdbus_codegen gio-2.0`
-AC_SUBST(GDBUS_CODEGEN)
-
-# ----------------------------------------------------------
-# 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
-
-# ----------------------------------------------------------
-# 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
- ],
- [
- if test "x$HAVE_GRLPLS" = "xyes"; then
- enable_filesystem=yes
- else
- enable_filesystem=no
- fi
- ])
-
-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-${GRL_VERSION} >= 0.3.0 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 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-${GRL_VERSION} >= 0.3.0 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.9.1 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-${GRL_VERSION} >= 0.3.0 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 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-${GRL_VERSION} >= 0.3.0 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
- ;;
- esac
- ],
- [
- if test "x$HAVE_GRLNET" = "xyes" -a \
- "x$HAVE_XML" = "xyes" -a \
- "x$HAVE_SQLITE" = "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 $TOTEM_PL_PARSER_CFLAGS"
-AC_SUBST(DEPS_PODCASTS_CFLAGS)
-DEPS_PODCASTS_LIBS="$DEPS_LIBS $GRLNET_LIBS $XML_LIBS $SQLITE_LIBS $TOTEM_PL_PARSER_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_GOM" = "xno"; then
- AC_MSG_ERROR([gom-1.0 not found, install it or use --disable-bookmarks])
- fi
- ;;
- esac
- ],
- [
- if test "x$HAVE_GIO" = "xyes" -a "x$HAVE_XML" = "xyes" -a "x$HAVE_GOM" = "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 $GOM_CFLAGS"
-AC_SUBST(DEPS_BOOKMARKS_CFLAGS)
-DEPS_BOOKMARKS_LIBS="$DEPS_LIBS $GOM_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-${GRL_VERSION} >= 0.3.0 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 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-${GRL_VERSION} >= 0.3.0 not found, install it or use --disable-magnatune])
- fi
- ;;
- esac
- ],
- [
- if test "x$HAVE_SQLITE" = "xyes" -a "x$HAVE_GRLNET" = "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 | auto)
- 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_ARCHIVE" = "xno"; then
- AC_MSG_ERROR([libarchive 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
- if test "x$HAVE_XML" = "xno"; then
- AC_MSG_ERROR([libxml-2.0 not found, install it or use --disable-lua-factory])
- fi
- if test "x$HAVE_GPERF" = "xno"; then
- AC_MSG_ERROR([gperf not found, install it or use --disable-lua-factory])
- fi
- ;;
- esac
- ],
- [
- if test "x$HAVE_LUA" = "xyes" -a "x$HAVE_ARCHIVE" = "xyes" -a "x$HAVE_GRLNET" = "xyes" -a "x$HAVE_JSON_GLIB" = "xyes" -a "x$HAVE_XML" = "xyes" -a "x$HAVE_GPERF" = "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 $ARCHIVE_CFLAGS $GRLNET_CFLAGS $JSON_CFLAGS $TOTEM_PL_PARSER_MINI_CFLAGS $XML_CFLAGS"
-if test "x$enable_goa" = "xyes"; then
- DEPS_LUA_FACTORY_CFLAGS="$DEPS_LUA_FACTORY_CFLAGS $GOA_CFLAGS"
-fi
-AC_SUBST(DEPS_LUA_FACTORY_CFLAGS)
-DEPS_LUA_FACTORY_LIBS="$DEPS_LIBS $LUA_LIBS $ARCHIVE_LIBS $GRLNET_LIBS $JSON_LIBS $TOTEM_PL_PARSER_MINI_LIBS $XML_LIBS"
-if test "x$enable_goa" = "xyes"; then
- DEPS_LUA_FACTORY_LIBS="$DEPS_LUA_FACTORY_LIBS $GOA_LIBS"
-fi
-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-${GRL_VERSION} >= 0.3.0 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
-# ----------------------------------------------------------
-
-AC_ARG_ENABLE(tracker,
- AC_HELP_STRING([--enable-tracker],
- [enable Tracker plugin (default: auto)]),
- [
- case "$enableval" in
- yes)
- if test "x$HAVE_TRACKER_SPARQL" = "xno"; then
- AC_MSG_ERROR([tracker-sparql-0.10.5 or higher not found, install it or use --disable-tracker])
- fi
- ;;
- esac
- ],
- [
- if test "x$HAVE_TRACKER_SPARQL" = "xyes"; then
- enable_tracker=yes
- else
- enable_tracker=no
- fi
- ])
-
-AM_CONDITIONAL([TRACKER_PLUGIN], [test "x$enable_tracker" = "xyes"])
-GRL_PLUGINS_ALL="$GRL_PLUGINS_ALL tracker"
-if test "x$enable_tracker" = "xyes"
-then
- GRL_PLUGINS_ENABLED="$GRL_PLUGINS_ENABLED tracker"
-fi
-
-TRACKER_PLUGIN_ID="grl-tracker"
-AC_SUBST(TRACKER_PLUGIN_ID)
-AC_DEFINE_UNQUOTED([TRACKER_PLUGIN_ID], ["$TRACKER_PLUGIN_ID"], [Tracker plugin ID])
-
-DEPS_TRACKER_CFLAGS="$DEPS_CFLAGS $TRACKER_SPARQL_CFLAGS"
-AC_SUBST(DEPS_TRACKER_CFLAGS)
-DEPS_TRACKER_LIBS="$DEPS_LIBS $TRACKER_SPARQL_LIBS"
-AC_SUBST(DEPS_TRACKER_LIBS)
-
-# ----------------------------------------------------------
-# BUILD RAI.TV PLUGIN
-# ----------------------------------------------------------
-
-AC_ARG_ENABLE(raitv,
- AC_HELP_STRING([--enable-raitv],
- [enable Rai.tv plugin (default: auto)]),
- [
- case "$enableval" in
- yes)
- if test "x$HAVE_GRLNET" = "xno"; then
- AC_MSG_ERROR([grilo-net-${GRL_VERSION} >= 0.3.0 not found, install it or use --disable-raitv])
- fi
- if test "x$HAVE_XML" = "xno"; then
- AC_MSG_ERROR([libxml-2.0 not found, install it or use --disable-raitv])
- fi
- ;;
- esac
- ],
- [
- if test "x$HAVE_GRLNET" = "xyes" -a "x$HAVE_XML" = "xyes"; then
- enable_raitv=yes
- else
- enable_raitv=no
- fi
- ])
-
-AM_CONDITIONAL([RAITV_PLUGIN], [test "x$enable_raitv" = "xyes"])
-GRL_PLUGINS_ALL="$GRL_PLUGINS_ALL rai.tv"
-if test "x$enable_raitv" = "xyes"
-then
- GRL_PLUGINS_ENABLED="$GRL_PLUGINS_ENABLED rai.tv"
-fi
-
-RAITV_PLUGIN_ID="grl-raitv"
-AC_SUBST(RAITV_PLUGIN_ID)
-AC_DEFINE_UNQUOTED([RAITV_PLUGIN_ID], ["$RAITV_PLUGIN_ID"], [Rai.tv plugin ID])
-
-DEPS_RAITV_CFLAGS="$DEPS_CFLAGS $LIBXML_CFLAGS $GRLNET_CFLAGS"
-AC_SUBST(DEPS_RAITV_CFLAGS)
-DEPS_RAITV_LIBS="$DEPS_LIBS $LIBXML_LIBS $GRLNET_LIBS"
-AC_SUBST(DEPS_RAITV_LIBS)
-
-# ----------------------------------------------------------
-# BUILD LOCAL METADATA PLUGIN
-# ----------------------------------------------------------
-
-AC_ARG_ENABLE(local-metadata,
- AC_HELP_STRING([--enable-local-metadata],
- [enable local-metadata 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-local-metadata])
- fi
- if test "x$HAVE_MEDIAART" = "xno"; then
- AC_MSG_ERROR([libmediaart not found, install it or use --disable-local-metadata])
- fi
- ;;
- esac
- ],
- [
- if test "x$HAVE_GIO" = "xyes" -a "x$HAVE_MEDIAART" = "xyes"; then
- enable_local_metadata=yes
- else
- enable_local_metadata=no
- fi
- ])
-
-AM_CONDITIONAL([LOCAL_METADATA_PLUGIN], [test "x$enable_local_metadata" = "xyes"])
-GRL_PLUGINS_ALL="$GRL_PLUGINS_ALL local-metadata"
-if test "x$enable_local_metadata" = "xyes"
-then
- GRL_PLUGINS_ENABLED="$GRL_PLUGINS_ENABLED local-metadata"
-fi
-
-LOCAL_METADATA_PLUGIN_ID="grl-local-metadata"
-AC_SUBST(LOCAL_METADATA_PLUGIN_ID)
-AC_DEFINE_UNQUOTED([LOCAL_METADATA_PLUGIN_ID], ["$LOCAL_METADATA_PLUGIN_ID"], [Local metadata plugin ID])
-
-DEPS_LOCAL_METADATA_CFLAGS="$DEPS_CFLAGS $GIO_CFLAGS $MEDIAART_CFLAGS"
-AC_SUBST(DEPS_LOCAL_METADATA_CFLAGS)
-DEPS_LOCAL_METADATA_LIBS="$DEPS_LIBS $GIO_LIBS $MEDIAART_LIBS"
-AC_SUBST(DEPS_LOCAL_METADATA_LIBS)
-
-# ----------------------------------------------------------
-# BUILD DLEYNA PLUGIN
-# ----------------------------------------------------------
-
-AC_ARG_ENABLE(dleyna,
- AC_HELP_STRING([--enable-dleyna],
- [enable DLNA plugin using the dLeyna DBus services (default: yes)]),
- [
- case "$enableval" in
- yes)
- if test "x$HAVE_GIO" = "xno"; then
- AC_MSG_ERROR([GIO not found, install it or use --disable-dleyna])
- fi
- if test "x$HAVE_GIO_UNIX" = "xno"; then
- AC_MSG_ERROR([GIO Unix Extensions not found, install it or use --disable-dleyna])
- fi
- if test "$xHAVE_LIBSOUP" = "xno"; then
- AC_MSG_ERROR([libsoup-2.4 not found, install it or use --disable-dleyna])
- fi
- ;;
- esac
-
- ],
- [
- if test "x$HAVE_GIO" = "xyes" -a "x$HAVE_GIO_UNIX" = "xyes" -a "x$HAVE_LIBSOUP" = "xyes"; then
- enable_dleyna=yes
- else
- enable_dleyna=no
- fi
- ])
-
-AM_CONDITIONAL([DLEYNA_PLUGIN], [test "x$enable_dleyna" = "xyes"])
-GRL_PLUGINS_ALL="$GRL_PLUGINS_ALL dleyna"
-if test "x$enable_dleyna" = "xyes"
-then
- GRL_PLUGINS_ENABLED="$GRL_PLUGINS_ENABLED dleyna"
-
- AX_PYTHON_MODULE([dbusmock])
- AS_IF([test "$HAVE_PYMOD_DBUSMOCK" = "yes"],,
- AC_MSG_WARN([[
-***
-*** No python-dbusmock module detected, tests for the dLeyna plugin will be disabled.
-***]]))
-fi
-
-AM_CONDITIONAL([DLEYNA_TESTS_RUN_DBUSMOCK],[test "$HAVE_PYMOD_DBUSMOCK" = "yes"])
-
-DLEYNA_PLUGIN_ID="grl-dleyna"
-AC_SUBST(DLEYNA_PLUGIN_ID)
-AC_DEFINE_UNQUOTED([DLEYNA_PLUGIN_ID], ["$DLEYNA_PLUGIN_ID"], [dLeyna DLNA plugin ID])
-
-DEPS_DLEYNA_CFLAGS="$DEPS_CFLAGS $GIO_UNIX_CFLAGS $LIBSOUP_CFLAGS"
-AC_SUBST(DEPS_DLEYNA_CFLAGS)
-DEPS_DLEYNA_LIBS="$DEPS_LIBS $GIO_UNIX_LIBS $LIBSOUP_LIBS"
-AC_SUBST(DEPS_DLEYNA_LIBS)
-
-
-# ----------------------------------------------------------
-# BUILD DMAP PLUGIN
-# ----------------------------------------------------------
-
-AC_ARG_ENABLE(dmap,
- AC_HELP_STRING([--enable-dmap],
- [enable DMAP plugin (default: auto)]),
- [
- case "$enableval" in
- yes)
- if test "x$HAVE_DMAP" = "xno"; then
- AC_MSG_ERROR([libdmapsharing-3.0 >= 2.9.12 not found, install it or use --disable-dmap])
- fi
- if test "$xHAVE_XML" = "xno"; then
- AC_MSG_ERROR([libxml-2.0 not found, install it or use --disable-dmap])
- fi
- esac
- ],
- [
- if test "x$HAVE_DMAP" = "xyes" -a "x$HAVE_XML" = "xyes"; then
- enable_dmap=yes
- else
- enable_dmap=no
- fi
- ])
-
-AM_CONDITIONAL([DMAP_PLUGIN], [test "x$enable_dmap" = "xyes"])
-GRL_PLUGINS_ALL="$GRL_PLUGINS_ALL dmap"
-if test "x$enable_dmap" = "xyes"
-then
- GRL_PLUGINS_ENABLED="$GRL_PLUGINS_ENABLED dmap"
-fi
-
-DAAP_PLUGIN_ID="grl-daap"
-AC_SUBST(DAAP_PLUGIN_ID)
-AC_DEFINE_UNQUOTED([DAAP_PLUGIN_ID], ["$DAAP_PLUGIN_ID"], [DAAP plugin ID])
-
-DPAP_PLUGIN_ID="grl-dpap"
-AC_SUBST(DPAP_PLUGIN_ID)
-AC_DEFINE_UNQUOTED([DPAP_PLUGIN_ID], ["$DPAP_PLUGIN_ID"], [DPAP plugin ID])
-
-DEPS_DMAP_CFLAGS="$DEPS_CFLAGS $DMAP_CFLAGS $XML_CFLAGS"
-AC_SUBST(DEPS_DMAP_CFLAGS)
-DEPS_DMAP_LIBS="$DEPS_LIBS $DMAP_LIBS $XML_LIBS"
-AC_SUBST(DEPS_DMAP_LIBS)
-
-# ----------------------------------------------------------
-# BUILD CHROMAPRINT PLUGIN
-# ----------------------------------------------------------
-
-dnl Check for required plugins
-gst10_toolsdir=`$PKG_CONFIG --variable=toolsdir gstreamer-1.0`
-gst10_inspect="$gst10_toolsdir/gst-inspect-1.0"
-
-AC_ARG_ENABLE(chromaprint,
- AC_HELP_STRING([--enable-chromaprint],
- [enable chromaprint plugin (default: auto)]),
- [
- case "$enableval" in
- yes)
- if test "x$HAVE_GSTREAMER" = "xno"; then
- AC_MSG_ERROR([gstreamer-1.0 not found, install it or use --disable-chromaprint])
- fi
-
- dnl Give error and exit if we don't have the gst_inspect tool
- AC_MSG_CHECKING([GStreamer 1.0 inspection tool])
- if test -r "$gst10_inspect"; then
- AC_MSG_RESULT([yes])
- else
- AC_MSG_RESULT([no])
- AC_MSG_ERROR([
- Cannot find required GStreamer-1.0 tool 'gst-inspect-1.0'.
- It should be part of gstreamer-1_0-utils.
- Please install or use --disable-chromaprint
- ])
- fi
-
- dnl Check for elements from gst-plugins-bad
- dnl Set plugins which contain below elements
- set -- chromaprint
- for bad_element in chromaprint
- do
- AC_MSG_CHECKING([GStreamer 1.0 $bad_element element])
- if $gst10_inspect $bad_element >/dev/null 2>/dev/null; then
- AC_MSG_RESULT([yes])
- else
- AC_MSG_RESULT([no])
- AC_MSG_ERROR([
- Cannot find required GStreamer-1.0 plugin '$1'.
- It should be part of gst-plugins-bad.
- Please install or use --disable-chromaprint
- ])
- fi
- shift;
- done
- ;;
- esac
- ],
- [
- if test "x$HAVE_GSTREAMER" = "xyes" -a -r "$gst10_inspect"; then
- if $gst10_inspect chromaprint >/dev/null 2>/dev/null; then
- enable_chromaprint=yes
- else
- enable_chromaprint=no
- fi
- else
- enable_chromaprint=no
- fi
- ])
-
-AM_CONDITIONAL([CHROMAPRINT_PLUGIN], [test "x$enable_chromaprint" = "xyes"])
-GRL_PLUGINS_ALL="$GRL_PLUGINS_ALL chromaprint"
-if test "x$enable_chromaprint" = "xyes"
-then
- GRL_PLUGINS_ENABLED="$GRL_PLUGINS_ENABLED chromaprint"
-fi
-
-CHROMAPRINT_PLUGIN_ID="grl-chromaprint"
-AC_SUBST(CHROMAPRINT_PLUGIN_ID)
-AC_DEFINE_UNQUOTED([CHROMAPRINT_PLUGIN_ID], ["$CHROMAPRINT_PLUGIN_ID"], [chromaprint plugin ID])
-
-DEPS_CHROMAPRINT_CFLAGS="$DEPS_CFLAGS $GSTREAMER_CFLAGS"
-AC_SUBST(DEPS_CHROMAPRINT_CFLAGS)
-DEPS_CHROMAPRINT_LIBS="$DEPS_LIBS $GSTREAMER_LIBS"
-AC_SUBST(DEPS_CHROMAPRINT_LIBS)
-
-
-# ----------------------------------------------------------
-# BUILD THETVDB PLUGIN
-# ----------------------------------------------------------
-
-AC_ARG_ENABLE(thetvdb,
- AC_HELP_STRING([--enable-thetvdb],
- [enable thetvdb plugin (default: auto)]),
- [
- case "$enableval" in
- yes)
- if test "x$HAVE_GRLNET" = "xno"; then
- AC_MSG_ERROR([grilo-net-${GRL_VERSION} >= 0.3.0 not found, install it or use --disable-thetvdb])
- fi
- if test "x$HAVE_XML" = "xno"; then
- AC_MSG_ERROR([libxml-2.0 not found, install it or use --disable-thetvdb])
- fi
- if test "x$HAVE_ARCHIVE" = "xno"; then
- AC_MSG_ERROR([libarchive not found, install it or use --disable-thetvdb])
- fi
- if test "x$HAVE_GOM" = "xno"; then
- AC_MSG_ERROR([gom-1.0 not found, install it or use --disable-thetvdb])
- fi
- ;;
- esac
- ],
- [
- if test "x$HAVE_GRLNET" = "xyes" -a "x$HAVE_XML" = "xyes" -a "x$HAVE_ARCHIVE" = "xyes" -a "x$HAVE_GOM" = "xyes"; then
- enable_thetvdb=yes
- else
- enable_thetvdb=no
- fi
- ])
-
-AM_CONDITIONAL([THETVDB_PLUGIN], [test "x$enable_thetvdb" = "xyes"])
-GRL_PLUGINS_ALL="$GRL_PLUGINS_ALL thetvdb"
-if test "x$enable_thetvdb" = "xyes"
-then
- GRL_PLUGINS_ENABLED="$GRL_PLUGINS_ENABLED thetvdb"
-fi
-
-THETVDB_PLUGIN_ID="grl-thetvdb"
-AC_SUBST(THETVDB_PLUGIN_ID)
-AC_DEFINE_UNQUOTED([THETVDB_PLUGIN_ID], ["$THETVDB_PLUGIN_ID"], [thetvdb plugin ID])
-
-DEPS_THETVDB_CFLAGS="$DEPS_CFLAGS $ARCHIVE_CFLAGS $GRLNET_CFLAGS $XML_CFLAGS $GOM_CFLAGS"
-AC_SUBST(DEPS_THETVDB_CFLAGS)
-DEPS_THETVDB_LIBS="$DEPS_LIBS $ARCHIVE_LIBS $GRLNET_LIBS $XML_LIBS $GOM_LIBS"
-AC_SUBST(DEPS_THETVDB_LIBS)
-
-# ----------------------------------------------------------
-# BUILD TMDB PLUGIN
-# ----------------------------------------------------------
-
-AC_ARG_ENABLE([tmdb],
- AC_HELP_STRING([--enable-tmdb],
- [enable TMDb metadata plugin (default: auto)]),
- [
- AS_IF([test "x$enableval" = "xyes"],
- [AS_IF([test "x$HAVE_JSON_GLIB" = "xno" -o "x$HAVE_GRLNET" = "xno" -o "x$HAVE_LIBSOUP" = "xno"],
- [AC_MSG_ERROR([json-glib-1.0, ${GRLNET_NAME} or libsoup not found, install it or use --disable-tmdb])
- ])
- ])],
- [
- AS_IF([test "x$HAVE_JSON_GLIB" = "xyes" -a "x$HAVE_GRLNET" = "xyes" -a "x$HAVE_LIBSOUP" = "xyes"],
- [enable_tmdb=yes],
- [enable_tmdb=no])
- ]
-)
-
-AM_CONDITIONAL([TMDB_PLUGIN], [test "x$enable_tmdb" = "xyes"])
-GRL_PLUGINS_ALL="$GRL_PLUGINS_ALL tmdb"
-AS_IF([test "x$enable_tmdb" = "xyes"],
- [GRL_PLUGINS_ENABLED="$GRL_PLUGINS_ENABLED tmdb"])
-
-TMDB_PLUGIN_ID="grl-tmdb"
-AC_SUBST(TMDB_PLUGIN_ID)
-AC_DEFINE_UNQUOTED([TMDB_PLUGIN_ID], ["$TMDB_PLUGIN_ID"], [TMDb plugin ID])
-
-DEPS_TMDB_CFLAGS="$DEPS_CFLAGS $LIBSOUP_CFLAGS $GRLNET_CFLAGS $JSON_CFLAGS"
-AC_SUBST(DEPS_TMDB_CFLAGS)
-DEPS_TMDB_LIBS="$DEPS_LIBS $LIBSOUP_LIBS $GRLNET_LIBS $JSON_LIBS"
-AC_SUBST(DEPS_TMDB_LIBS)
-
-# ----------------------------------------------------------
-# BUILD FREEBOX PLUGIN
-# ----------------------------------------------------------
-
-AC_ARG_ENABLE(freebox,
- AC_HELP_STRING([--enable-freebox],
- [enable Freebox plugin (default: auto)]),
- [
- case "$enableval" in
- yes)
- if test "x$HAVE_GRLPLS" = "xno"; then
- AC_MSG_ERROR([grilo-pls-${GRL_VERSION} >= 0.3.0 not found, install it or use --disable-freebox])
- fi
- if test "x$HAVE_AVAHI" = "xno"; then
- AC_MSG_ERROR([avahi not found, install it or use --disable-freebox])
- fi
- ;;
- esac
- ],
- [
- if test "x$HAVE_GRLPLS" = "xyes" -a "x$HAVE_AVAHI" = "xyes"; then
- enable_freebox=yes
- else
- enable_freebox=no
- fi
- ])
-
-AM_CONDITIONAL([FREEBOX_PLUGIN], [test "x$enable_freebox" = "xyes"])
-GRL_PLUGINS_ALL="$GRL_PLUGINS_ALL freebox"
-if test "x$enable_freebox" = "xyes"
-then
- GRL_PLUGINS_ENABLED="$GRL_PLUGINS_ENABLED freebox"
-fi
-
-FREEBOX_PLUGIN_ID="grl-freebox"
-AC_SUBST(FREEBOX_PLUGIN_ID)
-AC_DEFINE_UNQUOTED([FREEBOX_PLUGIN_ID], ["$FREEBOX_PLUGIN_ID"], [Freebox plugin ID])
-
-DEPS_FREEBOX_CFLAGS="$DEPS_CFLAGS $GRLPLS_CFLAGS $AVAHI_CFLAGS"
-AC_SUBST(DEPS_FREEBOX_CFLAGS)
-DEPS_FREEBOX_LIBS="$DEPS_LIBS $GRLPLS_LIBS $AVAHI_LIBS"
-AC_SUBST(DEPS_FREEBOX_LIBS)
-
-# ----------------------------------------------------------
-# BUILD OPENSUBTITLES PLUGIN
-# ----------------------------------------------------------
-
-AC_ARG_ENABLE(opensubtitles,
- AC_HELP_STRING([--enable-opensubtitles],
- [enable DLNA plugin using the OpenSubtitles DBus services (default: yes)]),
- [
- case "$enableval" in
- yes)
- if test "x$HAVE_GIO" = "xno"; then
- AC_MSG_ERROR([GIO not found, install it or use --disable-opensubtitles])
- fi
- if test "$xHAVE_LIBSOUP" = "xno"; then
- AC_MSG_ERROR([libsoup-2.4 not found, install it or use --disable-opensubtitles])
- fi
- ;;
- esac
-
- ],
- [
- if test "x$HAVE_GIO" = "xyes" -a "x$HAVE_LIBSOUP" = "xyes"; then
- enable_opensubtitles=yes
- else
- enable_opensubtitles=no
- fi
- ])
-
-AM_CONDITIONAL([OPENSUBTITLES_PLUGIN], [test "x$enable_opensubtitles" = "xyes"])
-GRL_PLUGINS_ALL="$GRL_PLUGINS_ALL opensubtitles"
-if test "x$enable_opensubtitles" = "xyes"
-then
- GRL_PLUGINS_ENABLED="$GRL_PLUGINS_ENABLED opensubtitles"
-fi
-
-OPENSUBTITLES_PLUGIN_ID="grl-opensubtitles"
-AC_SUBST(OPENSUBTITLES_PLUGIN_ID)
-AC_DEFINE_UNQUOTED([OPENSUBTITLES_PLUGIN_ID], ["$OPENSUBTITLES_PLUGIN_ID"], [OpenSubtitles plugin ID])
-
-DEPS_OPENSUBTITLES_CFLAGS="$DEPS_CFLAGS $GIO_CFLAGS $LIBSOUP_CFLAGS"
-AC_SUBST(DEPS_OPENSUBTITLES_CFLAGS)
-DEPS_OPENSUBTITLES_LIBS="$DEPS_LIBS $GIO_LIBS $LIBSOUP_LIBS"
-AC_SUBST(DEPS_OPENSUBTITLES_LIBS)
-
-# ----------------------------------------------------------
-# GETTEXT/INTLTOOL
-# ----------------------------------------------------------
-
-IT_PROG_INTLTOOL([0.40.0])
-GETTEXT_PACKAGE=grilo-plugins
-AC_SUBST(GETTEXT_PACKAGE)
-AC_DEFINE_UNQUOTED(GETTEXT_PACKAGE,"$GETTEXT_PACKAGE", [The domain to use with gettext])
-
-#AM_GLIB_GNU_GETTEXT
-
-# ----------------------------------------------------------
-# WORKAROUNDS
-# ----------------------------------------------------------
-
-AC_SUBST([abs_top_builddir])
-AC_SUBST([builddir])
-
-# ----------------------------------------------------------
-# DOCUMENTATION
-# ----------------------------------------------------------
-
-YELP_HELP_INIT
-
-# ----------------------------------------------------------
-# OUTPUT
-# ----------------------------------------------------------
-
-AC_CONFIG_FILES([
- Makefile
- help/Makefile
- help/examples/Makefile
- po/Makefile.in
- po/Makefile
- src/Makefile
- src/chromaprint/Makefile
- src/bookmarks/Makefile
- src/dleyna/Makefile
- src/dmap/Makefile
- src/filesystem/Makefile
- src/flickr/Makefile
- src/freebox/Makefile
- src/gravatar/Makefile
- src/jamendo/Makefile
- src/local-metadata/Makefile
- src/lua-factory/Makefile
- src/lua-factory/sources/Makefile
- src/magnatune/Makefile
- src/thetvdb/Makefile
- src/metadata-store/Makefile
- src/opensubtitles/Makefile
- src/optical-media/Makefile
- src/podcasts/Makefile
- src/raitv/Makefile
- src/shoutcast/Makefile
- src/tmdb/Makefile
- src/tracker/Makefile
- src/vimeo/Makefile
- src/youtube/Makefile
- tests/Makefile
- tests/chromaprint/Makefile
- tests/dleyna/Makefile
- tests/dleyna/dbusmock/dleyna-server-mock.service
- tests/spotify-cover/Makefile
- tests/local-metadata/Makefile
- tests/lua-factory/Makefile
- tests/lua-factory/sources/Makefile
- tests/games/Makefile
- tests/thetvdb/Makefile
- tests/tmdb/Makefile
- tests/vimeo/Makefile
-])
-
-AC_OUTPUT
-
-echo "
-
-Configuration
- Version : ${VERSION}
- Prefix : ${prefix}
- Compiler : ${CC}
-
- Enable debug : ${enable_debug}
- Enable coverage : ${enable_gcov}
-
- Enable GOA : ${enable_goa}
-"
-
-echo "Plugins"
-( for i in $GRL_PLUGINS_ALL; do
- case " $GRL_PLUGINS_ENABLED " in
- *\ $i\ *)
- printf '\t%-20s: yes\n' $i
- ;;
- *)
- printf '\t%-20s: no\n' $i
- ;;
- esac
- done ) | sort
-echo ""
diff --git a/git.mk b/git.mk
deleted file mode 100644
index 9d4bf25..0000000
--- a/git.mk
+++ /dev/null
@@ -1,333 +0,0 @@
-# git.mk, a small Makefile to autogenerate .gitignore files
-# for autotools-based projects.
-#
-# Copyright 2009, Red Hat, Inc.
-# Copyright 2010,2011,2012,2013 Behdad Esfahbod
-# Written by Behdad Esfahbod
-#
-# Copying and distribution of this file, with or without modification,
-# is permitted in any medium without royalty provided the copyright
-# notice and this notice are preserved.
-#
-# The latest version of this file can be downloaded from:
-GIT_MK_URL = https://raw.githubusercontent.com/behdad/git.mk/master/git.mk
-#
-# Bugs, etc, should be reported upstream at:
-# https://github.com/behdad/git.mk
-#
-# To use in your project, import this file in your git repo's toplevel,
-# then do "make -f git.mk". This modifies all Makefile.am files in
-# your project to -include git.mk. Remember to add that line to new
-# Makefile.am files you create in your project, or just rerun the
-# "make -f git.mk".
-#
-# This enables automatic .gitignore generation. If you need to ignore
-# more files, add them to the GITIGNOREFILES variable in your Makefile.am.
-# But think twice before doing that. If a file has to be in .gitignore,
-# chances are very high that it's a generated file and should be in one
-# of MOSTLYCLEANFILES, CLEANFILES, DISTCLEANFILES, or MAINTAINERCLEANFILES.
-#
-# The only case that you need to manually add a file to GITIGNOREFILES is
-# when remove files in one of mostlyclean-local, clean-local, distclean-local,
-# or maintainer-clean-local make targets.
-#
-# Note that for files like editor backup, etc, there are better places to
-# ignore them. See "man gitignore".
-#
-# If "make maintainer-clean" removes the files but they are not recognized
-# by this script (that is, if "git status" shows untracked files still), send
-# me the output of "git status" as well as your Makefile.am and Makefile for
-# the directories involved and I'll diagnose.
-#
-# For a list of toplevel files that should be in MAINTAINERCLEANFILES, see
-# Makefile.am.sample in the git.mk git repo.
-#
-# Don't EXTRA_DIST this file. It is supposed to only live in git clones,
-# not tarballs. It serves no useful purpose in tarballs and clutters the
-# build dir.
-#
-# This file knows how to handle autoconf, automake, libtool, gtk-doc,
-# gnome-doc-utils, yelp.m4, mallard, intltool, gsettings, dejagnu, appdata,
-# appstream.
-#
-# This makefile provides the following targets:
-#
-# - all: "make all" will build all gitignore files.
-# - gitignore: makes all gitignore files in the current dir and subdirs.
-# - .gitignore: make gitignore file for the current dir.
-# - gitignore-recurse: makes all gitignore files in the subdirs.
-#
-# KNOWN ISSUES:
-#
-# - Recursive configure doesn't work as $(top_srcdir)/git.mk inside the
-# submodule doesn't find us. If you have configure.{in,ac} files in
-# subdirs, add a proxy git.mk file in those dirs that simply does:
-# "include $(top_srcdir)/../git.mk". Add more ..'s to your taste.
-# And add those files to git. See vte/gnome-pty-helper/git.mk for
-# example.
-#
-
-
-
-###############################################################################
-# Variables user modules may want to add to toplevel MAINTAINERCLEANFILES:
-###############################################################################
-
-#
-# Most autotools-using modules should be fine including this variable in their
-# toplevel MAINTAINERCLEANFILES:
-GITIGNORE_MAINTAINERCLEANFILES_TOPLEVEL = \
- $(srcdir)/aclocal.m4 \
- $(srcdir)/autoscan.log \
- $(srcdir)/configure.scan \
- `AUX_DIR=$(srcdir)/$$(cd $(top_srcdir); $(AUTOCONF) --trace 'AC_CONFIG_AUX_DIR:$$1' ./configure.ac); \
- test "x$$AUX_DIR" = "x$(srcdir)/" && AUX_DIR=$(srcdir); \
- for x in \
- ar-lib \
- compile \
- config.guess \
- config.sub \
- depcomp \
- install-sh \
- ltmain.sh \
- missing \
- mkinstalldirs \
- test-driver \
- ylwrap \
- ; do echo "$$AUX_DIR/$$x"; done` \
- `cd $(top_srcdir); $(AUTOCONF) --trace 'AC_CONFIG_HEADERS:$$1' ./configure.ac | \
- head -n 1 | while read f; do echo "$(srcdir)/$$f.in"; done`
-#
-# All modules should also be fine including the following variable, which
-# removes automake-generated Makefile.in files:
-GITIGNORE_MAINTAINERCLEANFILES_MAKEFILE_IN = \
- `cd $(top_srcdir); $(AUTOCONF) --trace 'AC_CONFIG_FILES:$$1' ./configure.ac | \
- while read f; do \
- case $$f in Makefile|*/Makefile) \
- test -f "$(srcdir)/$$f.am" && echo "$(srcdir)/$$f.in";; esac; \
- done`
-#
-# Modules that use libtool and use AC_CONFIG_MACRO_DIR() may also include this,
-# though it's harmless to include regardless.
-GITIGNORE_MAINTAINERCLEANFILES_M4_LIBTOOL = \
- `MACRO_DIR=$(srcdir)/$$(cd $(top_srcdir); $(AUTOCONF) --trace 'AC_CONFIG_MACRO_DIR:$$1' ./configure.ac); \
- if test "x$$MACRO_DIR" != "x$(srcdir)/"; then \
- for x in \
- libtool.m4 \
- ltoptions.m4 \
- ltsugar.m4 \
- ltversion.m4 \
- lt~obsolete.m4 \
- ; do echo "$$MACRO_DIR/$$x"; done; \
- fi`
-
-
-
-###############################################################################
-# Default rule is to install ourselves in all Makefile.am files:
-###############################################################################
-
-git-all: git-mk-install
-
-git-mk-install:
- @echo "Installing git makefile"
- @any_failed=; \
- find "`test -z "$(top_srcdir)" && echo . || echo "$(top_srcdir)"`" -name Makefile.am | while read x; do \
- if grep 'include .*/git.mk' $$x >/dev/null; then \
- echo "$$x already includes git.mk"; \
- else \
- failed=; \
- echo "Updating $$x"; \
- { cat $$x; \
- echo ''; \
- echo '-include $$(top_srcdir)/git.mk'; \
- } > $$x.tmp || failed=1; \
- if test x$$failed = x; then \
- mv $$x.tmp $$x || failed=1; \
- fi; \
- if test x$$failed = x; then : else \
- echo "Failed updating $$x"; >&2 \
- any_failed=1; \
- fi; \
- fi; done; test -z "$$any_failed"
-
-git-mk-update:
- wget $(GIT_MK_URL) -O $(top_srcdir)/git.mk
-
-.PHONY: git-all git-mk-install git-mk-update
-
-
-
-###############################################################################
-# Actual .gitignore generation:
-###############################################################################
-
-$(srcdir)/.gitignore: Makefile.am $(top_srcdir)/git.mk
- @echo "git.mk: Generating $@"
- @{ \
- if test "x$(DOC_MODULE)" = x -o "x$(DOC_MAIN_SGML_FILE)" = x; then :; else \
- for x in \
- $(DOC_MODULE)-decl-list.txt \
- $(DOC_MODULE)-decl.txt \
- tmpl/$(DOC_MODULE)-unused.sgml \
- "tmpl/*.bak" \
- xml html \
- ; do echo "/$$x"; done; \
- FLAVOR=$$(cd $(top_srcdir); $(AUTOCONF) --trace 'GTK_DOC_CHECK:$$2' ./configure.ac); \
- case $$FLAVOR in *no-tmpl*) echo /tmpl;; esac; \
- fi; \
- if test "x$(DOC_MODULE)$(DOC_ID)" = x -o "x$(DOC_LINGUAS)" = x; then :; else \
- for lc in $(DOC_LINGUAS); do \
- for x in \
- $(if $(DOC_MODULE),$(DOC_MODULE).xml) \
- $(DOC_PAGES) \
- $(DOC_INCLUDES) \
- ; do echo "/$$lc/$$x"; done; \
- done; \
- for x in \
- $(_DOC_OMF_ALL) \
- $(_DOC_DSK_ALL) \
- $(_DOC_HTML_ALL) \
- $(_DOC_MOFILES) \
- $(DOC_H_FILE) \
- "*/.xml2po.mo" \
- "*/*.omf.out" \
- ; do echo /$$x; done; \
- fi; \
- if test "x$(HELP_ID)" = x -o "x$(HELP_LINGUAS)" = x; then :; else \
- for lc in $(HELP_LINGUAS); do \
- for x in \
- $(HELP_FILES) \
- "$$lc.stamp" \
- "$$lc.mo" \
- ; do echo "/$$lc/$$x"; done; \
- done; \
- fi; \
- if test "x$(gsettings_SCHEMAS)" = x; then :; else \
- for x in \
- $(gsettings_SCHEMAS:.xml=.valid) \
- $(gsettings__enum_file) \
- ; do echo "/$$x"; done; \
- fi; \
- if test "x$(appdata_XML)" = x; then :; else \
- for x in \
- $(appdata_XML:.xml=.valid) \
- ; do echo "/$$x"; done; \
- fi; \
- if test "x$(appstream_XML)" = x; then :; else \
- for x in \
- $(appstream_XML:.xml=.valid) \
- ; do echo "/$$x"; done; \
- fi; \
- if test -f $(srcdir)/po/Makefile.in.in; then \
- for x in \
- po/Makefile.in.in \
- po/Makefile.in.in~ \
- po/Makefile.in \
- po/Makefile \
- po/Makevars.template \
- po/POTFILES \
- po/Rules-quot \
- po/stamp-it \
- po/.intltool-merge-cache \
- "po/*.gmo" \
- "po/*.header" \
- "po/*.mo" \
- "po/*.sed" \
- "po/*.sin" \
- po/$(GETTEXT_PACKAGE).pot \
- intltool-extract.in \
- intltool-merge.in \
- intltool-update.in \
- ; do echo "/$$x"; done; \
- fi; \
- if test -f $(srcdir)/configure; then \
- for x in \
- autom4te.cache \
- configure \
- config.h \
- stamp-h1 \
- libtool \
- config.lt \
- ; do echo "/$$x"; done; \
- fi; \
- if test "x$(DEJATOOL)" = x; then :; else \
- for x in \
- $(DEJATOOL) \
- ; do echo "/$$x.sum"; echo "/$$x.log"; done; \
- echo /site.exp; \
- fi; \
- if test "x$(am__dirstamp)" = x; then :; else \
- echo "$(am__dirstamp)"; \
- fi; \
- if test "x$(LTCOMPILE)" = x -a "x$(LTCXXCOMPILE)" = x -a "x$(GTKDOC_RUN)" = x; then :; else \
- for x in \
- "*.lo" \
- ".libs" "_libs" \
- ; do echo "$$x"; done; \
- fi; \
- for x in \
- .gitignore \
- $(GITIGNOREFILES) \
- $(CLEANFILES) \
- $(PROGRAMS) $(check_PROGRAMS) $(EXTRA_PROGRAMS) \
- $(LIBRARIES) $(check_LIBRARIES) $(EXTRA_LIBRARIES) \
- $(LTLIBRARIES) $(check_LTLIBRARIES) $(EXTRA_LTLIBRARIES) \
- so_locations \
- $(MOSTLYCLEANFILES) \
- $(TEST_LOGS) \
- $(TEST_LOGS:.log=.trs) \
- $(TEST_SUITE_LOG) \
- $(TESTS:=.test) \
- "*.gcda" \
- "*.gcno" \
- $(DISTCLEANFILES) \
- $(am__CONFIG_DISTCLEAN_FILES) \
- $(CONFIG_CLEAN_FILES) \
- TAGS ID GTAGS GRTAGS GSYMS GPATH tags \
- "*.tab.c" \
- $(MAINTAINERCLEANFILES) \
- $(BUILT_SOURCES) \
- $(patsubst %.vala,%.c,$(filter %.vala,$(SOURCES))) \
- $(filter %_vala.stamp,$(DIST_COMMON)) \
- $(filter %.vapi,$(DIST_COMMON)) \
- $(filter $(addprefix %,$(notdir $(patsubst %.vapi,%.h,$(filter %.vapi,$(DIST_COMMON))))),$(DIST_COMMON)) \
- Makefile \
- Makefile.in \
- "*.orig" \
- "*.rej" \
- "*.bak" \
- "*~" \
- ".*.sw[nop]" \
- ".dirstamp" \
- ; do echo "/$$x"; done; \
- for x in \
- "*.$(OBJEXT)" \
- $(DEPDIR) \
- ; do echo "$$x"; done; \
- } | \
- sed "s@^/`echo "$(srcdir)" | sed 's/\(.\)/[\1]/g'`/@/@" | \
- sed 's@/[.]/@/@g' | \
- LC_ALL=C sort | uniq > $@.tmp && \
- mv $@.tmp $@;
-
-all: $(srcdir)/.gitignore gitignore-recurse-maybe
-gitignore: $(srcdir)/.gitignore gitignore-recurse
-
-gitignore-recurse-maybe:
- @for subdir in $(DIST_SUBDIRS); do \
- case " $(SUBDIRS) " in \
- *" $$subdir "*) :;; \
- *) test "$$subdir" = . -o -e "$$subdir/.git" || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) gitignore || echo "Skipping $$subdir");; \
- esac; \
- done
-gitignore-recurse:
- @for subdir in $(DIST_SUBDIRS); do \
- test "$$subdir" = . -o -e "$$subdir/.git" || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) gitignore || echo "Skipping $$subdir"); \
- done
-
-maintainer-clean: gitignore-clean
-gitignore-clean:
- -rm -f $(srcdir)/.gitignore
-
-.PHONY: gitignore-clean gitignore gitignore-recurse gitignore-recurse-maybe
diff --git a/gtester.mk b/gtester.mk
deleted file mode 100644
index b89058a..0000000
--- a/gtester.mk
+++ /dev/null
@@ -1,82 +0,0 @@
-#
-# Testing rules for make
-# Originally copied from JSON-GLib project
-#
-# test: run all tests in cwd and subdirs
-# test-report: run tests in subdirs and generate report
-# perf-report: run tests in subdirs with -m perf and generate report
-# full-report: like test-report: with -m perf and -m slow
-#
-
-GTESTER = gtester
-GTESTER_REPORT = gtester-report
-
-# initialize variables for unconditional += appending
-EXTRA_DIST =
-TEST_PROGS =
-
-### testing rules
-
-# test: run all tests in cwd and subdirs
-test: test-nonrecursive
- @for subdir in $(SUBDIRS) . ; do \
- test "$$subdir" = "." -o "$$subdir" = "po" || \
- ( cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $@ ) || exit $? ; \
- done
-
-# test-nonrecursive: run tests only in cwd
-test-nonrecursive: ${TEST_PROGS}
- @test -z "${TEST_PROGS}" || ${GTESTER} --verbose ${TEST_PROGS}
-
-# test-report: run tests in subdirs and generate report
-# perf-report: run tests in subdirs with -m perf and generate report
-# full-report: like test-report: with -m perf and -m slow
-test-report perf-report full-report: ${TEST_PROGS}
- @test -z "${TEST_PROGS}" || { \
- case $@ in \
- test-report) test_options="-k";; \
- perf-report) test_options="-k -m=perf";; \
- full-report) test_options="-k -m=perf -m=slow";; \
- esac ; \
- if test -z "$$GTESTER_LOGDIR" ; then \
- ${GTESTER} --verbose $$test_options -o test-report.xml ${TEST_PROGS} ; \
- elif test -n "${TEST_PROGS}" ; then \
- ${GTESTER} --verbose $$test_options -o `mktemp "$$GTESTER_LOGDIR/log-XXXXXX"` ${TEST_PROGS} ; \
- fi ; \
- }
- @ ignore_logdir=true ; \
- if test -z "$$GTESTER_LOGDIR" ; then \
- GTESTER_LOGDIR=`mktemp -d "\`pwd\`/.testlogs-XXXXXX"`; export GTESTER_LOGDIR ; \
- ignore_logdir=false ; \
- fi ; \
- if test -d "$(top_srcdir)/.git"; then \
- export REVISION="`git describe`" ; \
- else \
- export REVISION="undefined" ; \
- fi ; \
- export TIMESTAMP=`date +%Y-%m-%dT%H:%M:%S%z` ; \
- for subdir in $(SUBDIRS) . ; do \
- test "$$subdir" = "." -o "$$subdir" = "po" || \
- ( cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $@ ) || exit $? ; \
- done ; \
- $$ignore_logdir || { \
- echo '<?xml version="1.0"?>' > $@.xml ; \
- echo '<report-collection>' >> $@.xml ; \
- echo '<info>' >> $@.xml ; \
- echo ' <package>$(PACKAGE)</package>' >> $@.xml ; \
- echo ' <version>$(VERSION)</version>' >> $@.xml ; \
- echo " <revision>$$REVISION</revision>" >> $@.xml ; \
- echo " <date>$$TIMESTAMP</date>" >> $@.xml ; \
- echo '</info>' >> $@.xml ; \
- for lf in `ls -L "$$GTESTER_LOGDIR"/.` ; do \
- sed '1,1s/^<?xml\b[^>?]*?>//' <"$$GTESTER_LOGDIR"/"$$lf" >> $@.xml ; \
- done ; \
- echo >> $@.xml ; \
- echo '</report-collection>' >> $@.xml ; \
- rm -rf "$$GTESTER_LOGDIR"/ ; \
- ${GTESTER_REPORT} --version 2>/dev/null 1>&2 ; test "$$?" != 0 || ${GTESTER_REPORT} $@.xml >$@.html ; \
- }
-.PHONY: test test-report perf-report full-report test-nonrecursive
-
-# run tests in cwd as part of make check
-check-local: test-nonrecursive
diff --git a/help/Makefile.am b/help/Makefile.am
deleted file mode 100644
index f1e1310..0000000
--- a/help/Makefile.am
+++ /dev/null
@@ -1,17 +0,0 @@
-SUBDIRS = examples
-
-@YELP_HELP_RULES@
-include $(top_srcdir)/gtester.mk
-
-HELP_ID = grilo-plugins
-HELP_FILES = grilo-plugins.xml
-HELP_EXTRA = legal.xml
-HELP_MEDIA = ../examples/example-tmdb.c
-HELP_LINGUAS = es
-
-# For manual checking:
-XMLLINT = xmllint
-validate: $(srcdir)/C/grilo-plugins.xml
- $(XMLLINT) --xinclude --postvalid --noout $<
-
--include $(top_srcdir)/git.mk
diff --git a/help/examples/Makefile.am b/help/examples/Makefile.am
deleted file mode 100644
index aa8a71f..0000000
--- a/help/examples/Makefile.am
+++ /dev/null
@@ -1,17 +0,0 @@
-#
-# Makefile.am
-#
-# Author: Jens Georg <jensg@openismus.com>
-#
-# Copyright (C) 2012 Canonical Ltd.
-
-include $(top_srcdir)/gtester.mk
-
-AM_CFLAGS = $(DEPS_CFLAGS)
-LDADD = $(DEPS_LIBS)
-
-noinst_PROGRAMS = example-tmdb
-
-example_tmdb_SOURCES = example-tmdb.c
-
--include $(top_srcdir)/git.mk
diff --git a/m4/ax_python_module.m4 b/m4/ax_python_module.m4
deleted file mode 100644
index 3afc404..0000000
--- a/m4/ax_python_module.m4
+++ /dev/null
@@ -1,49 +0,0 @@
-# ===========================================================================
-# http://www.gnu.org/software/autoconf-archive/ax_python_module.html
-# ===========================================================================
-#
-# SYNOPSIS
-#
-# AX_PYTHON_MODULE(modname[, fatal])
-#
-# DESCRIPTION
-#
-# Checks for Python module.
-#
-# If fatal is non-empty then absence of a module will trigger an error.
-#
-# LICENSE
-#
-# Copyright (c) 2008 Andrew Collier
-#
-# Copying and distribution of this file, with or without modification, are
-# permitted in any medium without royalty provided the copyright notice
-# and this notice are preserved. This file is offered as-is, without any
-# warranty.
-
-#serial 6
-
-AU_ALIAS([AC_PYTHON_MODULE], [AX_PYTHON_MODULE])
-AC_DEFUN([AX_PYTHON_MODULE],[
- if test -z $PYTHON;
- then
- PYTHON="python"
- fi
- PYTHON_NAME=`basename $PYTHON`
- AC_MSG_CHECKING($PYTHON_NAME module: $1)
- $PYTHON -c "import $1" 2>/dev/null
- if test $? -eq 0;
- then
- AC_MSG_RESULT(yes)
- eval AS_TR_CPP(HAVE_PYMOD_$1)=yes
- else
- AC_MSG_RESULT(no)
- eval AS_TR_CPP(HAVE_PYMOD_$1)=no
- #
- if test -n "$2"
- then
- AC_MSG_ERROR(failed to find required module $1)
- exit 1
- fi
- fi
-])
diff --git a/release.mk b/release.mk
deleted file mode 100644
index 7a4b6e0..0000000
--- a/release.mk
+++ /dev/null
@@ -1,48 +0,0 @@
-changelog:
- @if test -d "$(srcdir)/.git"; \
- then \
- echo Creating ChangeLog && \
- ( cd "$(top_srcdir)" && \
- $(top_srcdir)/missing --run git log --stat ) > ChangeLog.tmp \
- && mv -f ChangeLog.tmp $(top_distdir)/ChangeLog \
- || ( rm -f ChangeLog.tmp ; \
- echo Failed to generate ChangeLog >&2 ); \
- else \
- echo A git clone is required to generate a ChangeLog >&2; \
- fi
-
-authors:
- @if test -d "$(srcdir)/.git"; \
- then \
- echo Creating AUTHORS && \
- ( cd "$(top_srcdir)" && \
- $(top_srcdir)/missing --run git ls-tree HEAD -r | awk '{ print $$4 }' ) > _files.tmp && \
- ( cd "$(top_srcdir)" && \
- $(top_srcdir)/missing --run git log --pretty="%an <%ae>" ) > _all.tmp && \
- ( cd "$(top_srcdir)" && \
- cat _all.tmp | awk -F"<" '{ print $$2 }' | sort | uniq -c | sort -rn ) > _by_commits.tmp && \
- ( cd "$(top_srcdir)" && \
- while read line ; do $(top_srcdir)/missing --run git blame -c -e "$$line" | \
- awk '{ print $$2 }' | cut -c2- ; done < _files.tmp | sort -u ) > _current.tmp && \
- touch _AUTHORS.current.tmp _AUTHORS.past.tmp && \
- cat _by_commits.tmp | awk '{ print $$2 }' | while read line ; do \
- if `grep -q "$$line" _current.tmp` ; then \
- grep -m 1 "$$line" _all.tmp >> _AUTHORS.current.tmp ; \
- else \
- grep -m 1 "$$line" _all.tmp >> _AUTHORS.past.tmp ; \
- fi \
- done && \
- echo Contributors: >> AUTHORS.tmp && \
- echo ============= >> AUTHORS.tmp && \
- cat _AUTHORS.current.tmp >> AUTHORS.tmp && \
- echo >> AUTHORS.tmp && \
- echo Past contributors: >> AUTHORS.tmp && \
- echo ================== >> AUTHORS.tmp && \
- cat _AUTHORS.past.tmp >> AUTHORS.tmp && \
- rm -fr _files.tmp _all.tmp _by_commits.tmp _current.tmp _AUTHORS.current.tmp _AUTHORS.past.tmp && \
- mv -f AUTHORS.tmp $(top_distdir)/AUTHORS; \
- else \
- echo A git clone is required to generate an AUTHORS >&2; \
- fi
-
-dist-hook: changelog authors
diff --git a/src/Makefile.am b/src/Makefile.am
deleted file mode 100644
index 27b05c4..0000000
--- a/src/Makefile.am
+++ /dev/null
@@ -1,109 +0,0 @@
-#
-# Makefile.am
-#
-# Authors: Iago Toral Quiroga <itoral@igalia.com>
-# Guillaume Emont <gemont@igalia.com>
-#
-# Copyright (C) 2010-2012 Igalia S.L. All rights reserved.
-
-include $(top_srcdir)/gtester.mk
-
-SUBDIRS =
-
-if BOOKMARKS_PLUGIN
-SUBDIRS += bookmarks
-endif
-
-if CHROMAPRINT_PLUGIN
-SUBDIRS += chromaprint
-endif
-
-if DLEYNA_PLUGIN
-SUBDIRS += dleyna
-endif
-
-if DMAP_PLUGIN
-SUBDIRS += dmap
-endif
-
-if FILESYSTEM_PLUGIN
-SUBDIRS += filesystem
-endif
-
-if FLICKR_PLUGIN
-SUBDIRS += flickr
-endif
-
-if GRAVATAR_PLUGIN
-SUBDIRS += gravatar
-endif
-
-if JAMENDO_PLUGIN
-SUBDIRS += jamendo
-endif
-
-if LOCAL_METADATA_PLUGIN
-SUBDIRS += local-metadata
-endif
-
-if LUA_FACTORY_PLUGIN
-SUBDIRS += lua-factory
-endif
-
-if MAGNATUNE_PLUGIN
-SUBDIRS += magnatune
-endif
-
-if METADATA_STORE_PLUGIN
-SUBDIRS += metadata-store
-endif
-
-if OPTICAL_MEDIA_PLUGIN
-SUBDIRS += optical-media
-endif
-
-if PODCASTS_PLUGIN
-SUBDIRS += podcasts
-endif
-
-if RAITV_PLUGIN
-SUBDIRS += raitv
-endif
-
-if SHOUTCAST_PLUGIN
-SUBDIRS += shoutcast
-endif
-
-if THETVDB_PLUGIN
-SUBDIRS += thetvdb
-endif
-
-if TMDB_PLUGIN
-SUBDIRS += tmdb
-endif
-
-if TRACKER_PLUGIN
-SUBDIRS += tracker
-endif
-
-if VIMEO_PLUGIN
-SUBDIRS += vimeo
-endif
-
-if YOUTUBE_PLUGIN
-SUBDIRS += youtube
-endif
-
-if FREEBOX_PLUGIN
-SUBDIRS += freebox
-endif
-
-if OPENSUBTITLES_PLUGIN
-SUBDIRS += opensubtitles
-endif
-DIST_SUBDIRS = \
- bookmarks chromaprint dleyna dmap filesystem flickr freebox gravatar jamendo \
- local-metadata lua-factory magnatune metadata-store opensubtitles \
- optical-media podcasts raitv shoutcast thetvdb tmdb tracker vimeo youtube
-
--include $(top_srcdir)/git.mk
diff --git a/src/bookmarks/Makefile.am b/src/bookmarks/Makefile.am
deleted file mode 100644
index f91a48a..0000000
--- a/src/bookmarks/Makefile.am
+++ /dev/null
@@ -1,33 +0,0 @@
-#
-# Makefile.am
-#
-# Author: Iago Toral Quiroga <itoral@igalia.com>
-#
-# Copyright (C) 2010, 2011 Igalia S.L. All rights reserved.
-
-include $(top_srcdir)/gtester.mk
-
-ext_LTLIBRARIES = libgrlbookmarks.la
-
-libgrlbookmarks_la_CFLAGS = \
- $(DEPS_BOOKMARKS_CFLAGS) \
- -DG_LOG_DOMAIN=\"GrlBookmarks\" \
- -DLOCALEDIR=\"$(localedir)\"
-
-libgrlbookmarks_la_LIBADD = \
- $(DEPS_BOOKMARKS_LIBS)
-
-libgrlbookmarks_la_LDFLAGS = \
- -no-undefined \
- -module \
- -avoid-version
-
-libgrlbookmarks_la_SOURCES = \
- grl-bookmarks.c \
- grl-bookmarks.h \
- bookmarks-resource.c \
- bookmarks-resource.h
-
-extdir = $(GRL_PLUGINS_DIR)
-
--include $(top_srcdir)/git.mk
diff --git a/src/chromaprint/Makefile.am b/src/chromaprint/Makefile.am
deleted file mode 100644
index 18bd847..0000000
--- a/src/chromaprint/Makefile.am
+++ /dev/null
@@ -1,29 +0,0 @@
-#
-# Makefile.am
-#
-# Author: Victor Toso <me@victortoso.com>
-#
-# Copyright (C) 2016 Grilo Project
-
-include $(top_srcdir)/gtester.mk
-
-ext_LTLIBRARIES = libgrlchromaprint.la
-
-libgrlchromaprint_la_CFLAGS = \
- $(DEPS_CHROMAPRINT_CFLAGS) \
- -DG_LOG_DOMAIN=\"GrlChromaprint\" \
- -DLOCALEDIR=\"$(localedir)\"
-
-libgrlchromaprint_la_LIBADD = \
- $(DEPS_CHROMAPRINT_LIBS)
-
-libgrlchromaprint_la_LDFLAGS = \
- -no-undefined \
- -module \
- -avoid-version
-
-libgrlchromaprint_la_SOURCES = grl-chromaprint.c grl-chromaprint.h
-
-extdir = $(GRL_PLUGINS_DIR)
-
--include $(top_srcdir)/git.mk
diff --git a/src/dleyna/Makefile.am b/src/dleyna/Makefile.am
deleted file mode 100644
index 41d4ca6..0000000
--- a/src/dleyna/Makefile.am
+++ /dev/null
@@ -1,76 +0,0 @@
-#
-# Makefile.am
-#
-# Copyright (C) 2010, 2011 Igalia S.L. All rights reserved.
-# Copyright (C) 2013 Intel Corp. All rights reserved.
-
-include $(top_srcdir)/gtester.mk
-
-ext_LTLIBRARIES = libgrldleyna.la
-
-libgrldleyna_la_CFLAGS = \
- $(DEPS_DLEYNA_CFLAGS) \
- -DG_LOG_DOMAIN=\"GrlDleyna\" \
- -DLOCALEDIR=\"$(localedir)\"
-
-libgrldleyna_la_LIBADD = \
- $(DEPS_DLEYNA_LIBS)
-
-libgrldleyna_la_LDFLAGS = \
- -no-undefined \
- -module \
- -avoid-version
-
-dbus_built_sources = \
- grl-dleyna-proxy-mediaserver2.h \
- grl-dleyna-proxy-mediaserver2.c \
- grl-dleyna-proxy-mediadevice.h \
- grl-dleyna-proxy-mediadevice.c \
- grl-dleyna-proxy-manager.h \
- grl-dleyna-proxy-manager.c \
- $(NULL)
-
-BUILT_SOURCES = $(dbus_built_sources)
-
-libgrldleyna_la_SOURCES = \
- $(dbus_built_sources) \
- grl-dleyna.c \
- grl-dleyna-source.c \
- grl-dleyna-source.h \
- grl-dleyna-server.c \
- grl-dleyna-server.h \
- grl-dleyna-servers-manager.c \
- grl-dleyna-servers-manager.h \
- grl-dleyna-utils.h \
- grl-dleyna-utils.c \
- $(NULL)
-
-extdir = $(GRL_PLUGINS_DIR)
-
-grl-dleyna-proxy-mediaserver2.h grl-dleyna-proxy-mediaserver2.c: org.gnome.UPnP.MediaServer2.xml
- $(AM_V_GEN)${GDBUS_CODEGEN} \
- --c-namespace GrlDleyna \
- --generate-c-code grl-dleyna-proxy-mediaserver2 \
- --interface-prefix org.gnome.UPnP. \
- $^
-
-grl-dleyna-proxy-manager.h grl-dleyna-proxy-manager.c: com.intel.dLeynaServer.Manager.xml
- $(AM_V_GEN)${GDBUS_CODEGEN} \
- --c-namespace GrlDleyna \
- --generate-c-code grl-dleyna-proxy-manager \
- --interface-prefix com.intel.dLeynaServer. \
- $^
-
-grl-dleyna-proxy-mediadevice.h grl-dleyna-proxy-mediadevice.c: com.intel.dLeynaServer.MediaDevice.xml
- $(AM_V_GEN)${GDBUS_CODEGEN} \
- --c-namespace GrlDleyna \
- --generate-c-code grl-dleyna-proxy-mediadevice \
- --interface-prefix com.intel.dLeynaServer. \
- $^
-
-EXTRA_DIST += \
- com.intel.dLeynaServer.Manager.xml \
- com.intel.dLeynaServer.MediaDevice.xml \
- org.gnome.UPnP.MediaServer2.xml
-
--include $(top_srcdir)/git.mk
diff --git a/src/dmap/Makefile.am b/src/dmap/Makefile.am
deleted file mode 100644
index 6db4fc6..0000000
--- a/src/dmap/Makefile.am
+++ /dev/null
@@ -1,63 +0,0 @@
-#
-# Makefile.am
-#
-# Author: W. Michael Petullo <mike@flyn.org>
-#
-# Copyright (C) 2011 W. Michael Petullo. All rights reserved.
-
-include $(top_srcdir)/gtester.mk
-
-ext_LTLIBRARIES = libgrldaap.la libgrldpap.la
-extdir = $(GRL_PLUGINS_DIR)
-
-libgrldaap_la_CFLAGS = \
- $(DEPS_DMAP_CFLAGS) \
- -DG_LOG_DOMAIN=\"GrlDmap\" \
- -DLOCALEDIR=\"$(localedir)\"
-
-libgrldaap_la_LIBADD = \
- $(DEPS_DMAP_LIBS)
-
-libgrldaap_la_LDFLAGS = \
- -no-undefined \
- -module \
- -avoid-version
-
-libgrldaap_la_SOURCES = \
- grl-common.c \
- grl-common.h \
- grl-daap.c \
- grl-daap.h \
- grl-daap-record.c \
- grl-daap-record.h \
- grl-daap-record-factory.c \
- grl-daap-record-factory.h \
- grl-daap-db.c \
- grl-daap-db.h
-
-libgrldpap_la_CFLAGS = \
- $(DEPS_DMAP_CFLAGS) \
- -DG_LOG_DOMAIN=\"GrlDmap\" \
- -DLOCALEDIR=\"$(localedir)\"
-
-libgrldpap_la_LIBADD = \
- $(DEPS_DMAP_LIBS)
-
-libgrldpap_la_LDFLAGS = \
- -no-undefined \
- -module \
- -avoid-version
-
-libgrldpap_la_SOURCES = \
- grl-common.c \
- grl-common.h \
- grl-dpap.c \
- grl-dpap.h \
- grl-dpap-record.c \
- grl-dpap-record.h \
- grl-dpap-record-factory.c \
- grl-dpap-record-factory.h \
- grl-dpap-db.c \
- grl-dpap-db.h
-
--include $(top_srcdir)/git.mk
diff --git a/src/filesystem/Makefile.am b/src/filesystem/Makefile.am
deleted file mode 100644
index 9a463d6..0000000
--- a/src/filesystem/Makefile.am
+++ /dev/null
@@ -1,29 +0,0 @@
-#
-# Makefile.am
-#
-# Author: Iago Toral Quiroga <itoral@igalia.com>
-#
-# Copyright (C) 2010, 2011 Igalia S.L. All rights reserved.
-
-include $(top_srcdir)/gtester.mk
-
-ext_LTLIBRARIES = libgrlfilesystem.la
-
-libgrlfilesystem_la_CFLAGS = \
- $(DEPS_FILESYSTEM_CFLAGS) \
- -DG_LOG_DOMAIN=\"GrlFilesystem\" \
- -DLOCALEDIR=\"$(localedir)\"
-
-libgrlfilesystem_la_LIBADD = \
- $(DEPS_FILESYSTEM_LIBS)
-
-libgrlfilesystem_la_LDFLAGS = \
- -no-undefined \
- -module \
- -avoid-version
-
-libgrlfilesystem_la_SOURCES = grl-filesystem.c grl-filesystem.h
-
-extdir = $(GRL_PLUGINS_DIR)
-
--include $(top_srcdir)/git.mk
diff --git a/src/flickr/Makefile.am b/src/flickr/Makefile.am
deleted file mode 100644
index ee7968c..0000000
--- a/src/flickr/Makefile.am
+++ /dev/null
@@ -1,35 +0,0 @@
-#
-# Makefile.am
-#
-# Author: Juan A. Suarez Romero <jasuarez@igalia.com>
-#
-# Copyright (C) 2010, 2011 Igalia S.L. All rights reserved.
-
-include $(top_srcdir)/gtester.mk
-
-libplugin_LTLIBRARIES = libgrlflickr.la
-
-libgrlflickr_la_CFLAGS = \
- $(DEPS_FLICKR_CFLAGS) \
- -DG_LOG_DOMAIN=\"GrlFlickr\" \
- -DLOCALEDIR=\"$(localedir)\"
-
-libgrlflickr_la_LIBADD = \
- $(DEPS_FLICKR_LIBS)
-
-libgrlflickr_la_LDFLAGS = \
- -no-undefined \
- -module \
- -avoid-version
-
-libgrlflickr_la_SOURCES = \
- grl-flickr.c \
- grl-flickr.h \
- gflickr.c \
- gflickr.h \
- flickr-oauth.c\
- flickr-oauth.h
-
-libplugindir = $(GRL_PLUGINS_DIR)
-
--include $(top_srcdir)/git.mk
diff --git a/src/freebox/Makefile.am b/src/freebox/Makefile.am
deleted file mode 100644
index 91f19a7..0000000
--- a/src/freebox/Makefile.am
+++ /dev/null
@@ -1,46 +0,0 @@
-#
-# Makefile.am
-#
-# Author: Bastien Nocera <hadess@hadess.net>
-#
-# Copyright (C) 2013 Bastien Nocera
-
-include $(top_srcdir)/gtester.mk
-
-ext_LTLIBRARIES = libgrlfreebox.la
-
-libgrlfreebox_la_CFLAGS = \
- $(DEPS_FREEBOX_CFLAGS) \
- -DG_LOG_DOMAIN=\"GrlFreebox\" \
- -DLOCALEDIR=\"$(localedir)\"
-
-libgrlfreebox_la_LIBADD = \
- $(DEPS_FREEBOX_LIBS)
-
-libgrlfreebox_la_LDFLAGS = \
- -no-undefined \
- -module \
- -avoid-version
-
-libgrlfreebox_la_SOURCES = \
- grl-freebox.c \
- grl-freebox.h \
- freebox-monitor.h \
- freebox-monitor.c \
- freeboxresources.h \
- freeboxresources.c
-
-freeboxresources.h: freebox.gresource.xml
- $(AM_V_GEN) $(GLIB_COMPILE_RESOURCES) $(srcdir)/freebox.gresource.xml \
- --target=$@ --sourcedir=$(srcdir) --c-name _grl_freebox --generate-header
-freeboxresources.c: freebox.gresource.xml freeboxresources.h free.png
- $(AM_V_GEN) $(GLIB_COMPILE_RESOURCES) $(srcdir)/freebox.gresource.xml \
- --target=$@ --sourcedir=$(srcdir) --c-name _grl_freebox --generate-source
-
-extdir = $(GRL_PLUGINS_DIR)
-
-EXTRA_DIST += free.png radios.m3u freebox.gresource.xml
-
-CLEANFILES = freeboxresources.h freeboxresources.c
-
--include $(top_srcdir)/git.mk
diff --git a/src/gravatar/Makefile.am b/src/gravatar/Makefile.am
deleted file mode 100644
index e527096..0000000
--- a/src/gravatar/Makefile.am
+++ /dev/null
@@ -1,29 +0,0 @@
-#
-# Makefile.am
-#
-# Author: Juan A. Suarez Romero <jasuarez@igalia.com>
-#
-# Copyright (C) 2010, 2011 Igalia S.L. All rights reserved.
-
-include $(top_srcdir)/gtester.mk
-
-ext_LTLIBRARIES = libgrlgravatar.la
-
-libgrlgravatar_la_CFLAGS = \
- $(DEPS_GRAVATAR_CFLAGS) \
- -DG_LOG_DOMAIN=\"GrlGravatar\" \
- -DLOCALEDIR=\"$(localedir)\"
-
-libgrlgravatar_la_LIBADD = \
- $(DEPS_GRAVATAR_LIBS)
-
-libgrlgravatar_la_LDFLAGS = \
- -no-undefined \
- -module \
- -avoid-version
-
-libgrlgravatar_la_SOURCES = grl-gravatar.c grl-gravatar.h
-
-extdir = $(GRL_PLUGINS_DIR)
-
--include $(top_srcdir)/git.mk
diff --git a/src/jamendo/Makefile.am b/src/jamendo/Makefile.am
deleted file mode 100644
index bffbb8d..0000000
--- a/src/jamendo/Makefile.am
+++ /dev/null
@@ -1,31 +0,0 @@
-#
-# Makefile.am
-#
-# Author: Juan A. Suarez Romero <jasuarez@igalia.com>
-#
-# Copyright (C) 2010, 2011 Igalia S.L. All rights reserved.
-
-include $(top_srcdir)/gtester.mk
-
-ext_LTLIBRARIES = libgrljamendo.la
-
-libgrljamendo_la_CFLAGS = \
- $(DEPS_JAMENDO_CFLAGS) \
- -DG_LOG_DOMAIN=\"GrlJamendo\" \
- -DLOCALEDIR=\"$(localedir)\"
-
-libgrljamendo_la_LIBADD = \
- $(DEPS_JAMENDO_LIBS)
-
-libgrljamendo_la_LDFLAGS = \
- -no-undefined \
- -module \
- -avoid-version
-
-libgrljamendo_la_SOURCES = \
- grl-jamendo.c \
- grl-jamendo.h
-
-extdir = $(GRL_PLUGINS_DIR)
-
--include $(top_srcdir)/git.mk
diff --git a/src/local-metadata/Makefile.am b/src/local-metadata/Makefile.am
deleted file mode 100644
index 8f71042..0000000
--- a/src/local-metadata/Makefile.am
+++ /dev/null
@@ -1,30 +0,0 @@
-#
-# Makefile.am
-#
-# Author: Guillaume Emont <gemont@igalia.com>
-#
-# Copyright (C) 2010-2011 Igalia S.L. All rights reserved.
-
-include $(top_srcdir)/gtester.mk
-
-ext_LTLIBRARIES = libgrllocalmetadata.la
-
-libgrllocalmetadata_la_CFLAGS = \
- $(DEPS_LOCAL_METADATA_CFLAGS) \
- -DG_LOG_DOMAIN=\"GrlLocalMetadata\" \
- -DLOCALEDIR=\"$(localedir)\"
-
-
-libgrllocalmetadata_la_LIBADD = \
- $(DEPS_LOCAL_METADATA_LIBS)
-
-libgrllocalmetadata_la_LDFLAGS = \
- -no-undefined \
- -module \
- -avoid-version
-
-libgrllocalmetadata_la_SOURCES = grl-local-metadata.c grl-local-metadata.h
-
-extdir = $(GRL_PLUGINS_DIR)
-
--include $(top_srcdir)/git.mk
diff --git a/src/lua-factory/Makefile.am b/src/lua-factory/Makefile.am
deleted file mode 100644
index 8f64e69..0000000
--- a/src/lua-factory/Makefile.am
+++ /dev/null
@@ -1,71 +0,0 @@
-#
-# Makefile.am
-#
-# Author: Victor Toso <me@victortoso.com>
-#
-# Copyright (C) 2013 Victor Toso. All rights reserved.
-
-include $(top_srcdir)/gtester.mk
-
-SUBDIRS = sources
-
-ext_LTLIBRARIES = libgrlluafactory.la
-
-lua-library/htmlentity.c: lua-library/htmlentity.gperf
- $(AM_V_GEN) gperf --struct-type -l -N html_entity_hash -L ANSI-C $< > $@
-
-libgrlluafactory_la_CFLAGS = \
- $(DEPS_LUA_FACTORY_CFLAGS) \
- -DLUA_FACTORY_SOURCE_LOCATION=\"@LUA_FACTORY_SOURCE_LOCATION@\"
-
-libgrlluafactory_la_LIBADD = $(DEPS_LUA_FACTORY_LIBS)
-
-libgrlluafactory_la_LDFLAGS = \
- -no-undefined \
- -module \
- -avoid-version
-
-libgrlluafactory_la_SOURCES = \
- grl-lua-factory.c \
- grl-lua-factory.h \
- grl-lua-library.c \
- grl-lua-library.h \
- grl-lua-library-operations.c \
- grl-lua-library-operations.h \
- grl-lua-common.h \
- lua-library/htmlentity.h \
- lua-library/lua-json.c \
- lua-library/lua-xml.c \
- lua-library/lua-libraries.h
-
-nodist_libgrlluafactory_la_SOURCES = \
- luafactoryresources.c \
- luafactoryresources.h \
- lua-library/htmlentity.c
-
-extdir = $(GRL_PLUGINS_DIR)
-
-lua_factory_resources_files = \
- lua-library/inspect.lua
-
-luafactoryresources.c: grl-lua-factory.gresource.xml luafactoryresources.h $(lua_factory_resources_files)
- $(AM_V_GEN) $(GLIB_COMPILE_RESOURCES) $(srcdir)/grl-lua-factory.gresource.xml \
- --target=$@ --sourcedir=$(srcdir) --c-name _grl_lua_factory --generate-source
-
-luafactoryresources.h: grl-lua-factory.gresource.xml
- $(AM_V_GEN) $(GLIB_COMPILE_RESOURCES) $(srcdir)/grl-lua-factory.gresource.xml \
- --target=$@ --sourcedir=$(srcdir) --c-name _grl_lua_factory --generate-header
-
-CLEANFILES = \
- luafactoryresources.h \
- luafactoryresources.c \
- lua-library/htmlentity.c
-
-EXTRA_DIST += \
- $(lua_factory_resources_files) \
- grl-lua-factory.gresource.xml \
- lua-library/htmlentity.gperf
-
-DIST_SUBDIRS = sources
-
--include $(top_srcdir)/git.mk
diff --git a/src/lua-factory/sources/Makefile.am b/src/lua-factory/sources/Makefile.am
deleted file mode 100644
index 2322762..0000000
--- a/src/lua-factory/sources/Makefile.am
+++ /dev/null
@@ -1,74 +0,0 @@
-#
-# Makefile.am
-#
-# Author: Victor Toso <me@victortoso.com>
-#
-# Copyright (C) 2013 Victor Toso. All rights reserved.
-
-include $(top_srcdir)/gtester.mk
-
-lua_sources_DATA = \
- grl-acoustid.lua \
- grl-thegamesdb.lua \
- grl-metrolyrics.lua \
- grl-spotify-cover.lua \
- grl-lastfm-cover.lua \
- grl-radiofrance.lua \
- grl-euronews.lua \
- grl-guardianvideos.lua \
- grl-musicbrainz.lua \
- grl-euronews.gresource \
- grl-guardianvideos.gresource \
- grl-radiofrance.gresource \
- grl-video-title-parsing.lua \
- grl-pocket.lua \
- grl-pocket.gresource \
- grl-appletrailers.lua \
- grl-appletrailers.gresource \
- grl-itunes-podcast.lua \
- grl-itunes-podcast.gresource
-
-lua_sourcesdir = $(datadir)/$(LUA_FACTORY_SOURCE_LOCATION)
-
-grl-euronews.gresource: grl-euronews.gresource.xml
- $(AM_V_GEN) $(GLIB_COMPILE_RESOURCES) --sourcedir=$(srcdir) $(srcdir)/grl-euronews.gresource.xml
-
-grl-guardianvideos.gresource: grl-guardianvideos.gresource.xml
- $(AM_V_GEN) $(GLIB_COMPILE_RESOURCES) --sourcedir=$(srcdir) $(srcdir)/grl-guardianvideos.gresource.xml
-
-grl-radiofrance.gresource: grl-radiofrance.gresource.xml
- $(AM_V_GEN) $(GLIB_COMPILE_RESOURCES) --sourcedir=$(srcdir) $(srcdir)/grl-radiofrance.gresource.xml
-
-grl-pocket.gresource: grl-pocket.gresource.xml
- $(AM_V_GEN) $(GLIB_COMPILE_RESOURCES) --sourcedir=$(srcdir) $(srcdir)/grl-pocket.gresource.xml
-
-grl-appletrailers.gresource: grl-appletrailers.gresource.xml
- $(AM_V_GEN) $(GLIB_COMPILE_RESOURCES) --sourcedir=$(srcdir) $(srcdir)/grl-appletrailers.gresource.xml
-
-grl-itunes-podcast.gresource: grl-itunes-podcast.gresource.xml
- $(AM_V_GEN) $(GLIB_COMPILE_RESOURCES) --sourcedir=$(srcdir) $(srcdir)/grl-itunes-podcast.gresource.xml
-
-CLEANFILES = \
- grl-euronews.gresource \
- grl-guardianvideos.gresource \
- grl-radiofrance.gresource \
- grl-pocket.gresource \
- grl-appletrailers.gresource \
- grl-itunes-podcast.gresource
-
-EXTRA_DIST += \
- $(lua_sources_DATA) \
- grl-euronews.gresource.xml \
- grl-guardianvideos.gresource.xml \
- grl-itunes-podcast.gresource.xml \
- grl-radiofrance.gresource.xml \
- grl-pocket.gresource.xml \
- grl-appletrailers.gresource.xml \
- euronews.svg \
- guardianvideos.svg \
- radiofrance.png \
- trailers.svg \
- pocket.svg \
- itunes-podcast.png
-
--include $(top_srcdir)/git.mk
diff --git a/src/magnatune/Makefile.am b/src/magnatune/Makefile.am
deleted file mode 100644
index f7afeb1..0000000
--- a/src/magnatune/Makefile.am
+++ /dev/null
@@ -1,29 +0,0 @@
-#
-# Makefile.am
-#
-# Author: Victor Toso <me@victortoso.com>
-#
-# Copyright (C) 2013 Victor Toso. All rights reserved.
-
-include $(top_srcdir)/gtester.mk
-
-ext_LTLIBRARIES = libgrlmagnatune.la
-
-libgrlmagnatune_la_CFLAGS = \
- $(DEPS_MAGNATUNE_CFLAGS) \
- -DG_LOG_DOMAIN=\"GrlMagnatune\" \
- -DLOCALEDIR=\"$(localedir)\"
-
-libgrlmagnatune_la_LIBADD = \
- $(DEPS_MAGNATUNE_LIBS)
-
-libgrlmagnatune_la_LDFLAGS = \
- -no-undefined \
- -module \
- -avoid-version
-
-libgrlmagnatune_la_SOURCES = grl-magnatune.c grl-magnatune.h
-
-extdir = $(GRL_PLUGINS_DIR)
-
--include $(top_srcdir)/git.mk
diff --git a/src/metadata-store/Makefile.am b/src/metadata-store/Makefile.am
deleted file mode 100644
index c0226dd..0000000
--- a/src/metadata-store/Makefile.am
+++ /dev/null
@@ -1,29 +0,0 @@
-#
-# Makefile.am
-#
-# Author: Iago Toral Quiroga <itoral@igalia.com>
-#
-# Copyright (C) 2010, 2011 Igalia S.L. All rights reserved.
-
-include $(top_srcdir)/gtester.mk
-
-ext_LTLIBRARIES = libgrlmetadatastore.la
-
-libgrlmetadatastore_la_CFLAGS = \
- $(DEPS_METADATA_STORE_CFLAGS) \
- -DG_LOG_DOMAIN=\"GrlMetadataStore\" \
- -DLOCALEDIR=\"$(localedir)\"
-
-libgrlmetadatastore_la_LIBADD = \
- $(DEPS_METADATA_STORE_LIBS)
-
-libgrlmetadatastore_la_LDFLAGS = \
- -no-undefined \
- -module \
- -avoid-version
-
-libgrlmetadatastore_la_SOURCES = grl-metadata-store.c grl-metadata-store.h
-
-extdir = $(GRL_PLUGINS_DIR)
-
--include $(top_srcdir)/git.mk
diff --git a/src/opensubtitles/Makefile.am b/src/opensubtitles/Makefile.am
deleted file mode 100644
index 3943fa3..0000000
--- a/src/opensubtitles/Makefile.am
+++ /dev/null
@@ -1,23 +0,0 @@
-include $(top_srcdir)/gtester.mk
-
-ext_LTLIBRARIES = libgrlopensubtitles.la
-
-libgrlopensubtitles_la_CFLAGS = \
- $(DEPS_OPENSUBTITLES_CFLAGS) \
- -DG_LOG_DOMAIN=\"GrlOpenSubtitles\" \
- -DLOCALEDIR=\"$(localedir)\"
-
-
-libgrlopensubtitles_la_LIBADD = \
- $(DEPS_OPENSUBTITLES_LIBS)
-
-libgrlopensubtitles_la_LDFLAGS = \
- -no-undefined \
- -module \
- -avoid-version
-
-libgrlopensubtitles_la_SOURCES = grl-opensubtitles.c grl-opensubtitles.h
-
-extdir = $(GRL_PLUGINS_DIR)
-
--include $(top_srcdir)/git.mk
diff --git a/src/optical-media/Makefile.am b/src/optical-media/Makefile.am
deleted file mode 100644
index 5c3a911..0000000
--- a/src/optical-media/Makefile.am
+++ /dev/null
@@ -1,31 +0,0 @@
-#
-# Makefile.am
-#
-# Author: Bastien Nocera <hadess@hadess.net>
-#
-# Copyright (C) 2012 Bastien Nocera
-
-include $(top_srcdir)/gtester.mk
-
-ext_LTLIBRARIES = libgrlopticalmedia.la
-
-libgrlopticalmedia_la_CFLAGS = \
- $(DEPS_OPTICAL_MEDIA_CFLAGS) \
- -DG_LOG_DOMAIN=\"GrlOpticalMedia\" \
- -DLOCALEDIR=\"$(localedir)\"
-
-libgrlopticalmedia_la_LIBADD = \
- $(DEPS_OPTICAL_MEDIA_LIBS)
-
-libgrlopticalmedia_la_LDFLAGS = \
- -no-undefined \
- -module \
- -avoid-version
-
-libgrlopticalmedia_la_SOURCES = \
- grl-optical-media.c \
- grl-optical-media.h
-
-extdir = $(GRL_PLUGINS_DIR)
-
--include $(top_srcdir)/git.mk
diff --git a/src/podcasts/Makefile.am b/src/podcasts/Makefile.am
deleted file mode 100644
index 982d022..0000000
--- a/src/podcasts/Makefile.am
+++ /dev/null
@@ -1,29 +0,0 @@
-#
-# Makefile.am
-#
-# Author: Iago Toral Quiroga <itoral@igalia.com>
-#
-# Copyright (C) 2010, 2011 Igalia S.L. All rights reserved.
-
-include $(top_srcdir)/gtester.mk
-
-ext_LTLIBRARIES = libgrlpodcasts.la
-
-libgrlpodcasts_la_CFLAGS = \
- $(DEPS_PODCASTS_CFLAGS) \
- -DG_LOG_DOMAIN=\"GrlPodcasts\" \
- -DLOCALEDIR=\"$(localedir)\"
-
-libgrlpodcasts_la_LIBADD = \
- $(DEPS_PODCASTS_LIBS)
-
-libgrlpodcasts_la_LDFLAGS = \
- -no-undefined \
- -module \
- -avoid-version
-
-libgrlpodcasts_la_SOURCES = grl-podcasts.c grl-podcasts.h
-
-extdir = $(GRL_PLUGINS_DIR)
-
--include $(top_srcdir)/git.mk
diff --git a/src/raitv/Makefile.am b/src/raitv/Makefile.am
deleted file mode 100644
index 298a2b8..0000000
--- a/src/raitv/Makefile.am
+++ /dev/null
@@ -1,47 +0,0 @@
-#
-# Makefile.am
-#
-# Author: Marco Piazza <mpiazza@gmail.com>
-#
-
-include $(top_srcdir)/gtester.mk
-
-ext_LTLIBRARIES = libgrlraitv.la
-
-libgrlraitv_la_CFLAGS = \
- $(DEPS_RAITV_CFLAGS) \
- -DG_LOG_DOMAIN=\"GrlRaitv\" \
- -DLOCALEDIR=\"$(localedir)\"
-
-libgrlraitv_la_LIBADD = \
- $(DEPS_RAITV_LIBS)
-
-libgrlraitv_la_LDFLAGS = \
- -no-undefined \
- -module \
- -avoid-version
-
-libgrlraitv_la_SOURCES = \
- grl-raitv.c \
- grl-raitv.h
-nodist_libgrlraitv_la_SOURCES = \
- $(resource_sources)
-
-extdir = $(GRL_PLUGINS_DIR)
-
-raitvresources.h: raitv.gresource.xml
- $(AM_V_GEN) $(GLIB_COMPILE_RESOURCES) $(srcdir)/raitv.gresource.xml \
- --target=$@ --sourcedir=$(srcdir) --c-name _grl_raitv --generate-header
-raitvresources.c: raitv.gresource.xml raitvresources.h channel-rai.svg
- $(AM_V_GEN) $(GLIB_COMPILE_RESOURCES) $(srcdir)/raitv.gresource.xml \
- --target=$@ --sourcedir=$(srcdir) --c-name _grl_raitv --generate-source
-
-resource_sources = \
- raitvresources.c \
- raitvresources.h \
- $(NULL)
-CLEANFILES = $(resource_sources)
-
-EXTRA_DIST += channel-rai.svg raitv.gresource.xml
-
--include $(top_srcdir)/git.mk
diff --git a/src/shoutcast/Makefile.am b/src/shoutcast/Makefile.am
deleted file mode 100644
index 8ec5461..0000000
--- a/src/shoutcast/Makefile.am
+++ /dev/null
@@ -1,29 +0,0 @@
-#
-# Makefile.am
-#
-# Author: Juan A. Suarez Romero <jasuarez@igalia.com>
-#
-# Copyright (C) 2010, 2011 Igalia S.L. All rights reserved.
-
-include $(top_srcdir)/gtester.mk
-
-ext_LTLIBRARIES = libgrlshoutcast.la
-
-libgrlshoutcast_la_CFLAGS = \
- $(DEPS_SHOUTCAST_CFLAGS) \
- -DG_LOG_DOMAIN=\"GrlShoutcast\" \
- -DLOCALEDIR=\"$(localedir)\"
-
-libgrlshoutcast_la_LIBADD = \
- $(DEPS_SHOUTCAST_LIBS)
-
-libgrlshoutcast_la_LDFLAGS = \
- -no-undefined \
- -module \
- -avoid-version
-
-libgrlshoutcast_la_SOURCES = grl-shoutcast.c grl-shoutcast.h
-
-extdir = $(GRL_PLUGINS_DIR)
-
--include $(top_srcdir)/git.mk
diff --git a/src/thetvdb/Makefile.am b/src/thetvdb/Makefile.am
deleted file mode 100644
index 99b1b13..0000000
--- a/src/thetvdb/Makefile.am
+++ /dev/null
@@ -1,35 +0,0 @@
-#
-# Makefile.am
-#
-# Author: Victor Toso <me@victortoso.com>
-#
-# Copyright (C) 2014 Victor Toso. All rights reserved.
-
-include $(top_srcdir)/gtester.mk
-
-ext_LTLIBRARIES = libgrlthetvdb.la
-
-libgrlthetvdb_la_CFLAGS = \
- $(DEPS_THETVDB_CFLAGS) \
- -DG_LOG_DOMAIN=\"GrlTheTVDB\" \
- -DLOCALEDIR=\"$(localedir)\"
-
-libgrlthetvdb_la_LIBADD = \
- $(DEPS_THETVDB_LIBS)
-
-libgrlthetvdb_la_LDFLAGS = \
- -no-undefined \
- -module \
- -avoid-version
-
-libgrlthetvdb_la_SOURCES = \
- grl-thetvdb.c \
- grl-thetvdb.h \
- thetvdb-resources-series.c \
- thetvdb-resources-episodes.c \
- thetvdb-resources-fuzzy-names.c \
- thetvdb-resources.h
-
-extdir = $(GRL_PLUGINS_DIR)
-
--include $(top_srcdir)/git.mk
diff --git a/src/tmdb/Makefile.am b/src/tmdb/Makefile.am
deleted file mode 100644
index c84cd93..0000000
--- a/src/tmdb/Makefile.am
+++ /dev/null
@@ -1,30 +0,0 @@
-#
-# Makefile.am
-#
-# Author: Jens Georg <jensg@openismus.com>
-#
-# Copyright (C) 2012 Openismus GmbH.
-
-include $(top_srcdir)/gtester.mk
-
-ext_LTLIBRARIES = libgrltmdb.la
-
-libgrltmdb_la_CFLAGS = \
- $(DEPS_TMDB_CFLAGS) \
- -DG_LOG_DOMAIN=\"GrlTmdb\" \
- -DLOCALEDIR=\"$(localedir)\"
-
-libgrltmdb_la_LIBADD = $(DEPS_TMDB_LIBS)
-
-libgrltmdb_la_LDFLAGS = \
- -no-undefined \
- -module \
- -avoid-version
-
-libgrltmdb_la_SOURCES = \
- grl-tmdb.c grl-tmdb.h \
- grl-tmdb-request.c grl-tmdb-request.h
-
-extdir = $(GRL_PLUGINS_DIR)
-
--include $(top_srcdir)/git.mk
diff --git a/src/tracker/Makefile.am b/src/tracker/Makefile.am
deleted file mode 100644
index 9d8eef1..0000000
--- a/src/tracker/Makefile.am
+++ /dev/null
@@ -1,44 +0,0 @@
-#
-# Makefile.am
-#
-# Author: Juan A. Suarez Romero <jasuarez@igalia.com>
-#
-# Copyright (C) 2011 Igalia S.L. All rights reserved.
-
-include $(top_srcdir)/gtester.mk
-
-ext_LTLIBRARIES = libgrltracker.la
-
-libgrltracker_la_CFLAGS = \
- $(DEPS_TRACKER_CFLAGS) \
- -DG_LOG_DOMAIN=\"GrlTracker\" \
- -DLOCALEDIR=\"$(localedir)\"
-
-libgrltracker_la_LIBADD = \
- $(DEPS_TRACKER_LIBS)
-
-libgrltracker_la_LDFLAGS = \
- -no-undefined \
- -module \
- -avoid-version
-
-libgrltracker_la_SOURCES = \
- grl-tracker.c \
- grl-tracker.h \
- grl-tracker-source.c \
- grl-tracker-source.h \
- grl-tracker-source-api.c \
- grl-tracker-source-api.h \
- grl-tracker-source-cache.c \
- grl-tracker-source-cache.h \
- grl-tracker-source-notif.c \
- grl-tracker-source-notif.h \
- grl-tracker-source-priv.h \
- grl-tracker-request-queue.c \
- grl-tracker-request-queue.h \
- grl-tracker-utils.c \
- grl-tracker-utils.h
-
-extdir = $(GRL_PLUGINS_DIR)
-
--include $(top_srcdir)/git.mk
diff --git a/src/vimeo/Makefile.am b/src/vimeo/Makefile.am
deleted file mode 100644
index a9567af..0000000
--- a/src/vimeo/Makefile.am
+++ /dev/null
@@ -1,51 +0,0 @@
-#
-# Makefile.am
-#
-# Author: Joaquim Rocha <jrocha@igalia.com>
-#
-# Copyright (C) 2010, 2011 Igalia S.L. All rights reserved.
-
-include $(top_srcdir)/gtester.mk
-
-ext_LTLIBRARIES = libgrlvimeo.la
-
-libgrlvimeo_la_CFLAGS = \
- $(DEPS_VIMEO_CFLAGS) \
- -DG_LOG_DOMAIN=\"GrlVimeo\" \
- -DLOCALEDIR=\"$(localedir)\"
-
-libgrlvimeo_la_LIBADD = \
- $(DEPS_VIMEO_LIBS)
-
-libgrlvimeo_la_LDFLAGS = \
- -no-undefined \
- -module \
- -avoid-version
-
-libgrlvimeo_la_SOURCES = \
- grl-vimeo.c \
- grl-vimeo.h \
- gvimeo.c \
- gvimeo.h
-
-nodist_libgrlvimeo_la_SOURCES = \
- $(resource_sources)
-
-extdir = $(GRL_PLUGINS_DIR)
-
-vimeoresources.h: vimeo.gresource.xml
- $(AM_V_GEN) $(GLIB_COMPILE_RESOURCES) $(srcdir)/vimeo.gresource.xml \
- --target=$@ --sourcedir=$(srcdir) --c-name _grl_vimeo --generate-header
-vimeoresources.c: vimeo.gresource.xml vimeoresources.h channel-vimeo.svg
- $(AM_V_GEN) $(GLIB_COMPILE_RESOURCES) $(srcdir)/vimeo.gresource.xml \
- --target=$@ --sourcedir=$(srcdir) --c-name _grl_vimeo --generate-source
-
-resource_sources = \
- vimeoresources.c \
- vimeoresources.h \
- $(NULL)
-CLEANFILES = $(resource_sources)
-
-EXTRA_DIST += channel-vimeo.svg vimeo.gresource.xml
-
--include $(top_srcdir)/git.mk
diff --git a/src/youtube/Makefile.am b/src/youtube/Makefile.am
deleted file mode 100644
index 009e89e..0000000
--- a/src/youtube/Makefile.am
+++ /dev/null
@@ -1,47 +0,0 @@
-#
-# Makefile.am
-#
-# Author: Iago Toral Quiroga <itoral@igalia.com>
-#
-# Copyright (C) 2010, 2011 Igalia S.L. All rights reserved.
-
-include $(top_srcdir)/gtester.mk
-
-ext_LTLIBRARIES = libgrlyoutube.la
-
-libgrlyoutube_la_CFLAGS = \
- $(DEPS_YOUTUBE_CFLAGS) \
- -DG_LOG_DOMAIN=\"GrlYoutube\" \
- -DLOCALEDIR=\"$(localedir)\"
-
-libgrlyoutube_la_LIBADD = \
- $(DEPS_YOUTUBE_LIBS)
-
-libgrlyoutube_la_LDFLAGS = \
- -no-undefined \
- -module \
- -avoid-version
-
-libgrlyoutube_la_SOURCES = grl-youtube.c grl-youtube.h
-nodist_libgrlyoutube_la_SOURCES = \
- youtuberesources.h \
- youtuberesources.c
-
-extdir = $(GRL_PLUGINS_DIR)
-
-youtuberesources.h: youtube.gresource.xml
- $(AM_V_GEN) $(GLIB_COMPILE_RESOURCES) $(srcdir)/youtube.gresource.xml \
- --target=$@ --sourcedir=$(srcdir) --c-name _grl_youtube --generate-header
-youtuberesources.c: youtube.gresource.xml youtuberesources.h channel-youtube.svg
- $(AM_V_GEN) $(GLIB_COMPILE_RESOURCES) $(srcdir)/youtube.gresource.xml \
- --target=$@ --sourcedir=$(srcdir) --c-name _grl_youtube --generate-source
-
-resource_sources = \
- youtuberesources.c \
- youtuberesources.h \
- $(NULL)
-CLEANFILES = $(resource_sources)
-
-EXTRA_DIST += channel-youtube.svg youtube.gresource.xml
-
--include $(top_srcdir)/git.mk
diff --git a/tests/Makefile.am b/tests/Makefile.am
deleted file mode 100644
index 7db9521..0000000
--- a/tests/Makefile.am
+++ /dev/null
@@ -1,53 +0,0 @@
-#
-# Makefile.am
-#
-# Author: Juan A. Suarez Romero <jasuarez@igalia.com>
-#
-# Copyright (C) 2013 Igalia S.L.
-
-include $(top_srcdir)/gtester.mk
-
-SUBDIRS =
-
-if CHROMAPRINT_PLUGIN
-SUBDIRS += chromaprint
-endif
-
-if DLEYNA_PLUGIN
-SUBDIRS += dleyna
-endif
-
-if LOCAL_METADATA_PLUGIN
-if LUA_FACTORY_PLUGIN
-SUBDIRS += local-metadata
-endif
-endif
-
-if LUA_FACTORY_PLUGIN
-SUBDIRS += lua-factory spotify-cover games
-endif
-
-if TMDB_PLUGIN
-SUBDIRS += tmdb
-endif
-
-if THETVDB_PLUGIN
-SUBDIRS += thetvdb
-endif
-
-if VIMEO_PLUGIN
-SUBDIRS += vimeo
-endif
-
-DIST_SUBDIRS = \
- dleyna \
- games \
- chromaprint \
- spotify-cover \
- local-metadata \
- lua-factory \
- tmdb \
- thetvdb \
- vimeo
-
--include $(top_srcdir)/git.mk
diff --git a/tests/chromaprint/Makefile.am b/tests/chromaprint/Makefile.am
deleted file mode 100644
index a1bf3db..0000000
--- a/tests/chromaprint/Makefile.am
+++ /dev/null
@@ -1,34 +0,0 @@
-#
-# Makefile.am
-#
-# Author: Victor Toso <me@victortoso.com>
-#
-# Copyright (C) 2016 Grilo Project
-
-include $(top_srcdir)/gtester.mk
-
-TEST_PROGS += \
- test_chromaprint_resolve
-
-test_chromaprint_defines = \
- -DCHROMAPRINT_PLUGIN_PATH=\""$(abs_top_builddir)/src/chromaprint/.libs/"\" \
- -DCHROMAPRINT_PLUGIN_TEST_DATA_PATH=\""$(abs_top_srcdir)/tests/chromaprint/data/"\"
-
-test_chromaprint_resolve_SOURCES = \
- test_chromaprint_resolve.c \
- test_chromaprint_utils.h test_chromaprint_utils.c
-
-test_chromaprint_resolve_LDADD = \
- @DEPS_LIBS@
-
-test_chromaprint_resolve_CFLAGS = \
- @DEPS_CFLAGS@ \
- $(test_chromaprint_defines)
-
-dist_noinst_DATA = \
- data/sample.flac \
- data/sample.ogg
-
-noinst_PROGRAMS = $(TEST_PROGS)
-
--include $(top_srcdir)/git.mk
diff --git a/tests/dleyna/Makefile.am b/tests/dleyna/Makefile.am
deleted file mode 100644
index e2a94f2..0000000
--- a/tests/dleyna/Makefile.am
+++ /dev/null
@@ -1,66 +0,0 @@
-#
-# Makefile.am
-#
-# Authors: Iago Toral <itoral@igalia.com>
-# Emanuele Aina <emanuele.aina@collabora.com>
-#
-# Copyright (C) 2010-2013 Igalia S.L.
-# Copyright (C) 2013 Intel Corp.
-
-include $(top_srcdir)/gtester.mk
-
-AM_CPPFLAGS = \
- @DEPS_CFLAGS@ \
- @GIO_CFLAGS@
-
-noinst_PROGRAMS = \
- test_dleyna
-
-if DLEYNA_TESTS_RUN_DBUSMOCK
-#TEST_PROGS += \
-# test_dleyna
-endif
-
-# Let the .c source code know about these paths, even when sourcedir!=builddir,
-# such as during make distcheck.
-#
-# We could set GRL_PLUGIN_PATH here in TESTS_ENVIRONMENT, specifying all the
-# paths (separated by ':') to all the plugins, but it is cleaner to restrict
-# the test to just one plugin by doing it in the code.
-# Note that the dleyna plugin Makefile.am copies the .xml file into .libs so we
-# can use the plugin.
-
-test_dleyna_defines = \
- -DGRILO_PLUGINS_TESTS_DLEYNA_SERVICES_PATH=\""$(abs_top_builddir)/tests/dleyna/dbusmock"\" \
- -DGRILO_PLUGINS_TESTS_DLEYNA_PLUGIN_PATH=\""$(abs_top_builddir)/src/dleyna/.libs/"\" \
- -DGRILO_PLUGINS_TESTS_DLEYNA_DATA_PATH=\""$(abs_top_srcdir)/tests/dleyna/data/"\"
-
-test_dleyna_SOURCES = \
- test_dleyna.c \
- test_dleyna_utils.c \
- test_dleyna_utils.h
-
-test_dleyna_LDADD = \
- @DEPS_LIBS@
-
-test_dleyna_CFLAGS = \
- -DPREFIX=$(prefix) \
- $(test_dleyna_defines)
-
-EXTRA_DIST += \
- data/helloworld.txt \
- dbusmock/dleyna-server-mock \
- dbusmock/dleyna-server-mock.service.in \
- dbusmock/dleynamanager.py \
- dbusmock/dleynamediacontainer.py \
- dbusmock/dleynamediadevice.py \
- dbusmock/dleynamediaobject.py \
- dbusmock/items.py
-
-clean-local:
- -rm -rf dbusmock/__pycache__
-
-CLEANFILES = \
- dbusmock/*.pyc
-
--include $(top_srcdir)/git.mk
diff --git a/tests/games/Makefile.am b/tests/games/Makefile.am
deleted file mode 100644
index 5be866a..0000000
--- a/tests/games/Makefile.am
+++ /dev/null
@@ -1,48 +0,0 @@
-#
-# Makefile.am
-#
-# Author: Juan A. Suarez Romero <jasuarez@igalia.com>
-#
-# Copyright (C) 2014 Igalia S.L.
-
-include $(top_srcdir)/gtester.mk
-
-TEST_PROGS += \
- test_games
-
-test_games_defines = \
- -DLUA_FACTORY_PLUGIN_PATH=\""$(abs_top_builddir)/src/lua-factory/.libs/"\" \
- -DLUA_SOURCES_PATH=\""$(abs_top_srcdir)/src/lua-factory/sources/"\" \
- -DGAMES_DATA_PATH=\""$(abs_top_srcdir)/tests/games/data/"\"
-
-test_games_SOURCES = \
- test_games.c
-
-test_games_LDADD = \
- @DEPS_LIBS@
-
-test_games_CFLAGS = \
- @DEPS_CFLAGS@ \
- $(test_games_defines)
-
-# Distribute the tests data:
-dist_noinst_DATA = \
- data/network-data.ini \
- data/resolve-getgame-kirby.data \
- data/resolve-getgame-strider.data \
- data/resolve-kirby.data \
- data/resolve-strider.data \
- data/resolve-getgame-kirby-gb.data \
- data/resolve-kirby-gb.data \
- data/resolve-getgame-sonic-sms.data\
- data/resolve-sonic-sms.data \
- data/resolve-asterix.data \
- data/resolve-getgame-asterix.data \
- data/resolve-shatterhand.data \
- data/resolve-getgame-shatterhand.data \
- data/resolve-sonic.data \
- data/resolve-getgame-sonic.data
-
-noinst_PROGRAMS = $(TEST_PROGS)
-
--include $(top_srcdir)/git.mk
diff --git a/tests/local-metadata/Makefile.am b/tests/local-metadata/Makefile.am
deleted file mode 100644
index e68f5be..0000000
--- a/tests/local-metadata/Makefile.am
+++ /dev/null
@@ -1,29 +0,0 @@
-#
-# Makefile.am
-#
-# Author: Bastien Nocera <hadess@hadess.net>
-#
-# Copyright (C) 2014 Red Hat Inc.
-
-include $(top_srcdir)/gtester.mk
-
-TEST_PROGS += \
- test_local_metadata
-
-test_local_metadata_defines = \
- -DLUA_FACTORY_PLUGIN_PATH=\""$(abs_top_builddir)/src/lua-factory/.libs/"\" \
- -DLUA_SOURCES_PATH=\""$(abs_top_srcdir)/src/lua-factory/sources/"\"
-
-test_local_metadata_SOURCES = \
- test_local_metadata.c
-
-test_local_metadata_LDADD = \
- @DEPS_LIBS@
-
-test_local_metadata_CFLAGS = \
- @DEPS_CFLAGS@ \
- $(test_local_metadata_defines)
-
-noinst_PROGRAMS = $(TEST_PROGS)
-
--include $(top_srcdir)/git.mk
diff --git a/tests/lua-factory/Makefile.am b/tests/lua-factory/Makefile.am
deleted file mode 100644
index dc59bf7..0000000
--- a/tests/lua-factory/Makefile.am
+++ /dev/null
@@ -1,91 +0,0 @@
-#
-# Makefile.am
-#
-# Author: Victor Toso <me@victortoso.com>
-#
-# Copyright (C) 2014 Victor Toso. All rights reserved.
-
-include $(top_srcdir)/gtester.mk
-
-SUBDIRS = sources
-
-TEST_PROGS += \
- test_lua_factory_source_errors \
- test_lua_factory_grl_media \
- test_lua_factory_xml_parser
-
-test_lua_factory_defines = \
- -DLUA_FACTORY_PLUGIN_PATH=\""$(abs_top_builddir)/src/lua-factory/.libs/"\" \
- -DLUA_FACTORY_SOURCES_PATH=\""$(abs_top_srcdir)/src/lua-factory/sources/"\" \
- -DLUA_FACTORY_DATA_PATH=\""$(abs_top_srcdir)/tests/lua-factory/data/"\" \
- -DLUA_FACTORY_PLUGIN_TEST_DATA_PATH=\""$(abs_top_srcdir)/tests/lua-factory/sources/"\"
-
-test_lua_factory_grl_media_SOURCES = \
- test_lua_factory_grl_media.c \
- luafactorytestsresources.h luafactorytestsresources.c
-
-test_lua_factory_grl_media_LDADD = \
- @DEPS_LIBS@ \
- @JSON_LIBS@
-
-test_lua_factory_grl_media_CFLAGS = \
- @DEPS_CFLAGS@ \
- @JSON_CFLAGS@ \
- $(test_lua_factory_defines)
-
-test_lua_factory_xml_parser_SOURCES = \
- test_lua_factory_xml_parser.c \
- luafactorytestsresources.h luafactorytestsresources.c
-
-test_lua_factory_xml_parser_LDADD = \
- @DEPS_LIBS@
-
-test_lua_factory_xml_parser_CFLAGS = \
- @DEPS_CFLAGS@ \
- $(test_lua_factory_defines)
-
-test_lua_factory_source_errors_SOURCES = \
- test_lua_factory_source_errors.c \
- luafactorytestsresources.h luafactorytestsresources.c
-
-test_lua_factory_source_errors_LDADD = \
- @DEPS_LIBS@
-
-test_lua_factory_source_errors_CFLAGS = \
- @DEPS_CFLAGS@ \
- $(test_lua_factory_defines)
-
-lua_factory_tests_resources_files = \
- data/grl-media-test-all-metadata.json
-
-luafactorytestsresources.h: test_lua_factory_tests.gresource.xml
- $(AM_V_GEN) $(GLIB_COMPILE_RESOURCES) $(srcdir)/test_lua_factory_tests.gresource.xml \
- --target=$@ --sourcedir=$(srcdir) --c-name _grl_lua_factory_tests --generate-header
-
-luafactorytestsresources.c: \
- test_lua_factory_tests.gresource.xml \
- luafactorytestsresources.h \
- $(lua_factory_tests_resources_files)
- $(AM_V_GEN) $(GLIB_COMPILE_RESOURCES) $(srcdir)/test_lua_factory_tests.gresource.xml \
- --target=$@ --sourcedir=$(srcdir) --c-name _grl_lua_factory_tests --generate-source
-
-CLEANFILES = \
- luafactorytestsresources.h \
- luafactorytestsresources.c
-
-dist_noinst_DATA = \
- $(lua_factory_tests_resources_files) \
- data/config.ini \
- data/test-source-grl-media.lua \
- data/test-source-xml-parser.lua \
- data/test-source-lua-errors.lua \
- data/xml-parser-test-simple-table.lua \
- data/xml-parser-test-simple.xml
-
-noinst_PROGRAMS = $(TEST_PROGS)
-
-EXTRA_DIST += \
- $(lua_factory_tests_resources_files) \
- test_lua_factory_tests.gresource.xml
-
--include $(top_srcdir)/git.mk
diff --git a/tests/lua-factory/sources/Makefile.am b/tests/lua-factory/sources/Makefile.am
deleted file mode 100644
index dcb379a..0000000
--- a/tests/lua-factory/sources/Makefile.am
+++ /dev/null
@@ -1,99 +0,0 @@
-#
-# Makefile.am
-#
-# Author: Victor Toso <me@victortoso.com>
-#
-# Copyright (C) 2015 Victor Toso. All rights reserved.
-
-include $(top_srcdir)/gtester.mk
-
-noinst_PROGS = \
- test_lua_metrolyrics
-
-test_lua_factory_defines = \
- -DLUA_FACTORY_PLUGIN_PATH=\""$(abs_top_builddir)/src/lua-factory/.libs/"\" \
- -DCHROMAPRINT_PLUGIN_PATH=\""$(abs_top_builddir)/src/chromaprint/.libs/"\" \
- -DLUA_FACTORY_SOURCES_PATH=\""$(abs_top_srcdir)/src/lua-factory/sources/"\" \
- -DLUA_FACTORY_SOURCES_DATA_PATH=\""$(abs_top_srcdir)/tests/lua-factory/sources/data/"\" \
- -DLUA_FACTORY_PLUGIN_TEST_DATA_PATH=\""$(abs_top_builddir)/tests/lua-factory/sources/"\"
-
-if CHROMAPRINT_PLUGIN
-TEST_PROGS += test_lua_acoustid
-test_lua_acoustid_SOURCES = \
- test_lua_acoustid.c \
- acoustidresources.h acoustidresources.c \
- test_lua_factory_utils.h test_lua_factory_utils.c
-
-test_lua_acoustid_LDADD = \
- @DEPS_LIBS@
-
-test_lua_acoustid_CFLAGS = \
- @DEPS_CFLAGS@ \
- $(test_lua_factory_defines)
-else
-EXTRA_DIST += \
- test_lua_acoustid.c \
- acoustidresources.h acoustidresources.c \
- test_lua_factory_utils.h test_lua_factory_utils.c
-endif
-
-acoustid_resources_files = \
- data/acoustid_ludovico_einaudi_primavera.txt \
- data/acoustid_norah_jones_chasing_pirates.txt \
- data/acoustid_philip_glass_the_passion_of.txt \
- data/acoustid_trombone_shorty_buckjump.txt \
- data/acoustid_radiohead_paranoid_android.txt \
- data/chromaprint_ludovico_einaudi_primavera.txt \
- data/chromaprint_norah_jones_chasing_pirates.txt \
- data/chromaprint_philip_glass_the_passion_of.txt \
- data/chromaprint_trombone_shorty_buckjump.txt \
- data/chromaprint_radiohead_paranoid_android.txt
-
-test_lua_metrolyrics_SOURCES = \
- test_lua_metrolyrics.c \
- metrolyricsresources.h metrolyricsresources.c \
- test_lua_factory_utils.h test_lua_factory_utils.c
-
-test_lua_metrolyrics_LDADD = \
- @DEPS_LIBS@
-
-test_lua_metrolyrics_CFLAGS = \
- @DEPS_CFLAGS@ \
- $(test_lua_factory_defines)
-
-metrolyrics_resources_files = \
- data/lyrics_back_it_up.txt \
- data/lyrics_bohemian_rhapsody.txt \
- data/lyrics_nobodys_perfect.txt \
- data/lyrics_ring_of_fire.txt
-
-acoustidresources.h: test_lua_acoustid.gresource.xml
- $(AM_V_GEN) $(GLIB_COMPILE_RESOURCES) $(srcdir)/test_lua_acoustid.gresource.xml \
- --target=$@ --sourcedir=$(srcdir) --c-name _grl_lua_acoustid --generate-header
-acoustidresources.c: test_lua_acoustid.gresource.xml acoustidresources.h $(acoustid_resources_files)
- $(AM_V_GEN) $(GLIB_COMPILE_RESOURCES) $(srcdir)/test_lua_acoustid.gresource.xml \
- --target=$@ --sourcedir=$(srcdir) --c-name _grl_lua_acoustid --generate-source
-
-metrolyricsresources.h: test_lua_metrolyrics.gresource.xml
- $(AM_V_GEN) $(GLIB_COMPILE_RESOURCES) $(srcdir)/test_lua_metrolyrics.gresource.xml \
- --target=$@ --sourcedir=$(srcdir) --c-name _grl_lua_metrolyrics --generate-header
-metrolyricsresources.c: test_lua_metrolyrics.gresource.xml metrolyricsresources.h $(metrolyrics_resources_files)
- $(AM_V_GEN) $(GLIB_COMPILE_RESOURCES) $(srcdir)/test_lua_metrolyrics.gresource.xml \
- --target=$@ --sourcedir=$(srcdir) --c-name _grl_lua_metrolyrics --generate-source
-
-CLEANFILES = \
- acoustidresources.h \
- acoustidresources.c \
- metrolyricsresources.h \
- metrolyricsresources.c
-
-noinst_PROGRAMS = $(TEST_PROGS)
-
-EXTRA_DIST += \
- data/config.ini \
- $(acoustid_resources_files) \
- test_lua_acoustid.gresource.xml \
- $(metrolyrics_resources_files) \
- test_lua_metrolyrics.gresource.xml
-
--include $(top_srcdir)/git.mk
diff --git a/tests/spotify-cover/Makefile.am b/tests/spotify-cover/Makefile.am
deleted file mode 100644
index 3cd1324..0000000
--- a/tests/spotify-cover/Makefile.am
+++ /dev/null
@@ -1,36 +0,0 @@
-#
-# Makefile.am
-#
-# Author: Juan A. Suarez Romero <jasuarez@igalia.com>
-#
-# Copyright (C) 2014 Igalia S.L.
-
-include $(top_srcdir)/gtester.mk
-
-TEST_PROGS += \
- test_spotify_cover
-
-test_spotify_cover_defines = \
- -DLUA_FACTORY_PLUGIN_PATH=\""$(abs_top_builddir)/src/lua-factory/.libs/"\" \
- -DLUA_SOURCES_PATH=\""$(abs_top_srcdir)/src/lua-factory/sources/"\" \
- -DSPOTIFY_COVER_DATA_PATH=\""$(abs_top_srcdir)/tests/spotify-cover/data/"\"
-
-test_spotify_cover_SOURCES = \
- test_spotify_cover.c
-
-test_spotify_cover_LDADD = \
- @DEPS_LIBS@
-
-test_spotify_cover_CFLAGS = \
- @DEPS_CFLAGS@ \
- $(test_spotify_cover_defines)
-
-# Distribute the tests data:
-dist_noinst_DATA = \
- data/network-data.ini \
- data/resolve-bad-found.data \
- data/resolve-good-found.data
-
-noinst_PROGRAMS = $(TEST_PROGS)
-
--include $(top_srcdir)/git.mk
diff --git a/tests/thetvdb/Makefile.am b/tests/thetvdb/Makefile.am
deleted file mode 100644
index e028246..0000000
--- a/tests/thetvdb/Makefile.am
+++ /dev/null
@@ -1,70 +0,0 @@
-#
-# Makefile.am
-#
-# Author: Victor Toso <me@victortoso.com>
-#
-# Copyright (C) 2014 Victor Toso. All rights reserved.
-
-include $(top_srcdir)/gtester.mk
-
-TEST_PROGS += \
- test_thetvdb_resolve_shows \
- test_thetvdb_resolve_episodes \
- test_thetvdb_resolve_stress
-
-test_thetvdb_defines = \
- -DTHETVDB_PLUGIN_PATH=\""$(abs_top_builddir)/src/thetvdb/.libs/"\" \
- -DTHETVDB_PLUGIN_TEST_DATA_PATH=\""$(abs_top_srcdir)/tests/thetvdb/data/"\"
-
-test_thetvdb_resolve_shows_SOURCES = \
- test_thetvdb_resolve_shows.c \
- test_thetvdb_utils.h test_thetvdb_utils.c
-
-test_thetvdb_resolve_shows_LDADD = \
- @DEPS_LIBS@
-
-test_thetvdb_resolve_shows_CFLAGS = \
- @DEPS_CFLAGS@ \
- $(test_thetvdb_defines)
-
-test_thetvdb_resolve_episodes_SOURCES = \
- test_thetvdb_resolve_episodes.c \
- test_thetvdb_utils.h test_thetvdb_utils.c
-
-test_thetvdb_resolve_episodes_LDADD = \
- @DEPS_LIBS@
-
-test_thetvdb_resolve_episodes_CFLAGS = \
- @DEPS_CFLAGS@ \
- $(test_thetvdb_defines)
-
-test_thetvdb_resolve_stress_SOURCES = \
- test_thetvdb_resolve_stress.c \
- test_thetvdb_utils.h test_thetvdb_utils.c
-
-test_thetvdb_resolve_stress_LDADD = \
- @DEPS_LIBS@
-
-test_thetvdb_resolve_stress_CFLAGS = \
- @DEPS_CFLAGS@ \
- $(test_thetvdb_defines)
-
-dist_noinst_DATA = \
- data/config.ini \
- data/adventure_time_get_series.txt \
- data/adventure_time_series_all_en.zip \
- data/boardwalk_empire_get_series.txt \
- data/boardwalk_empire_series_all_en.zip \
- data/csi_miami_get_series.txt \
- data/csi_miami_series_all_en.zip \
- data/felicity_get_series.txt \
- data/felicity_series_all_en.zip \
- data/house_get_series.txt \
- data/house_series_all_en.zip \
- data/naruto_get_series.txt \
- data/naruto_series_all_en.zip \
- data/les_experts_miami_get_series.txt
-
-noinst_PROGRAMS = $(TEST_PROGS)
-
--include $(top_srcdir)/git.mk
diff --git a/tests/tmdb/Makefile.am b/tests/tmdb/Makefile.am
deleted file mode 100644
index fc3b367..0000000
--- a/tests/tmdb/Makefile.am
+++ /dev/null
@@ -1,104 +0,0 @@
-#
-# Makefile.am
-#
-# Author: Iago Toral <itoral@igalia.com>
-#
-# Copyright (C) 2010-2013 Igalia S.L.
-
-include $(top_srcdir)/gtester.mk
-
-TEST_PROGS += \
- test_tmdb_fast_resolution \
- test_tmdb_fast_resolution_by_id \
- test_tmdb_full_resolution \
- test_tmdb_missing_configuration \
- test_tmdb_preconditions
-
-#check_PROGRAMS = $(TESTS)
-
-# Let the .c source code know about these paths,
-# even when sourcedir!=builddir, such as during make distcheck:
-#
-# We could set GRL_PLUGIN_PATH here in TESTS_ENVIRONMENT, specifying all the paths (separated by :) to all the plugins,
-# but it is cleaner to restrict the test to just one plugin by doing it in the code.
-# Note that the tmdb plugin Makefile.am copies the .xml file into .libs so we can use the plugin.
-
-test_tmdb_defines = \
- -DGRILO_PLUGINS_TESTS_TMDB_PLUGIN_PATH=\""$(abs_top_builddir)/src/tmdb/.libs/"\" \
- -DGRILO_PLUGINS_TESTS_TMDB_DATA_PATH=\""$(abs_top_srcdir)/tests/tmdb/data/"\"
-
-test_tmdb_preconditions_SOURCES = \
- test_tmdb_preconditions.c \
- test_tmdb_utils.h test_tmdb_utils.c
-
-test_tmdb_preconditions_LDADD = \
- @DEPS_LIBS@
-
-test_tmdb_preconditions_CFLAGS = \
- @DEPS_CFLAGS@ \
- -DPREFIX=$(prefix) \
- $(test_tmdb_defines)
-
-
-test_tmdb_missing_configuration_SOURCES = \
- test_tmdb_missing_configuration.c \
- test_tmdb_utils.h test_tmdb_utils.c
-
-test_tmdb_missing_configuration_LDADD = \
- @DEPS_LIBS@
-
-test_tmdb_missing_configuration_CFLAGS = \
- @DEPS_CFLAGS@ \
- -DPREFIX=$(prefix) \
- $(test_tmdb_defines)
-
-test_tmdb_fast_resolution_SOURCES = \
- test_tmdb_fast_resolution.c \
- test_tmdb_utils.h test_tmdb_utils.c
-
-test_tmdb_fast_resolution_LDADD = \
- @DEPS_LIBS@
-
-test_tmdb_fast_resolution_CFLAGS = \
- @DEPS_CFLAGS@ \
- -DPREFIX=$(prefix) \
- $(test_tmdb_defines)
-
-test_tmdb_fast_resolution_by_id_SOURCES = \
- test_tmdb_fast_resolution_by_id.c \
- test_tmdb_utils.h test_tmdb_utils.c
-
-test_tmdb_fast_resolution_by_id_LDADD = \
- @DEPS_LIBS@
-
-test_tmdb_fast_resolution_by_id_CFLAGS = \
- @DEPS_CFLAGS@ \
- -DPREFIX=$(prefix) \
- $(test_tmdb_defines)
-
-test_tmdb_full_resolution_SOURCES = \
- test_tmdb_full_resolution.c \
- test_tmdb_utils.h test_tmdb_utils.c
-
-test_tmdb_full_resolution_LDADD = \
- @DEPS_LIBS@
-
-test_tmdb_full_resolution_CFLAGS = \
- @DEPS_CFLAGS@ \
- -DPREFIX=$(prefix) \
- $(test_tmdb_defines)
-
-# Distribute the tests data:
-dist_noinst_DATA = \
- data/configuration.txt \
- data/details.txt \
- data/empty-data.ini \
- data/fast-by-id.ini \
- data/multiple.txt \
- data/no-details.ini \
- data/search.txt \
- data/sherlock.ini
-
-noinst_PROGRAMS = $(TEST_PROGS)
-
--include $(top_srcdir)/git.mk
diff --git a/tests/vimeo/Makefile.am b/tests/vimeo/Makefile.am
deleted file mode 100644
index 1e758f4..0000000
--- a/tests/vimeo/Makefile.am
+++ /dev/null
@@ -1,35 +0,0 @@
-#
-# Makefile.am
-#
-# Author: Juan A. Suarez Romero <jasuarez@igalia.com>
-#
-# Copyright (C) 2013 Igalia S.L.
-
-include $(top_srcdir)/gtester.mk
-
-TEST_PROGS += \
- test_vimeo
-
-test_vimeo_defines = \
- -DVIMEO_PLUGIN_PATH=\""$(abs_top_builddir)/src/vimeo/.libs/"\" \
- -DVIMEO_DATA_PATH=\""$(abs_top_srcdir)/tests/vimeo/data/"\"
-
-test_vimeo_SOURCES = \
- test_vimeo.c
-
-test_vimeo_LDADD = \
- @DEPS_LIBS@
-
-test_vimeo_CFLAGS = \
- @DEPS_CFLAGS@ \
- $(test_vimeo_defines)
-
-# Distribute the tests data:
-dist_noinst_DATA = \
- data/network-data.ini \
- data/empty.data \
- data/results.data
-
-noinst_PROGRAMS = $(TEST_PROGS)
-
--include $(top_srcdir)/git.mk