diff options
author | André Batista <nandre@riseup.net> | 2025-03-08 15:19:15 -0300 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2025-04-02 20:50:13 +0200 |
commit | da90b05952881129ffefbfc1977f09ec5eea41d1 (patch) | |
tree | 28a274eea3ddbf17f27fba0f9d5f361200219454 /gnu/packages/kodi.scm | |
parent | bdf8ae6ebe128c6511fb1111ae334b54c7f168db (diff) |
gnu: crossguid: Update to ca1bf4b810e2d188d04cb6286f957008ee1b7681.
* gnu/packages/kodi.scm (crossguid): Update to
ca1bf4b810e2d188d04cb6286f957008ee1b7681, revision 3.
[build-system]: Change to cmake-build-system.
[argument] <#:phases>: Remove it, use defaults.
<#:tests?>: Set to false, as there are no tests.
Change-Id: I183ab953b0fb1092efbd7d17b0d3bfe2394cfe43
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
Diffstat (limited to 'gnu/packages/kodi.scm')
-rw-r--r-- | gnu/packages/kodi.scm | 31 |
1 files changed, 5 insertions, 26 deletions
diff --git a/gnu/packages/kodi.scm b/gnu/packages/kodi.scm index 589fb386ab..8abe71ccb1 100644 --- a/gnu/packages/kodi.scm +++ b/gnu/packages/kodi.scm @@ -90,8 +90,8 @@ #:use-module (gnu packages assembly)) (define-public crossguid - (let ((commit "fef89a4174a7bf8cd99fa9154864ce9e8e3bf989") - (revision "2")) + (let ((commit "ca1bf4b810e2d188d04cb6286f957008ee1b7681") + (revision "3")) (package (name "crossguid") (version (string-append "0.0-" revision "." (string-take commit 7))) @@ -104,31 +104,10 @@ (file-name (string-append name "-" version "-checkout")) (sha256 (base32 - "1blrkc7zcqrqcr5msvhyhm98s2jvm9hr0isqs4288q2r4mdnrfq0")))) - (build-system gnu-build-system) + "1x3jc4q6di79x3nlx36394s03yv1j1j5k0x6zljyk5iq78y4mfyz")))) + (build-system cmake-build-system) (arguments - '(#:phases - (modify-phases %standard-phases - (delete 'configure) ; no configure script - (replace 'build - (lambda _ - (invoke "g++" "-c" "guid.cpp" "-o" "guid.o" - "-DGUID_LIBUUID") - (invoke "ar" "rvs" "libcrossguid.a" "guid.o"))) - (replace 'check - (lambda _ - (invoke "g++" "-c" "test.cpp" "-o" "test.o") - (invoke "g++" "-c" "testmain.cpp" "-o" "testmain.o") - (invoke "g++" "test.o" "guid.o" "testmain.o" - "-o" "test" "-luuid") - (invoke (string-append (getcwd) "/test")))) - (replace 'install - (lambda* (#:key outputs #:allow-other-keys) - (let ((out (assoc-ref outputs "out"))) - (install-file "guid.h" (string-append out "/include")) - (install-file "libcrossguid.a" - (string-append out "/lib")) - #t)))))) + '(#:tests? #f)) (inputs `(("libuuid" ,util-linux "lib"))) (synopsis "Lightweight universal identifier library") |