Skip to content

Commit

Permalink
cwalk 1.2.9
Browse files Browse the repository at this point in the history
  • Loading branch information
antoniovazquezblanco authored and neheb committed Jun 25, 2024
1 parent b295da1 commit 0e5b837
Show file tree
Hide file tree
Showing 3 changed files with 46 additions and 0 deletions.
8 changes: 8 additions & 0 deletions releases.json
Original file line number Diff line number Diff line change
Expand Up @@ -508,6 +508,14 @@
"8.0.1-1"
]
},
"cwalk": {
"dependency_names": [
"cwalk"
],
"versions": [
"1.2.9-1"
]
},
"cxxopts": {
"dependency_names": [
"cxxopts"
Expand Down
9 changes: 9 additions & 0 deletions subprojects/cwalk.wrap
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
[wrap-file]
directory = cwalk-1.2.9
source_url = https://github.com/likle/cwalk/archive/refs/tags/v1.2.9.tar.gz
source_filename = v1.2.9.tar.gz
source_hash = 54f160031687ec90a414e0656cf6266445207cb91b720dacf7a7c415d6bc7108
patch_directory = cwalk

[provide]
cwalk = cwalk_dep
29 changes: 29 additions & 0 deletions subprojects/packagefiles/cwalk/meson.build
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
project('cwalk', 'c',
license: 'MIT',
version: '1.2.9',
meson_version: '>= 0.57.0'
)

cwalk_inc = include_directories('include')

cwalk_c_args = []
if get_option('default_library') != 'static'
cwalk_c_args += '-DCWK_SHARED'
endif

cwalk = library('cwalk', 'src/cwalk.c',
install: true,
include_directories: cwalk_inc,
c_args: cwalk_c_args
)

install_headers('include/cwalk.h')

cwalk_dep = declare_dependency(include_directories: 'include', link_with: cwalk)

if get_option('ENABLE_TESTS')
subdir('test')
endif

pkg = import('pkgconfig')
pkg.generate(cwalk)

0 comments on commit 0e5b837

Please sign in to comment.