subprojects/sqlite3.wrap: add SQLite wrap
This commit is contained in:
parent
fd82d67678
commit
3488a47c41
|
@ -1,5 +1,7 @@
|
||||||
if enable_database
|
if enable_database
|
||||||
sqlite_dep = dependency('sqlite3', version: '>= 3.7.3', required: get_option('sqlite'))
|
sqlite_dep = dependency('sqlite3', version: '>= 3.7.3',
|
||||||
|
fallback: ['sqlite3', 'sqlite3_dep'],
|
||||||
|
required: get_option('sqlite'))
|
||||||
else
|
else
|
||||||
sqlite_dep = dependency('', required: false)
|
sqlite_dep = dependency('', required: false)
|
||||||
endif
|
endif
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
/packagecache/
|
/packagecache/
|
||||||
|
|
||||||
/googletest-*/
|
/googletest-*/
|
||||||
|
/sqlite-*/
|
||||||
|
|
|
@ -0,0 +1,12 @@
|
||||||
|
[wrap-file]
|
||||||
|
directory = sqlite-amalgamation-3340100
|
||||||
|
source_url = https://www.sqlite.org/2021/sqlite-amalgamation-3340100.zip
|
||||||
|
source_filename = sqlite-amalgamation-3340100.zip
|
||||||
|
source_hash = e0b1c0345fe4338b936e17da8e1bd88366cd210e576834546977f040c12a8f68
|
||||||
|
patch_url = https://wrapdb.mesonbuild.com/v1/projects/sqlite3/3.34.1/1/get_zip
|
||||||
|
patch_filename = sqlite3-3.34.1-1-wrap.zip
|
||||||
|
patch_hash = cba9e47bdb4c02f88fadaae8deab357218d32562c6b86ce7ba0c72f107044360
|
||||||
|
|
||||||
|
[provide]
|
||||||
|
sqlite3 = sqlite3_dep
|
||||||
|
|
Loading…
Reference in New Issue