Skip to content

Commit

Permalink
allow setting explicit qt/mac subpaths, as binary version has split i…
Browse files Browse the repository at this point in the history
…nstall
  • Loading branch information
Justin Karneges committed Aug 14, 2012
1 parent 4e06dee commit ed81f63
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 4 deletions.
5 changes: 4 additions & 1 deletion admin/build/build_package.sh
Expand Up @@ -122,8 +122,11 @@ build_package_psi() {

mingw32-make distclean
else
if [ "$QT_LIB_PATH" == "" ]; then
QT_LIB_PATH=$QTDIR/lib
fi
cd $psi_base
export DYLD_FRAMEWORK_PATH=$QTDIR/lib:$deps_base/$qca_mac_dir/lib:$deps_base/$growl_dir/Framework
export DYLD_FRAMEWORK_PATH=$QT_LIB_PATH:$deps_base/$qca_mac_dir/lib:$deps_base/$growl_dir/Framework
./configure --with-qca-inc=$deps_base/$qca_mac_dir/include --with-qca-lib=$deps_base/$qca_mac_dir/lib --with-growl=$deps_base/$growl_dir/Framework --enable-universal
make
fi
Expand Down
12 changes: 9 additions & 3 deletions admin/build/devconfig.sh
Expand Up @@ -73,13 +73,19 @@ if [ "$platform" == "win" ]; then
echo "export QT_PLUGIN_PATH=$mqtdir/plugins:$deps_base/$qca_win_dir/$target_arch/plugins" >> $build_base/devenv
echo "export PSI_MEDIA_PLUGIN=$deps_base/$psimedia_win_dir/$target_arch/plugins/gstprovider.dll" >> $build_base/devenv
else
export DYLD_FRAMEWORK_PATH=$QTDIR/lib:$deps_base/$qca_mac_dir/lib:$deps_base/$growl_dir/Framework
if [ "$QT_LIB_PATH" == "" ]; then
QT_LIB_PATH=$QTDIR/lib
fi
if [ "$QT_PLUGIN_PATH" == "" ]; then
QT_PLUGIN_PATH=$QTDIR/plugins
fi
export DYLD_FRAMEWORK_PATH=$QT_LIB_PATH:$deps_base/$qca_mac_dir/lib:$deps_base/$growl_dir/Framework
./configure --with-qca-inc=$deps_base/$qca_mac_dir/include --with-qca-lib=$deps_base/$qca_mac_dir/lib --with-growl=$deps_base/$growl_dir/Framework --enable-universal

rm -f $build_base/devenv
touch $build_base/devenv
echo "export DYLD_LIBRARY_PATH=$deps_base/$gstbundle_mac_dir/$target_arch/lib:\$PATH" >> $build_base/devenv
echo "export DYLD_FRAMEWORK_PATH=$QTDIR/lib:$deps_base/$qca_mac_dir/lib:$deps_base/$growl_dir/Framework" >> $build_base/devenv
echo "export QT_PLUGIN_PATH=$QTDIR/plugins:$deps_base/$qca_mac_dir/$target_arch/plugins" >> $build_base/devenv
echo "export DYLD_FRAMEWORK_PATH=$QT_LIB_PATH:$deps_base/$qca_mac_dir/lib:$deps_base/$growl_dir/Framework" >> $build_base/devenv
echo "export QT_PLUGIN_PATH=$QT_PLUGIN_PATH:$deps_base/$qca_mac_dir/$target_arch/plugins" >> $build_base/devenv
echo "export PSI_MEDIA_PLUGIN=$deps_base/$psimedia_mac_dir/$target_arch/plugins/libgstprovider.dylib" >> $build_base/devenv
fi

0 comments on commit ed81f63

Please sign in to comment.