diff options
author | Simon South <simon@simonsouth.net> | 2023-09-07 12:37:57 -0400 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2023-09-14 23:37:19 +0200 |
commit | 6c4868aca9e098fd7c830ba681ae0735aa752bdd (patch) | |
tree | 2dc94f188c7866cd4117579be772598c2a28e257 /gnu/packages/libftdi.scm | |
parent | 856eeedcbc65add655a40878ebed81aecd44a377 (diff) |
gnu: libftdi: Update to 1.5.
* gnu/packages/patches/libftdi-fix-paths-when-FTDIPP-set.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.
* gnu/packages/libftdi.scm (libftdi): Update to 1.5.
[source]: Apply patch.
[arguments]<#:configure-flags>: Add "-DFTDIPP", "-DPYTHON_BINDINGS".
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
Diffstat (limited to 'gnu/packages/libftdi.scm')
-rw-r--r-- | gnu/packages/libftdi.scm | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/gnu/packages/libftdi.scm b/gnu/packages/libftdi.scm index 773b0ec73ec..bdfc635379d 100644 --- a/gnu/packages/libftdi.scm +++ b/gnu/packages/libftdi.scm @@ -37,7 +37,7 @@ (define-public libftdi (package (name "libftdi") - (version "1.4") + (version "1.5") (source (origin (method url-fetch) (uri (string-append @@ -45,7 +45,9 @@ "libftdi1-" version ".tar.bz2")) (sha256 (base32 - "0x0vncf6i92slgrn0h7ghkskqbglbs534220qa84d0qg114zndpc")))) + "0jdh5r499wbz83vmpskczq5m3cfc1mcv8xqisj5i95k1r3lr2w3w")) + (patches + (search-patches "libftdi-fix-paths-when-FTDIPP-set.patch")))) (build-system cmake-build-system) (outputs '("out" "python")) (arguments @@ -54,7 +56,9 @@ #~(list (string-append "-DCMAKE_INSTALL_DOCDIR=" #$output "/share/doc/" #$name "-" #$version) "-DEXAMPLES=OFF" - "-DLIB_SUFFIX=''") ; place libraries in /lib, not /lib64 + "-DFTDIPP=ON" + "-DLIB_SUFFIX=''" ; place libraries in /lib, not /lib64 + "-DPYTHON_BINDINGS=ON") #:phases #~(modify-phases %standard-phases (add-after 'install 'install-python-binding |