[rygel-gst-0-10-fullscreen-renderer] Add plugin file for newer Rygel



commit 514f02edd41a49dd3291332a11068d20b2e53516
Author: Jens Georg <mail jensge org>
Date:   Wed May 1 10:33:49 2013 +0200

    Add plugin file for newer Rygel

 configure.ac                 |    5 +++++
 src/Makefile.am              |    3 +++
 src/legacy-playbin.plugin.in |    7 +++++++
 3 files changed, 15 insertions(+), 0 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 9a9d24d..e106ed8 100644
--- a/configure.ac
+++ b/configure.ac
@@ -66,8 +66,12 @@ AS_IF([test "x$[]enable_plugin" = "xyes"],
       [
         RYGEL_PLUGIN_LINKER_FLAGS="`$PKG_CONFIG --variable=plugin_ldflags rygel-core-2.0`"
         AC_SUBST(RYGEL_PLUGIN_LINKER_FLAGS)
+
         RYGEL_PLUGIN_DIR="`$PKG_CONFIG --variable=plugindir rygel-core-2.0`"
         AC_SUBST(RYGEL_PLUGIN_DIR)
+
+        RYGEL_VERSION="`$PKG_CONFIG --modversion rygel-core-2.0`"
+        AC_SUBST(RYGEL_VERSION)
       ])
 
 dnl Gettext
@@ -85,6 +89,7 @@ AM_SILENT_RULES([yes])
 AC_CONFIG_FILES([
 Makefile
 src/Makefile
+src/legacy-playbin.plugin
 po/Makefile.in
 ])
 AC_OUTPUT
diff --git a/src/Makefile.am b/src/Makefile.am
index 60dca5c..f8832e5 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -20,6 +20,7 @@ endif
 if BUILD_PLUGIN
 plugindir = $(RYGEL_PLUGIN_DIR)
 plugin_LTLIBRARIES = libgstreamer-legacy-renderer.la
+plugin_DATA = legacy-playbin.plugin
 libgstreamer_legacy_renderer_la_SOURCES = \
        rygel-playbin-player.c \
        rygel-playbin-player.h \
@@ -35,3 +36,5 @@ libgstreamer_legacy_renderer_la_LDFLAGS = \
 libgstreamer_legacy_renderer_la_LIBADD = \
        $(DEPS_LIBS)
 endif
+
+EXTRA_DIST = legacy-playbin.plugin.in
diff --git a/src/legacy-playbin.plugin.in b/src/legacy-playbin.plugin.in
new file mode 100644
index 0000000..ce68d60
--- /dev/null
+++ b/src/legacy-playbin.plugin.in
@@ -0,0 +1,7 @@
+[Plugin]
+Version = @RYGEL_VERSION@
+Module = gstreamer-legacy-renderer
+Name = GStreamerLegacyRendererPlugin
+License = LGPL
+Description = A DLNA renderer based on GStreamer's 0.10 playbin2 element
+Copyright = Copyright © Intel Corporation


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]