From b74e858b14c17901f6f1aa0b0285fbbf7369703e Mon Sep 17 00:00:00 2001 From: Ekaitz Zarraga Date: Wed, 15 Nov 2023 20:57:38 +0100 Subject: ahotts: fix original package and use proper vars --- ahotts.scm | 13 +++++++------ 1 file 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") -- cgit v1.2.3