banshee r4703 - in trunk/banshee: . build/osx



Author: abock
Date: Sun Oct 19 06:26:08 2008
New Revision: 4703
URL: http://svn.gnome.org/viewvc/banshee?rev=4703&view=rev

Log:
2008-10-19  Aaron Bockover  <abock gnome org>

    * build/osx/collect-deps.sh: Script to collect all the privately built
    dependencies for bundling

    * build/osx/build-deps.sh: Call collect (har har har)



Added:
   trunk/banshee/build/osx/collect-deps.sh   (contents, props changed)
Modified:
   trunk/banshee/ChangeLog
   trunk/banshee/build/osx/build-deps.sh
   trunk/banshee/build/osx/build.env

Modified: trunk/banshee/build/osx/build-deps.sh
==============================================================================
--- trunk/banshee/build/osx/build-deps.sh	(original)
+++ trunk/banshee/build/osx/build-deps.sh	Sun Oct 19 06:26:08 2008
@@ -123,6 +123,9 @@
 done
 
 popd &>/dev/null
+
+./collect-deps.sh
+
 popd &>/dev/null
 
 test -f $BUILD_LOG && rm $BUILD_LOG

Modified: trunk/banshee/build/osx/build.env
==============================================================================
--- trunk/banshee/build/osx/build.env	(original)
+++ trunk/banshee/build/osx/build.env	Sun Oct 19 06:26:08 2008
@@ -7,7 +7,7 @@
 # Where GStreamer and other Banshee dependencies that will
 # end up being bundled should be installed for the build.
 # It's generally a good idea to leave this alone.
-BUILD_PREFIX="`pwd`/bundle-deps"
+BUILD_PREFIX="`pwd`/bundle-deps-build"
 
 # Build configuration. Really, no reason to touch this.
 export PKG_CONFIG_PATH="/usr/lib/pkgconfig:$MONO_SDK_PATH/lib/pkgconfig:$BUILD_PREFIX/lib/pkgconfig:$PKG_CONFIG_PATH"

Added: trunk/banshee/build/osx/collect-deps.sh
==============================================================================
--- (empty file)
+++ trunk/banshee/build/osx/collect-deps.sh	Sun Oct 19 06:26:08 2008
@@ -0,0 +1,18 @@
+#!/bin/bash
+
+pushd $(dirname $0) &>/dev/null
+source build.env
+
+BUNDLE=bundle-deps
+
+rm -rf $BUNDLE
+
+mkdir $BUNDLE
+mkdir $BUNDLE/gstreamer-0.10
+
+find $BUILD_PREFIX/lib -name *.dylib -exec cp {} $BUNDLE \;
+find $BUILD_PREFIX/lib/gstreamer-0.10 -name *.so -exec cp {} $BUNDLE/gstreamer-0.10 \;
+find $BUILD_PREFIX/lib/mono -name *.dll -not -name *policy* -type f -exec cp {} $BUNDLE \;
+
+popd &>/dev/null
+



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