DeadSix27/python_cross_compile_script

building medianifo.exe from latest git master rather than branch 'v0.7.94' ?

hydra3333 opened this issue · 2 comments

Hello, I wonder if you would consider building medianifo.exe from latest git master rather than branch 'v0.7.94' ? Version 0.7.94 generates an error under win10 at runtime, which is fixed in a later version.
Thank you

	'mediainfo' : {
		'repo_type' : 'git',
		#'branch' : 'v0.7.94',
		'custom_cflag' : '',
		'recursive_git' : True,
		'url' : 'https://github.com/MediaArea/MediaInfo.git',
		'source_subfolder' : 'Project/GNU/CLI',
		'rename_folder' : 'mediainfo_git',
		'configure_options': '--host={target_host} --prefix={product_prefix}/mediainfo_git.installed --disable-shared --disable-static-libs',
		'run_post_configure' : [
			'sed -i.bak \'s/ -DSIZE_T_IS_LONG//g\' Makefile',
		],
		'depends_on': [
			'libmediainfo', 'zenlib', 'libcurl',
		],
		'_info' : { 'version' : 'git (master)', 'fancy_name' : 'MediaInfo' },
		'_disabled' : True,
	},
  	'libmediainfo' : {
		'repo_type' : 'git',
		#'branch' : 'v0.7.94',
		'source_subfolder' : 'Project/GNU/Library',
		'url' : 'https://github.com/MediaArea/MediaInfoLib.git',
		'configure_options' : '--host={target_host} --prefix={target_prefix} --enable-shared --enable-static --with-libcurl --with-libmms --with-libmediainfo-name=MediaInfo.dll', # --enable-static --disable-shared --enable-shared=no
		'run_post_patch' : [
			'sed -i.bak \'s/Windows.h/windows.h/\' ../../../Source/MediaInfo/Reader/Reader_File.h',
			'sed -i.bak \'s/Windows.h/windows.h/\' ../../../Source/MediaInfo/Reader/Reader_File.cpp',
		],
		'run_post_configure' : [
			'sed -i.bak \'s/ -DSIZE_T_IS_LONG//g\' Makefile',
		],
		'depends_on': [
			'zenlib', 'libcurl',
		],
		'_info' : { 'version' : 'git (master)', 'fancy_name' : 'libmediainfo' },
	},

feel free to PR the removel of the branch tag, I personally didn't use the mediainfo target i'd want the mediainfo.dll one which I can't get to work: #55

Ok I'll have a go.