--- /dev/null
+#
+# Configure script
+#
+# used by VLCKit.xcodeproj
+
+if test "x$SYMROOT" = "x"; then
+ echo " This script is bound to be launched by VLCKit.xcodeproj, not you"
+ exit 1
+fi
+
+if test "$ACTION" = "clean"; then
+ rm -Rf $SYMROOT/vlc_build_dir
+ exit 0
+fi
+
+# Contruct the vlc_build_dir
+mkdir -p $SYMROOT/vlc_build_dir
+cd $SYMROOT/vlc_build_dir
+
+# Contruct the argument list
+echo "Building for $ARCHS with sdk=\"$SDKROOT\""
+
+
+args="--disable-nls $args"
+
+# Mac OS X related options
+args="--disable-macosx-defaults $args"
+args="--disable-macosx $args" # Disable old gui/macosx
+args="--disable-macosx-vlc-app $args" # Don't build old vlc.app
+
+args="--with-macosx-version-min=10.5 $args"
+
+# optional modules
+args="--enable-faad $args"
+args="--enable-flac $args"
+args="--enable-theora $args"
+args="--enable-shout $args"
+args="--enable-cddax $args"
+args="--enable-caca $args"
+args="--enable-vcdx $args"
+args="--enable-twolame $args"
+args="--enable-realrtsp $args"
+args="--enable-libass $args"
+args="--enable-asademux $args"
+
+# disabled stuff
+args="--disable-ncurses $args"
+args="--disable-httpd $args"
+args="--disable-vlm $args"
+args="--disable-skins2 $args"
+args="--disable-x11 $args"
+args="--disable-glx $args"
+args="--disable-xvideo $args"
+args="--disable-xcb $args"
+args="--disable-sdl $args"
+args="--disable-sdl-image $args"
+args="--disable-visual $args"
+
+# where to install
+args="--prefix=$SYMROOT/vlc_build_dir/vlc_install_dir $args"
+
+if test "x$SDKROOT" != "x"
+then
+ args="--with-macosx-sdk=$SDKROOT $args"
+fi
+
+# Debug Flags
+if test "$CONFIGURATION" = "Debug"; then
+ args="--enable-debug $args"
+else
+ args="--enable-release $args"
+fi
+
+# 64 bits switches
+if test $ARCHS = "x86_64"
+then
+ args="--build=x86_64-apple-darwin10 $args"
+fi
+
+echo "Running configure $args"
+top_srcdir="$SRCROOT/../../.."
+CFLAGS="-arch $ARCHS" CXXFLAGS="-arch $ARCHS" CPPFLAGS="-arch $ARCHS" OBJCFLAGS="-arch $ARCHS" exec $top_srcdir/configure $args
632A0E840D3835C400AFC99B /* VLCStreamSession.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = VLCStreamSession.m; sourceTree = "<group>"; };
632A0EC10D38392E00AFC99B /* VLCStreamOutput.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = VLCStreamOutput.h; path = Public/VLCStreamOutput.h; sourceTree = "<group>"; };
632A0EC20D38392E00AFC99B /* VLCStreamOutput.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = VLCStreamOutput.m; sourceTree = "<group>"; };
+ 633753FF10ECE1C60072A0D9 /* Configure.sh */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.script.sh; path = Configure.sh; sourceTree = "<group>"; };
6341FCAE0D2C0929002A97B7 /* VLCVideoLayer.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = VLCVideoLayer.h; path = Public/VLCVideoLayer.h; sourceTree = "<group>"; };
6341FCB00D2C0936002A97B7 /* VLCVideoLayer.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = VLCVideoLayer.m; sourceTree = "<group>"; };
637CFB930D2D280800A041B6 /* VLCLibrary.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = VLCLibrary.h; path = Public/VLCLibrary.h; sourceTree = "<group>"; };
isa = PBXGroup;
children = (
EF78BD350CAEEFB000354E6E /* Pre-Compile.sh */,
+ 633753FF10ECE1C60072A0D9 /* Configure.sh */,
63030CC70CCA652C0088ECD1 /* Info.plist */,
);
name = Resources;
);
runOnlyForDeploymentPostprocessing = 0;
shellPath = /bin/sh;
- shellScript = "if test \"$ACTION\" = \"clean\"; then\n rm -Rf $SYMROOT/vlc_build_dir\n exit 0\nfi\n\ntop_srcdir=`pwd`/../../..\n\nmkdir -p $SYMROOT/vlc_build_dir\ncd $SYMROOT/vlc_build_dir\n\necho \"Building for $ARCHS with sdk=\\\"$SDKROOT\\\"\"\nargs=\"--disable-nls $args\"\nargs=\"--disable-macosx $args\"\nargs=\"--disable-macosx-defaults $args\"\nargs=\"--enable-faad $args\"\nargs=\"--enable-flac $args\"\nargs=\"--enable-theora $args\"\nargs=\"--enable-shout $args\"\nargs=\"--enable-cddax $args\"\nargs=\"--enable-caca $args\"\nargs=\"--enable-vcdx $args\"\nargs=\"--disable-ncurses $args\"\nargs=\"--disable-httpd $args\"\nargs=\"--disable-vlm $args\"\nargs=\"--enable-twolame $args\"\nargs=\"--enable-realrtsp $args\"\nargs=\"--enable-libass $args\"\nargs=\"--enable-asademux $args\"\nargs=\"--disable-skins2 $args\"\nargs=\"--disable-x11 $args\"\nargs=\"--disable-glx $args\"\nargs=\"--disable-xvideo $args\"\nargs=\"--disable-xcb $args\"\nargs=\"--disable-sdl $args\"\nargs=\"--disable-sdl-image $args\"\nargs=\"--disable-visual $args\"\nargs=\"--with-macosx-version-min=10.5 $args\"\nif test \"x$SDKROOT\" != \"x\"\nthen\n\targs=\"--with-macosx-sdk=$SDKROOT $args\"\nfi\n\nif test \"$CONFIGURATION\" = \"Debug\"; then\n\targs=\"--enable-debug $args\"\nelse\n\targs=\"--enable-release $args\"\nfi\n\nargs=\"--prefix=$SYMROOT/vlc_build_dir/vlc_install_dir $args\"\n\nif test $ARCHS = \"x86_64\"\nthen\n\targs=\"--build=x86_64-apple-darwin10 $args\"\nfi\n\necho \"Running configure $args\"\nCFLAGS=\"-arch $ARCHS\" CXXFLAGS=\"-arch $ARCHS\" CPPFLAGS=\"-arch $ARCHS\" OBJCFLAGS=\"-arch $ARCHS\" exec $top_srcdir/configure $args";
- showEnvVarsInLog = 0;
+ shellScript = "sh $SOURCE_ROOT/Configure.sh";
};
EF78BD2E0CAEEF9500354E6E /* ShellScript */ = {
isa = PBXShellScriptBuildPhase;