From 6a23c8b183371678d61c5a324b2922564d505212 Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Wed, 25 Oct 2017 14:58:28 +0200 Subject: gnu: Add sqlite-with-fts3. * gnu/packages/databases.scm (sqlite-with-fts3): New variable. Co-authored-by: Pierre Langlois --- gnu/packages/databases.scm | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) (limited to 'gnu') diff --git a/gnu/packages/databases.scm b/gnu/packages/databases.scm index 991bb3d692..c2b5add392 100644 --- a/gnu/packages/databases.scm +++ b/gnu/packages/databases.scm @@ -20,6 +20,8 @@ ;;; Copyright © 2017 Alex Vong ;;; Copyright © 2017 Ben Woodcroft ;;; Copyright © 2017 Rutger Helling +;;; Copyright © 2017 Pierre Langlois +;;; Copyright © 2017 Ricardo Wurmus ;;; ;;; This file is part of GNU Guix. ;;; @@ -934,6 +936,20 @@ widely deployed SQL database engine in the world. The source code for SQLite is in the 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 (package (name "tdb") -- cgit v1.2.3