7 if test -z "$profile_name"; then
9 Linux
) profile_name
=linux
;;
10 Darwin
) profile_name
=darwin
;;
12 echo "Unsupported system type: $(uname)"
18 profile
="profile.$profile_name.py"
20 if ! test -f "build/bundle/$profile"; then
21 echo "Profile does not exist: build/bundle/$profile"
25 selfdir
="$(pwd)/$(dirname "$0")"
26 envfile
="$selfdir/$profile_name.env"
28 pushd build
/bundle
&>/dev
/null
30 .
/$profile -e > "$envfile"
33 [ $profile_name = darwin
] && \
34 echo "export GTK2_RC_FILES=\"$selfdir/build/bundle/skeleton.darwin/Contents/Resources/etc/gtk-2.0/gtkrc\"" >> "$envfile"
48 .
/autogen.sh
--prefix="$BUILD_PREFIX" $CONFIGURE_ARGS
52 The world has built! You can now build Banshee.
53 Be sure to source in the profile environment:
55 $ source $profile_name.env
57 Once sourced, just run autogen/configure/make, etc
58 as normal. The install prefix is available as the
59 BUILD_PREFIX environment variable - e.g.:
61 $ ./autogen.sh --prefix="\$BUILD_PREFIX"