aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/databases.scm
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2022-01-26 13:28:39 +0200
committerEfraim Flashner <efraim@flashner.co.il>2022-01-26 13:29:30 +0200
commit1898b8386b6a5f235b716c6fb7c34775bda88861 (patch)
treecceac75a5fc688016da1dcdf46a28fa952418805 /gnu/packages/databases.scm
parent9183b8142b43082fee55a2730399243dea47ad0a (diff)
downloadguix-1898b8386b6a5f235b716c6fb7c34775bda88861.tar
guix-1898b8386b6a5f235b716c6fb7c34775bda88861.tar.gz
gnu: sqlitebrowser: Unbundle qscintilla.
* gnu/packages/databases.scm (sqlitebrowser)[source]: Add snippet. [arguments]: Add configure-flag to find qscintilla include directory. [inputs]: Add qscintilla.
Diffstat (limited to 'gnu/packages/databases.scm')
-rw-r--r--gnu/packages/databases.scm15
1 files changed, 12 insertions, 3 deletions
diff --git a/gnu/packages/databases.scm b/gnu/packages/databases.scm
index 22224178ed..1bdee6092b 100644
--- a/gnu/packages/databases.scm
+++ b/gnu/packages/databases.scm
@@ -4333,17 +4333,26 @@ a Gtk.Grid Widget.")
(uri (git-reference
(url "https://github.com/sqlitebrowser/sqlitebrowser")
(commit (string-append "v" version))))
+ (file-name (git-file-name name version))
(sha256
(base32 "1ljqzcx388mmni8lv9jz5r58alhsjrrqi4nzjnbfki94rn4ray6z"))
- (file-name (git-file-name name version))))
+ (modules '((guix build utils)))
+ (snippet
+ '(begin
+ (delete-file-recursively "libs/qcustomplot-source/")
+ (delete-file-recursively "libs/qscintilla")))))
(build-system qt-build-system)
(arguments
(list #:tests? #f ; no tests
#:configure-flags
- ;; TODO: Unbundle QHexEdit, QScintilla.
- #~(list "-DFORCE_INTERNAL_QCUSTOMPLOT=OFF")))
+ ;; TODO: Unbundle QHexEdit.
+ #~(list (string-append "-DQSCINTILLA_INCLUDE_DIR="
+ #$(this-package-input "qscintilla")
+ "/include/Qsci")
+ "-DFORCE_INTERNAL_QCUSTOMPLOT=OFF")))
(inputs
(list qcustomplot
+ qscintilla
qtbase-5
sqlite))
(native-inputs (list qttools))