From 4a5735b726dc7f438cb256155cd6069d6e789231 Mon Sep 17 00:00:00 2001 From: Hilton Chain Date: Fri, 13 Dec 2024 21:13:18 +0800 Subject: [PATCH] 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 62ee135b790e0ea15c35ab6c083b50c737609cee..f6f3b370eefbda7b342670a1a6fcf52e49b1e3e7 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