[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
10/21: gnu: libepoxy: Use new style.
From: |
guix-commits |
Subject: |
10/21: gnu: libepoxy: Use new style. |
Date: |
Thu, 23 Jun 2022 13:56:43 -0400 (EDT) |
mbakke pushed a commit to branch staging
in repository guix.
commit 2692624ecfcd5e509df9704cfd38b167a8eb5692
Author: Marius Bakke <marius@gnu.org>
AuthorDate: Thu Jun 23 19:10:12 2022 +0200
gnu: libepoxy: Use new style.
* gnu/packages/gl.scm (libepoxy)[arguments]: Use gexp and remove labels.
While at it, remove obsolete substitution.
---
gnu/packages/gl.scm | 21 ++++++++++-----------
1 file changed, 10 insertions(+), 11 deletions(-)
diff --git a/gnu/packages/gl.scm b/gnu/packages/gl.scm
index 3a57af44a5..4ee5f85b32 100644
--- a/gnu/packages/gl.scm
+++ b/gnu/packages/gl.scm
@@ -68,6 +68,7 @@
#:use-module (guix build-system waf)
#:use-module ((guix licenses) #:prefix license:)
#:use-module (guix packages)
+ #:use-module (guix gexp)
#:use-module (guix utils)
#:use-module (ice-9 match)
#:use-module ((srfi srfi-1) #:hide (zip)))
@@ -727,17 +728,15 @@ OpenGL graphics API.")
(base32
"0jw02bzdwynyrwsn5rhcacv92h9xx928j3xp436f8gdnwlyb5641"))))
(arguments
- '(#:phases
- (modify-phases %standard-phases
- (add-before 'configure 'patch-paths
- (lambda* (#:key inputs #:allow-other-keys)
- (let ((python (assoc-ref inputs "python"))
- (mesa (assoc-ref inputs "mesa")))
- (substitute* "src/gen_dispatch.py"
- (("/usr/bin/env python") python))
- (substitute* (find-files "." "\\.[ch]$")
- (("libGL.so.1") (string-append mesa "/lib/libGL.so.1"))
- (("libEGL.so.1") (string-append mesa
"/lib/libEGL.so.1")))))))))
+ (list
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-before 'configure 'patch-paths
+ (lambda* (#:key inputs #:allow-other-keys)
+ (let ((mesa (dirname (search-input-file inputs "lib/libGL.so"))))
+ (substitute* (find-files "." "\\.[ch]$")
+ (("libGL.so.1") (string-append mesa "/libGL.so.1"))
+ (("libEGL.so.1") (string-append mesa "/libEGL.so.1")))))))))
(build-system meson-build-system)
(native-inputs
(list pkg-config python))
- branch staging created (now 6c7fcc71d1), guix-commits, 2022/06/23
- 01/21: gnu: libva: Update to 2.14.0., guix-commits, 2022/06/23
- 02/21: gnu: libva: Use G-expressions., guix-commits, 2022/06/23
- 04/21: gnu: python-sphinx: Update to 5.0.2., guix-commits, 2022/06/23
- 09/21: gnu: libepoxy: Update to 1.5.10., guix-commits, 2022/06/23
- 06/21: gnu: python-requests: Update to 2.28.0., guix-commits, 2022/06/23
- 14/21: gnu: bluez: Simplify inputs., guix-commits, 2022/06/23
- 11/21: gnu: libwebp: Update to 1.2.2., guix-commits, 2022/06/23
- 03/21: gnu: python-babel: Update to 2.10.3., guix-commits, 2022/06/23
- 10/21: gnu: libepoxy: Use new style.,
guix-commits <=
- 08/21: gnu: python-charset-normalizer: Update to 2.1.0., guix-commits, 2022/06/23
- 20/21: gnu: Remove postgresql@13 replacement., guix-commits, 2022/06/23
- 16/21: gnu: freeglut: Update to 3.2.2., guix-commits, 2022/06/23
- 12/21: gnu: libwebp: Simplify inputs., guix-commits, 2022/06/23
- 18/21: gnu: glu: Update to 9.0.2., guix-commits, 2022/06/23
- 07/21: gnu: python-urllib3: Update to 1.26.9., guix-commits, 2022/06/23
- 13/21: gnu: bluez: Update to 5.64., guix-commits, 2022/06/23
- 21/21: gnu: qtbase: Build with PostgreSQL@14., guix-commits, 2022/06/23
- 19/21: gnu: libinput: Update to 1.19.4., guix-commits, 2022/06/23
- 15/21: gnu: bluez: Use new style., guix-commits, 2022/06/23