rygel r104 - in trunk: . src
- From: zeeshanak svn gnome org
- To: svn-commits-list gnome org
- Subject: rygel r104 - in trunk: . src
- Date: Tue, 28 Oct 2008 21:00:24 +0000 (UTC)
Author: zeeshanak
Date: Tue Oct 28 21:00:24 2008
New Revision: 104
URL: http://svn.gnome.org/viewvc/rygel?rev=104&view=rev
Log:
Add dependency to gstreamer >= 0.10.19.
Modified:
trunk/ChangeLog
trunk/configure.ac
trunk/src/Makefile.am
Modified: trunk/configure.ac
==============================================================================
--- trunk/configure.ac (original)
+++ trunk/configure.ac Tue Oct 28 21:00:24 2008
@@ -16,12 +16,14 @@
GUPNP_AV_REQUIRED=0.1
GCONF_REQUIRED=2.22
DBUS_GLIB_REQUIRED=0.74
+GSTREAMER_REQUIRED=0.10.19
PKG_CHECK_MODULES(VALA, [vala-1.0 >= $VALA_REQUIRED])
PKG_CHECK_MODULES(LIBGUPNP, gupnp-1.0 >= $GUPNP_REQUIRED)
PKG_CHECK_MODULES(LIBGUPNP_AV, gupnp-av-1.0 >= $GUPNP_AV_REQUIRED)
PKG_CHECK_MODULES(LIBGCONF, gconf-2.0 >= $GCONF_REQUIRED)
PKG_CHECK_MODULES(LIBDBUS_GLIB, dbus-glib-1 >= $DBUS_GLIB_REQUIRED)
+PKG_CHECK_MODULES(LIBGSTREAMER, gstreamer-0.10 >= $GSTREAMER_REQUIRED)
# Vala compiler
# This is more to get the path of the compiler since the pkg-config check
@@ -51,6 +53,10 @@
true,
[AC_MSG_ERROR("Unable to find Vala bindings for gconf-2.0")])
+AC_CHECK_FILE("${VAPIDIR}/gstreamer-0.10.vapi",
+ true,
+ [AC_MSG_ERROR("Unable to find Vala bindings for gstreamer-0.10")])
+
# glib-genmarshal
GLIB_GENMARSHAL=`pkg-config --variable=glib_genmarshal glib-2.0`
AC_SUBST(GLIB_GENMARSHAL)
Modified: trunk/src/Makefile.am
==============================================================================
--- trunk/src/Makefile.am (original)
+++ trunk/src/Makefile.am Tue Oct 28 21:00:24 2008
@@ -8,6 +8,7 @@
$(LIBGUPNP_AV_CFLAGS) \
$(LIBGCONF_CFLAGS) \
$(LIBDBUS_GLIB_CFLAGS) \
+ $(LIBGSTREAMER_CFLAGS) \
-I$(top_srcdir) -DDATA_DIR='"$(shareddir)"'
bin_PROGRAMS = gupnp-media-server
@@ -44,13 +45,15 @@
gupnp-media-server.stamp: $(filter %.vala,$(gupnp_media_server_SOURCES))
$(VALAC) -C --vapidir=$(srcdir) --pkg cstuff --pkg gupnp-1.0 \
- --pkg gupnp-av-1.0 --pkg dbus-glib-1 --pkg gconf-2.0 $^
+ --pkg gupnp-av-1.0 --pkg dbus-glib-1 --pkg gconf-2.0 \
+ --pkg gstreamer-0.10 $^
touch $@
gupnp_media_server_LDADD = $(LIBGUPNP_LIBS) \
$(LIBGUPNP_AV_LIBS) \
$(LIBGCONF_LIBS) \
- $(LIBDBUS_GLIB_LIBS)
+ $(LIBDBUS_GLIB_LIBS) \
+ $(LIBGSTREAMER_LIBS)
gupnp_media_server_LDFLAGS = -export-dynamic
CLEANFILES = $(BUILT_SOURCES)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]