Skip to content

Commit d7119ba

Browse files
authored
GH-46679: [C++][Meson] Use WrapDB entry for gflags instead of CMake wrapper (#46680)
### Rationale for this change By using the wrapdb entry for gflags, we can use a Meson-native solution for wrapping that project without requiring CMake ### What changes are included in this PR? Switched to using the WrapDB entry for gflags ### Are these changes tested? Yes ### Are there any user-facing changes? No * GitHub Issue: #46679 Authored-by: Will Ayd <[email protected]> Signed-off-by: Sutou Kouhei <[email protected]>
1 parent 3747a29 commit d7119ba

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

cpp/subprojects/gflags.wrap

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,11 @@ source_url = https://github.com/gflags/gflags/archive/refs/tags/v2.2.2.tar.gz
2020
source_filename = gflags-2.2.2.tar.gz
2121
source_hash = 34af2f15cf7367513b352bdcd2493ab14ce43692d2dcd9dfc499492966c64dcf
2222
directory = gflags-2.2.2
23-
method = cmake
23+
patch_filename = gflags_2.2.2-1_patch.zip
24+
patch_url = https://wrapdb.mesonbuild.com/v2/gflags_2.2.2-1/get_patch
25+
patch_hash = 7988220486c98f2749db713b204ee6c009be04b67932783ffad7acdf3e334f19
26+
source_fallback_url = https://github.com/mesonbuild/wrapdb/releases/download/gflags_2.2.2-1/gflags-2.2.2.tar.gz
27+
wrapdb_version = 2.2.2-1
2428

2529
[provide]
26-
gflags = gflags_static_dep
30+
gflags = gflags_dep

0 commit comments

Comments
 (0)