84ac716972
Meson port instead of using CMake as I ran into issues with the src directory (where uchardet.h is located) not being appended to the include path, and on Windows I ran into a Meson issue where a -D macro definition was being interpreted as a filename. In the end a Meson port seemed simpler than working out the CMake issues, as the CMakeLists.txt files were straightforward and easy to port. Note that because of the directory structure of the uchardet source I had to change the include directive from uchardet/uchardet.h to just uchardet.h. This is actually more in line with the uchardet pkg-config file, which appends /usr/include/uchardet to the include path.
9 lines
311 B
Text
9 lines
311 B
Text
[wrap-file]
|
|
directory = uchardet-0.0.7
|
|
source_url = https://www.freedesktop.org/software/uchardet/releases/uchardet-0.0.7.tar.xz
|
|
source_filename = uchardet-0.0.7.tar.gz
|
|
source_hash = 3fc79408ae1d84b406922fa9319ce005631c95ca0f34b205fad867e8b30e45b1
|
|
patch_directory = uchardet
|
|
|
|
[provides]
|
|
uchardet = uchardet_dep
|