From 9c3feb3773ac9af09db3815b6410ce565f9cf70c Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Sun, 1 Dec 2024 09:04:21 +0200 Subject: gnu: xorgxrdp: Only build with nasm on necessary platforms. * gnu/packages/rdesktop.scm (xorgxrdp)[native-inputs]: Only include nasm on platforms which need it. Change-Id: I00778cf4b53776754525d42e0586076d4f2be61b --- gnu/packages/rdesktop.scm | 20 ++++++++++++-------- 1 file changed, 12 insertions(+), 8 deletions(-) diff --git a/gnu/packages/rdesktop.scm b/gnu/packages/rdesktop.scm index 8024156417..23a950dad3 100644 --- a/gnu/packages/rdesktop.scm +++ b/gnu/packages/rdesktop.scm @@ -2,7 +2,7 @@ ;;; Copyright © 2015 Ludovic Courtès ;;; Copyright © 2017 Thomas Danckaert ;;; Copyright © 2018, 2020 Tobias Geerinckx-Rice -;;; Copyright © 2018 Efraim Flashner +;;; Copyright © 2018, 2024 Efraim Flashner ;;; Copyright © 2019 Leo Famulari ;;; Copyright © 2019 Eric Bavier ;;; Copyright © 2023 Maxim Cournoyer @@ -255,13 +255,17 @@ variety of RDP clients: xdpyinfo xorg-server xrdp)) - (native-inputs (list autoconf - automake - intltool - libtool - nasm - pkg-config - pixman)) + (native-inputs + (append + (list autoconf + automake + intltool + libtool) + (if (target-x86?) + (list nasm) + '()) + (list pkg-config + pixman))) (arguments (list #:configure-flags #~(list "--enable-strict-locations=yes" (string-append "XRDP_CFLAGS=-I" -- cgit v1.2.3