{
	'repo_type' : 'mercurial',
	'url' : 'https://bitbucket.org/multicoreware/x265',
	'rename_folder' : 'x265_hg',
	'source_subfolder' : '_build',
	'configure_options' : 
		'../source {cmake_prefix_options} '
		'-DCMAKE_AR={cross_prefix_full}ar '
		'-DENABLE_SHARED=OFF '
		'-DENABLE_ASSEMBLY=ON '
		'-DEXTRA_LIB="x265_main10.a;x265_main12.a" '
		'-DEXTRA_LINK_FLAGS="-L{offtree_prefix}/libx265_10bit/lib;-L{offtree_prefix}/libx265_12bit/lib" '
		'-DLINKED_10BIT=ON '
		'-DLINKED_12BIT=ON '
		'-DCMAKE_INSTALL_PREFIX={output_prefix}/x265_hg.installed'
	,
	'conf_system' : 'cmake',
	'depends_on' : [ 'libxml2', 'libx265_multibit_10', 'libx265_multibit_12' ],
	'_info' : { 'version' : None, 'fancy_name' : 'x265 (multibit 12/10/8)' },
}
@@ -15,17 +15,11 @@
  : '
-mercurial
+git
 ',%0A%09
@@ -71,39 +71,58 @@
 x265
+_git
 ',%0A%09'
-rename_folder' : 'x265_hg'
+folder_name': 'x265_git',%0A%09'depth_git': 0
 ,%0A%09'

use git (leftover)