summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEkaitz Zarraga <ekaitz@elenq.tech>2023-11-15 20:57:38 +0100
committerEkaitz Zarraga <ekaitz@elenq.tech>2023-11-15 20:57:38 +0100
commitb74e858b14c17901f6f1aa0b0285fbbf7369703e (patch)
tree76fa13c4de47fccac015fe1cc21ea034fb18b897
parentf8cb1d0e27e9402b69d85d29bdff9c7f476f578e (diff)
ahotts: fix original package and use proper vars
-rw-r--r--ahotts.scm13
1 files changed, 7 insertions, 6 deletions
diff --git a/ahotts.scm b/ahotts.scm
index 546b819..9663f0a 100644
--- a/ahotts.scm
+++ b/ahotts.scm
@@ -1,5 +1,6 @@
(define-module (ahotts)
#:use-module (guix packages)
+ #:use-module (guix gexp)
#:use-module (guix git-download)
#:use-module (guix build-system cmake)
#:use-module ((guix licenses) #:prefix license:))
@@ -16,13 +17,13 @@
(commit version)))
(sha256
- (base32 "0hs2cndra9il1xqs0ja0ccsw7mwbg1slvzzvh3cxy7npdnk5n9f5"))))
+ (base32 "1ml21yik9fcmv1ynz9spvhb03rxy606iz1iih7sci1cnczjvqjvb"))))
(arguments
- `(#:tests? #f ;; Doesn't have tests
- #:phases
- (modify-phases %standard-phases
- (add-after 'unpack 'changedir
- (lambda _ (chdir "libhtts"))))))
+ (list
+ #:tests? #f
+ #:configure-flags
+ #~(list (string-append "-DCMAKE_INSTALL_DATADIR=" #$output "/share")
+ (string-append "-DCMAKE_INSTALL_INCLUDEDIR=" #$output "/include"))))
(build-system cmake-build-system)
(home-page "https://github.com/aholab/AhoTTS")
(synopsis "TTS for Basque and Spanish")