Browse Source

add libyaml wrap fallback

master
Alexandros Theodotou 6 months ago
parent
commit
8f1bbd1b95
Signed by: alex
GPG Key ID: 022EAE42313D70F3
  1. 6
      meson.build
  2. 12
      subprojects/libyaml.wrap
  3. BIN
      subprojects/packagecache/libyaml_0.2.5-1_patch.zip
  4. BIN
      subprojects/packagecache/yaml-0.2.5.tar.gz

6
meson.build

@ -35,10 +35,8 @@ cargs = [ @@ -35,10 +35,8 @@ cargs = [
]
yaml_dep = dependency (
'yaml-0.1', required: false)
if not yaml_dep.found ()
yaml_dep = cc.find_library ('yaml')
endif
'yaml-0.1',
fallback: ['libyaml', 'yaml_dep'])
zrythm_cyaml_inc = [
include_directories ('include'),

12
subprojects/libyaml.wrap

@ -0,0 +1,12 @@ @@ -0,0 +1,12 @@
[wrap-file]
directory = yaml-0.2.5
source_url = https://pyyaml.org/download/libyaml/yaml-0.2.5.tar.gz
source_filename = yaml-0.2.5.tar.gz
source_hash = c642ae9b75fee120b2d96c712538bd2cf283228d2337df2cf2988e3c02678ef4
patch_filename = libyaml_0.2.5-1_patch.zip
patch_url = https://wrapdb.mesonbuild.com/v2/libyaml_0.2.5-1/get_patch
patch_hash = bf2e9b922be00b6b00c5fce29d9fb8dc83f0431c77239f3b73e8b254d3f3f5b5
[provide]
yaml-0.1 = yaml_dep

BIN
subprojects/packagecache/libyaml_0.2.5-1_patch.zip vendored

Binary file not shown.

BIN
subprojects/packagecache/yaml-0.2.5.tar.gz vendored

Binary file not shown.
Loading…
Cancel
Save