hako pushed a commit to branch master
in repository guix.
commit 4a5735b726dc7f438cb256155cd6069d6e789231
Author: Hilton Chain <[email protected]>
AuthorDate: Fri Dec 13 21:13:18 2024 +0800
gnu: eglexternalplatform: Update to 1.2.
* gnu/packages/xorg.scm (eglexternalplatform): Update to 1.2.
[build-system]: Switch to meson-build-system.
Change-Id: I8fcc3155b3f2897a679c79084b1eedb7947e57ab
---
gnu/packages/xorg.scm | 30 +++---------------------------
1 file changed, 3 insertions(+), 27 deletions(-)
diff --git a/gnu/packages/xorg.scm b/gnu/packages/xorg.scm
index 62ee135b79..f6f3b370ee 100644
--- a/gnu/packages/xorg.scm
+++ b/gnu/packages/xorg.scm
@@ -5296,7 +5296,7 @@ draggable titlebars and borders.")
(define-public eglexternalplatform
(package
(name "eglexternalplatform")
- (version "1.1")
+ (version "1.2")
(source
(origin
(method git-fetch)
@@ -5307,32 +5307,8 @@ draggable titlebars and borders.")
(file-name
(git-file-name name version))
(sha256
- (base32 "0lr5s2xa1zn220ghmbsiwgmx77l156wk54c7hybia0xpr9yr2nhb"))))
- (build-system copy-build-system)
- (arguments
- `(#:phases
- (modify-phases %standard-phases
- (add-after 'unpack 'patch-pkgconfig
- (lambda* (#:key outputs #:allow-other-keys)
- (substitute* "eglexternalplatform.pc"
- (("/usr")
- (assoc-ref outputs "out")))))
- (add-after 'install 'revise
- (lambda* (#:key outputs #:allow-other-keys)
- (let* ((out (assoc-ref outputs "out")))
- (mkdir-p (string-append out "/include/EGL"))
- (rename-file
- (string-append out "/interface")
- (string-append out "/include/EGL"))
- (mkdir-p (string-append out "/share/pkgconfig"))
- (rename-file
- (string-append out "/eglexternalplatform.pc")
- (string-append out "/share/pkgconfig/eglexternalplatform.pc"))
- (for-each delete-file-recursively
- (list
- (string-append out "/samples")
- (string-append out "/COPYING")
- (string-append out "/README.md")))))))))
+ (base32 "1cq8j2ymjpxpdcwnmcj0h5fgi3i1l8hns3vgw10rigwljrmn8ixp"))))
+ (build-system meson-build-system)
(synopsis "EGL External Platform interface")
(description "EGLExternalPlatform is an specification of the EGL External
Platform interface for writing EGL platforms and their interactions with modern