[rygel] playbin: Fix parallel build in playbin plug-in
- From: Jens Georg <jensgeorg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [rygel] playbin: Fix parallel build in playbin plug-in
- Date: Tue, 3 Jul 2012 07:56:35 +0000 (UTC)
commit 5de7fd39b62b425dc01ca7af82e74a0f925ae8aa
Author: Jens Georg <mail jensge org>
Date: Fri Jun 22 12:34:14 2012 +0200
playbin: Fix parallel build in playbin plug-in
Automake's vala integration does not recognize local vapi's as
dependencies so we put it as a source file. This is also supported and
helps with the dependencies.
src/plugins/playbin/Makefile.am | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
---
diff --git a/src/plugins/playbin/Makefile.am b/src/plugins/playbin/Makefile.am
index 9f48800..dd82d58 100644
--- a/src/plugins/playbin/Makefile.am
+++ b/src/plugins/playbin/Makefile.am
@@ -12,11 +12,13 @@ librygel_renderer_la_VALAFLAGS = \
$(RYGEL_COMMON_PLUGIN_VALAFLAGS)
librygel_renderer_la_LIBADD = $(RYGEL_COMMON_LIBS)
+rygel-renderer.h rygel-renderer-1.0.vapi: librygel_renderer_la_vala.stamp
+
plugin_LTLIBRARIES = librygel-playbin.la
AM_CFLAGS += -DG_LOG_DOMAIN='"Playbin"'
-librygel_playbin_la_SOURCES = rygel-module.vala
-librygel_playbin_la_VALAFLAGS = $(RYGEL_COMMON_PLUGIN_VALAFLAGS) --pkg rygel-renderer-1.0 --vapidir=$(builddir)
+librygel_playbin_la_SOURCES = rygel-module.vala rygel-renderer-1.0.vapi
+librygel_playbin_la_VALAFLAGS = $(RYGEL_COMMON_PLUGIN_VALAFLAGS)
librygel_playbin_la_LIBADD = $(RYGEL_COMMON_LIBS) librygel-renderer.la
librygel_playbin_la_LDFLAGS = $(RYGEL_PLUGIN_LINKER_FLAGS)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]