[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
10/15: gnu: mediasdk: Build reproducibly.
From: |
guix-commits |
Subject: |
10/15: gnu: mediasdk: Build reproducibly. |
Date: |
Thu, 11 Aug 2022 16:00:48 -0400 (EDT) |
mbakke pushed a commit to branch master
in repository guix.
commit 65501301080d44bc7a207273707aaf77e475573d
Author: Marius Bakke <marius@gnu.org>
AuthorDate: Thu Aug 11 18:34:25 2022 +0200
gnu: mediasdk: Build reproducibly.
* gnu/packages/video.scm (mediasdk)[arguments]: Add #:phases. Convert to
gexp
while at it.
---
gnu/packages/video.scm | 31 ++++++++++++++++++++-----------
1 file changed, 20 insertions(+), 11 deletions(-)
diff --git a/gnu/packages/video.scm b/gnu/packages/video.scm
index a44c986b46..6d0b5ccb58 100644
--- a/gnu/packages/video.scm
+++ b/gnu/packages/video.scm
@@ -352,17 +352,26 @@ efficiency.")
(base32 "18mrqringyv1drswm4m8ppw7sks6x4jzp6s0ag0h9hrpd15kn5rx"))))
(build-system cmake-build-system)
(arguments
- `(#:configure-flags
- (list
- "-DENABLE_X11=ON"
- "-DENABLE_X11_DRI3=ON"
- "-DENABLE_WAYLAND=ON"
- "-DENABLE_TEXTLOG=ON"
- "-DENABLE_STAT=ON"
- "-DBUILD_TESTS=ON"
- "-DBUILD_TOOLS=ON"
- (string-append "-DCMAKE_EXE_LINKER_FLAGS=-Wl,-rpath="
- (assoc-ref %outputs "out") "/lib"))))
+ (list
+ #:configure-flags
+ #~(list
+ "-DENABLE_X11=ON"
+ "-DENABLE_X11_DRI3=ON"
+ "-DENABLE_WAYLAND=ON"
+ "-DENABLE_TEXTLOG=ON"
+ "-DENABLE_STAT=ON"
+ "-DBUILD_TESTS=ON"
+ "-DBUILD_TOOLS=ON"
+ (string-append "-DCMAKE_EXE_LINKER_FLAGS=-Wl,-rpath="
+ #$output "/lib"))
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-after 'unpack 'do-not-embed-kernel-version
+ (lambda _
+ (substitute* "builder/FindGlobals.cmake"
+ (("set\\([[:blank:]]+?BUILD_INFO \"\\$\\{CMAKE_SYSTEM\\}\
+ \\$\\{CMAKE_SYSTEM_VERSION\\}")
+ "set( BUILD_INFO \"Linux")))))))
(native-inputs
(list pkg-config python-wrapper))
(inputs
- branch master updated (dd7a29faf3 -> 99b73f6041), guix-commits, 2022/08/11
- 01/15: gnu: python-pyicu: Update home page., guix-commits, 2022/08/11
- 05/15: gnu: libvirt: Remove input labels., guix-commits, 2022/08/11
- 04/15: gnu: libvirt, python-libvirt: Update to 8.6.0., guix-commits, 2022/08/11
- 07/15: gnu: python-libvirt: Add 'upstream-name' property., guix-commits, 2022/08/11
- 10/15: gnu: mediasdk: Build reproducibly.,
guix-commits <=
- 09/15: gnu: mediasdk: Remove input labels., guix-commits, 2022/08/11
- 06/15: gnu: libvirt: Use G-expression., guix-commits, 2022/08/11
- 02/15: gnu: python-pyicu: Update to 2.9., guix-commits, 2022/08/11
- 03/15: gnu: catch2@1: Adjust for glibc 2.34 and later., guix-commits, 2022/08/11
- 14/15: gnu: ntfs-3g: Add release-monitoring-url and upstream-name., guix-commits, 2022/08/11
- 13/15: gnu: openconnect-sso: Remove input labels., guix-commits, 2022/08/11
- 15/15: gnu: ntfs-3g: Update to 2022.5.17., guix-commits, 2022/08/11
- 11/15: gnu: folks: Update to 0.15.5., guix-commits, 2022/08/11
- 08/15: gnu: mediasdk: Update to 22.4.4., guix-commits, 2022/08/11
- 12/15: gnu: tracker: Update to 3.3.3., guix-commits, 2022/08/11