gnu: Add sqlite-with-fts5.

* gnu/packages/databases.scm (sqlite-with-fts5): New variable.
This commit is contained in:
Mark H Weaver 2018-01-28 00:21:07 -05:00
parent c3753f3803
commit b9ed5ef3fb
No known key found for this signature in database
GPG Key ID: 7CEF29847562C516
1 changed files with 10 additions and 1 deletions

View File

@ -3,7 +3,7 @@
;;; Copyright © 2012, 2013, 2014, 2015, 2016 Andreas Enge <andreas@enge.fr> ;;; Copyright © 2012, 2013, 2014, 2015, 2016 Andreas Enge <andreas@enge.fr>
;;; Copyright © 2013, 2017 Cyril Roelandt <tipecaml@gmail.com> ;;; Copyright © 2013, 2017 Cyril Roelandt <tipecaml@gmail.com>
;;; Copyright © 2014, 2016 David Thompson <davet@gnu.org> ;;; Copyright © 2014, 2016 David Thompson <davet@gnu.org>
;;; Copyright © 2014, 2015, 2016 Mark H Weaver <mhw@netris.org> ;;; Copyright © 2014, 2015, 2016, 2018 Mark H Weaver <mhw@netris.org>
;;; Copyright © 2014, 2015 Eric Bavier <bavier@member.fsf.org> ;;; Copyright © 2014, 2015 Eric Bavier <bavier@member.fsf.org>
;;; Copyright © 2015, 2016 Sou Bunnbu <iyzsong@gmail.com> ;;; Copyright © 2015, 2016 Sou Bunnbu <iyzsong@gmail.com>
;;; Copyright © 2015 Leo Famulari <leo@famulari.name> ;;; Copyright © 2015 Leo Famulari <leo@famulari.name>
@ -979,6 +979,15 @@ widely deployed SQL database engine in the world. The source code for SQLite
is in the public domain.") is in the public domain.")
(license license:public-domain))) (license license:public-domain)))
;; This is used by Tracker.
(define-public sqlite-with-fts5
(package (inherit sqlite)
(name "sqlite-with-fts5")
(arguments
(substitute-keyword-arguments (package-arguments sqlite)
((#:configure-flags flags)
`(cons "--enable-fts5" ,flags))))))
;; This is used by Clementine. ;; This is used by Clementine.
(define-public sqlite-with-fts3 (define-public sqlite-with-fts3
(package (inherit sqlite) (package (inherit sqlite)