Update wine headers to 10.0

This commit is contained in:
mid-kid 2025-04-24 21:42:37 +02:00
parent 7c4f22a37d
commit b593e91129
6 changed files with 17 additions and 9 deletions

View File

@ -1,5 +1,5 @@
project('wine', 'c', project('wine', 'c',
version: '9.0', version: '10.0',
default_options: ['warning_level=1']) default_options: ['warning_level=1'])
bison = find_program('bison', native: true, bison = find_program('bison', native: true,
@ -14,3 +14,10 @@ if has_widl
endif endif
subdir('include') subdir('include')
if has_widl
static_library('wine_test',
'test.c',
dependencies: headers_dep,
build_by_default: false)
endif

View File

@ -1 +1,2 @@
option('with_widl', type: 'feature') option('with_widl', type: 'feature')
option('test', type: 'boolean')

View File

@ -0,0 +1 @@
#include "windows.h"

View File

@ -11,9 +11,7 @@ config = configure_file(
'__WINE_CONFIG_H': true, '__WINE_CONFIG_H': true,
'PACKAGE_VERSION': '"' + meson.project_version() + '"', 'PACKAGE_VERSION': '"' + meson.project_version() + '"',
'INCLUDEDIR': '"/usr/include"', 'INCLUDEDIR': '"/usr/include"',
'DLLDIR': '"/usr/lib/wine"', 'LIBDIR': '"/usr/lib"'
'BIN_TO_INCLUDEDIR': '"../include"',
'BIN_TO_DLLDIR': '"../lib/wine"'
}) })
widl = executable('widl', widl = executable('widl',
@ -31,6 +29,7 @@ widl = executable('widl',
'utils.c', 'utils.c',
'widl.c', 'widl.c',
'write_msft.c', 'write_msft.c',
'write_sltg.c',
'../wrc/wpp.c', '../wrc/wpp.c',
bison_gen.process('parser.y', '../wrc/ppy.y'), bison_gen.process('parser.y', '../wrc/ppy.y'),
flex_gen.process('parser.l', '../wrc/ppl.l'), flex_gen.process('parser.l', '../wrc/ppl.l'),

View File

@ -1,7 +1,7 @@
[wrap-file] [wrap-file]
directory = wine-9.0 directory = wine-10.0
patch_directory = wine-9.0 patch_directory = wine-10.0
source_filename = wine-9.0.tar.xz source_filename = wine-10.0.tar.xz
source_url = https://dl.winehq.org/wine/source/9.0/wine-9.0.tar.xz source_url = https://dl.winehq.org/wine/source/10.0/wine-10.0.tar.xz
source_hash = 7cfd090a5395f5b76d95bb5defac8a312c8de4c070c1163b8b58da38330ca6ee source_hash = c5e0b3f5f7efafb30e9cd4d9c624b85c583171d33549d933cd3402f341ac3601