[ease/text] add local vapi dirs.



commit c8a41a1ce3cf5cd87e8058ae9623e3654f92f60e
Author: Nate Stedman <natesm gmail com>
Date:   Thu Dec 23 23:32:28 2010 -0500

    add local vapi dirs.

 ease-core/wscript |    2 +
 ease/wscript      |  107 +++++++++++++++++++++++++++-------------------------
 2 files changed, 58 insertions(+), 51 deletions(-)
---
diff --git a/ease-core/wscript b/ease-core/wscript
index c696996..754f6db 100644
--- a/ease-core/wscript
+++ b/ease-core/wscript
@@ -48,6 +48,8 @@ def build(bld):
 	lib.packages = 'flutter-' + bld.env["FLUTTER_VERSION"][0] + " "
 	lib.packages += " ".join(ease_core_packages)
 	
+	lib.vapi_dirs = "../build/flutter"
+	
 	lib.gir = "EaseCore-" + version
 
 
diff --git a/ease/wscript b/ease/wscript
index 32287be..8dfda7c 100644
--- a/ease/wscript
+++ b/ease/wscript
@@ -1,55 +1,60 @@
 #!/usr/bin/env python
 
-ease_files = [ "ease-about-dialog.vala", 
-	       "ease-close-confirm-dialog.vala", 
-	       "ease-editor-embed.vala", 
-	       "ease-editor-window.vala", 
-	       "ease-handle.vala", 
-	       "ease-import-dialog.vala", 
-	       "ease-import-flickr-media.vala", 
-	       "ease-import-flickr-service.vala", 
-	       "ease-import-oca-media.vala", 
-	       "ease-import-oca-service.vala", 
-	       "ease-import-widget.vala", 
-	       "ease-inspector-element-pane.vala", 
-	       "ease-inspector-pane.vala", 
-	       "ease-inspector-slide-pane.vala", 
-	       "ease-inspector-transition-pane.vala", 
-	       "ease-inspector.vala", 
-	       "ease-main.vala", 
-	       "ease-player.vala", 
-	       "ease-selection-rectangle.vala", 
-	       "ease-slide-actor.vala", 
-	       "ease-slide-button-panel.vala", 
-	       "ease-slide-sorter.vala", 
-	       "ease-welcome-actor.vala", 
-	       "ease-welcome-window.vala"]
-
-ease_packages = [ "clutter-gst-1.0", "clutter-gtk-0.10", "gee-1.0", 
-		  "gmodule-2.0", "json-glib-1.0", "libarchive", "poppler-glib", 
-		  "rest-extras-0.6", "unique-1.0"]
-
+ease_files = ["ease-about-dialog.vala", 
+              "ease-close-confirm-dialog.vala", 
+              "ease-editor-embed.vala", 
+              "ease-editor-window.vala", 
+              "ease-handle.vala", 
+              "ease-import-dialog.vala", 
+              "ease-import-flickr-media.vala", 
+              "ease-import-flickr-service.vala", 
+              "ease-import-oca-media.vala", 
+              "ease-import-oca-service.vala", 
+              "ease-import-widget.vala", 
+              "ease-inspector-element-pane.vala", 
+              "ease-inspector-pane.vala", 
+              "ease-inspector-slide-pane.vala", 
+              "ease-inspector-transition-pane.vala", 
+              "ease-inspector.vala", 
+              "ease-main.vala", 
+              "ease-player.vala", 
+              "ease-selection-rectangle.vala", 
+              "ease-slide-actor.vala", 
+              "ease-slide-button-panel.vala", 
+              "ease-slide-sorter.vala", 
+              "ease-welcome-actor.vala", 
+              "ease-welcome-window.vala"]
 
 def build(bld):
-	prog = bld(features='c cprogram')
-	
-	prog.name = 'ease'
-	prog.target = 'ease'
-
-	prog.source = " ".join(ease_files)
-	
-#	prog.includes = "../ease-core ../flutter"
-	
-	prog.cflags = ['-include', 'config.h']
-	prog.uselib = 'GTK+ GOBJECT CLUTTER GEE CLUTTERGST GMODULE LIBARCHIVE POPPLERGLIB RESTEXTRAS CLUTTERGTK JSONGLIB UNIQUE'
-	prog.packages = 'flutter-' + bld.env["FLUTTER_VERSION"][0] + " "
-	prog.packages += 'ease-core-' + bld.env["EASE_CORE_VERSION"][0] + " "
-	prog.packages += " ".join(ease_packages)
-
-	prog.vapi_dirs = '../ease-core ../flutter'
-
-	
-	prog.use = 'ease-core flutter'
-
-	# Enable threading
-	#prog.threading = True
+  ease_packages = ["flutter-" + bld.env["FLUTTER_VERSION"][0],
+                   "ease-core-" + bld.env["EASE_CORE_VERSION"][0],
+                   "clutter-gst-1.0",
+                   "clutter-gtk-0.10",
+                   "gee-1.0",
+                   "gmodule-2.0",
+                   "json-glib-1.0",
+                   "libarchive",
+                   "poppler-glib",
+                   "rest-0.6",
+                   "rest-extras-0.6",
+                   "unique-1.0"]
+
+  prog = bld(features='c cprogram')
+  
+  prog.name = 'ease'
+  prog.target = 'ease'
+
+  prog.source = " ".join(ease_files)
+  
+  prog.includes = "../build/ease-core ../build/flutter"
+  
+  prog.cflags = ['-include', 'config.h']
+  prog.uselib = 'GTK+ GOBJECT CLUTTER GEE CLUTTERGST GMODULE LIBARCHIVE POPPLERGLIB RESTEXTRAS CLUTTERGTK JSONGLIB UNIQUE' 
+  prog.packages = " ".join(ease_packages)
+
+  prog.vapi_dirs = '../build/ease-core ../build/flutter'
+
+  prog.use = 'ease-core flutter'
+
+  # Enable threading
+  prog.threading = True



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