sqlite: enable FTS5 engine, enhanced queries for previous versions (#6051)
This enables the new FTS5 engine. For previous versions, this also enables the enhanced query syntax.
This commit is contained in:
parent
0a916c502c
commit
167168ed1c
|
@ -5,7 +5,7 @@ revision=2
|
|||
_amalgamationver=$(printf "%d%02d%02d00\n" ${version//./ })
|
||||
wrksrc="sqlite-autoconf-${_amalgamationver}"
|
||||
build_style=gnu-configure
|
||||
configure_args="--enable-threadsafe --enable-readline --enable-dynamic-extensions"
|
||||
configure_args="--enable-threadsafe --enable-readline --enable-dynamic-extensions --enable-fts5"
|
||||
makedepends="libedit-devel"
|
||||
short_desc="SQL Database Engine in a C Library"
|
||||
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
||||
|
@ -14,7 +14,7 @@ license="Public Domain"
|
|||
distfiles="http://sqlite.org/2017/sqlite-autoconf-${_amalgamationver}.tar.gz"
|
||||
checksum=a4e485ad3a16e054765baf6371826b5000beed07e626510896069c0bf013874c
|
||||
|
||||
CFLAGS="-DSQLITE_ENABLE_DBSTAT_VTAB -DSQLITE_ENABLE_COLUMN_METADATA -DSQLITE_ENABLE_UNLOCK_NOTIFY -DSQLITE_SECURE_DELETE -DSQLITE_ENABLE_JSON1"
|
||||
CFLAGS="-DSQLITE_ENABLE_DBSTAT_VTAB -DSQLITE_ENABLE_COLUMN_METADATA -DSQLITE_ENABLE_UNLOCK_NOTIFY -DSQLITE_SECURE_DELETE -DSQLITE_ENABLE_JSON1 -DSQLITE_ENABLE_FTS3 -DSQLITE_ENABLE_FTS3_PARENTHESIS"
|
||||
# explicitly enable fdatasync
|
||||
CFLAGS+=" -DHAVE_FDATASYNC"
|
||||
disable_parallel_build=yes
|
||||
|
|
Loading…
Reference in New Issue