mirror of https://github.com/xemu-project/xemu.git
Merge branch 'master' into xblc_gui
This commit is contained in:
commit
6b54b55367
|
@ -315,8 +315,7 @@ jobs:
|
||||||
brew install \
|
brew install \
|
||||||
ccache \
|
ccache \
|
||||||
coreutils \
|
coreutils \
|
||||||
dylibbundler \
|
dylibbundler
|
||||||
ninja
|
|
||||||
pip install pyyaml requests
|
pip install pyyaml requests
|
||||||
- name: Initialize compiler, library cache
|
- name: Initialize compiler, library cache
|
||||||
id: cache
|
id: cache
|
||||||
|
|
|
@ -1191,17 +1191,6 @@ EOF
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
##########################################
|
|
||||||
# epoxy probe
|
|
||||||
|
|
||||||
if $pkg_config --libs --silence-errors epoxy > /dev/null 2>&1 ; then
|
|
||||||
epoxy_libs=$($pkg_config --libs --silence-errors epoxy)
|
|
||||||
epoxy_cflags=$($pkg_config --cflags --silence-errors epoxy)
|
|
||||||
else
|
|
||||||
error_exit "epoxy not present." \
|
|
||||||
"Please install the epoxy devel package."
|
|
||||||
fi
|
|
||||||
|
|
||||||
##########################################
|
##########################################
|
||||||
# detect rust triple
|
# detect rust triple
|
||||||
|
|
||||||
|
@ -1807,10 +1796,6 @@ if test "$default_targets" = "yes"; then
|
||||||
echo "CONFIG_DEFAULT_TARGETS=y" >> $config_host_mak
|
echo "CONFIG_DEFAULT_TARGETS=y" >> $config_host_mak
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# FIXME: Use meson
|
|
||||||
echo "EPOXY_CFLAGS=$epoxy_cflags" >> $config_host_mak
|
|
||||||
echo "EPOXY_LIBS=$epoxy_libs" >> $config_host_mak
|
|
||||||
|
|
||||||
# tests/tcg configuration
|
# tests/tcg configuration
|
||||||
mkdir -p tests/tcg
|
mkdir -p tests/tcg
|
||||||
echo "# Automatically generated by configure - do not modify" > tests/tcg/$config_host_mak
|
echo "# Automatically generated by configure - do not modify" > tests/tcg/$config_host_mak
|
||||||
|
|
|
@ -1774,6 +1774,8 @@ if not get_option('coreaudio').auto() or (host_os == 'darwin' and have_system)
|
||||||
required: get_option('coreaudio'))
|
required: get_option('coreaudio'))
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
epoxy = dependency('epoxy', required: true)
|
||||||
|
|
||||||
opengl = not_found
|
opengl = not_found
|
||||||
if not get_option('opengl').auto() or have_system or have_vhost_user_gpu
|
if not get_option('opengl').auto() or have_system or have_vhost_user_gpu
|
||||||
# FIXME: Use meson's 'gl' dep
|
# FIXME: Use meson's 'gl' dep
|
||||||
|
@ -1787,8 +1789,7 @@ if not get_option('opengl').auto() or have_system or have_vhost_user_gpu
|
||||||
error('Unknown GL platform')
|
error('Unknown GL platform')
|
||||||
endif
|
endif
|
||||||
|
|
||||||
opengl = declare_dependency(compile_args: config_host['EPOXY_CFLAGS'].split(),
|
opengl = declare_dependency(link_args: opengl_libs, dependencies: epoxy)
|
||||||
link_args: config_host['EPOXY_LIBS'].split() + opengl_libs)
|
|
||||||
endif
|
endif
|
||||||
|
|
||||||
gbm = not_found
|
gbm = not_found
|
||||||
|
|
|
@ -149,7 +149,9 @@ class LibInstaller:
|
||||||
if pkg_name.startswith('openssl'): # FIXME
|
if pkg_name.startswith('openssl'): # FIXME
|
||||||
new_prefix = f'prefix={self._extract_path}/opt/local/libexec/openssl11\n'
|
new_prefix = f'prefix={self._extract_path}/opt/local/libexec/openssl11\n'
|
||||||
lines[i] = new_prefix
|
lines[i] = new_prefix
|
||||||
break
|
elif l.strip().startswith('Requires.private:'):
|
||||||
|
if pkg_name.startswith('libepoxy'):
|
||||||
|
lines[i] = ''
|
||||||
with open(extracted_path, 'w') as f:
|
with open(extracted_path, 'w') as f:
|
||||||
f.write(''.join(lines))
|
f.write(''.join(lines))
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue