mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-26 22:38:07 -05:00
gnu: Add sqlite-with-fts3.
* gnu/packages/databases.scm (sqlite-with-fts3): New variable. Co-authored-by: Pierre Langlois <pierre.langlois@gmx.com>
This commit is contained in:
parent
de98f4ed55
commit
6a23c8b183
1 changed files with 16 additions and 0 deletions
|
@ -20,6 +20,8 @@
|
||||||
;;; Copyright © 2017 Alex Vong <alexvong1995@gmail.com>
|
;;; Copyright © 2017 Alex Vong <alexvong1995@gmail.com>
|
||||||
;;; Copyright © 2017 Ben Woodcroft <donttrustben@gmail.com>
|
;;; Copyright © 2017 Ben Woodcroft <donttrustben@gmail.com>
|
||||||
;;; Copyright © 2017 Rutger Helling <rhelling@mykolab.com>
|
;;; Copyright © 2017 Rutger Helling <rhelling@mykolab.com>
|
||||||
|
;;; Copyright © 2017 Pierre Langlois <pierre.langlois@gmx.com>
|
||||||
|
;;; Copyright © 2017 Ricardo Wurmus <rekado@elephly.net>
|
||||||
;;;
|
;;;
|
||||||
;;; This file is part of GNU Guix.
|
;;; This file is part of GNU Guix.
|
||||||
;;;
|
;;;
|
||||||
|
@ -934,6 +936,20 @@ (define-public sqlite
|
||||||
is in the public domain.")
|
is in the public domain.")
|
||||||
(license license:public-domain)))
|
(license license:public-domain)))
|
||||||
|
|
||||||
|
;; This is used by Clementine.
|
||||||
|
(define-public sqlite-with-fts3
|
||||||
|
(package (inherit sqlite)
|
||||||
|
(name "sqlite-with-fts3")
|
||||||
|
(arguments
|
||||||
|
(substitute-keyword-arguments (package-arguments sqlite)
|
||||||
|
((#:configure-flags flags)
|
||||||
|
`(list (string-append "CFLAGS=-O2 -DSQLITE_SECURE_DELETE "
|
||||||
|
"-DSQLITE_ENABLE_UNLOCK_NOTIFY "
|
||||||
|
"-DSQLITE_ENABLE_DBSTAT_VTAB "
|
||||||
|
"-DSQLITE_ENABLE_FTS3 "
|
||||||
|
"-DSQLITE_ENABLE_FTS3_PARENTHESIS "
|
||||||
|
"-DSQLITE_ENABLE_FTS3_TOKENIZER")))))))
|
||||||
|
|
||||||
(define-public tdb
|
(define-public tdb
|
||||||
(package
|
(package
|
||||||
(name "tdb")
|
(name "tdb")
|
||||||
|
|
Loading…
Reference in a new issue