From debbugs-submit-bounces@debbugs.gnu.org Tue Jan 17 11:35:40 2023 Received: (at 59851) by debbugs.gnu.org; 17 Jan 2023 16:35:40 +0000 Received: from localhost ([127.0.0.1]:38075 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pHovz-00012C-LT for submit@debbugs.gnu.org; Tue, 17 Jan 2023 11:35:40 -0500 Received: from mail-vs1-f53.google.com ([209.85.217.53]:42946) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pHovx-00011y-7q for 59851@debbugs.gnu.org; Tue, 17 Jan 2023 11:35:38 -0500 Received: by mail-vs1-f53.google.com with SMTP id d66so20335592vsd.9 for <59851@debbugs.gnu.org>; Tue, 17 Jan 2023 08:35:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:user-agent:message-id:in-reply-to:date:references :subject:cc:to:from:from:to:cc:subject:date:message-id:reply-to; bh=idhRk1lIBSmy97NRkb8jfbQNVo/UUB/GU9hBGy6XbMg=; b=Q3g3jjXC8WadFWQD9ioReH4c6fXRVpVnPhSnt6+RQJzmItNgdxHEM/7UYisjCS2nMl Bu+Cs8NJBsnn7l5GaqA2kAkN0UWZmIcAYyd1SfaZF/MdlatNVPMWeMC/zJkX9VJF2vPi a1R/4u/hQC2uWYPHaUyGDmh7axMo6QSOMQ0d7E9RCY/flut2j5bPNYid3b0aOITxybUI iI0/ca0DDOlog4eQxqXI9jw3b7ek7M818iIdBAYDKKVDvL2+d3zx9Gep0JMRGpXYdYZn TBTMFAKOsmFBYdCskjwziFdrIG6lBT5VgI3KpsQ/PI6vzfo9UfTmndrt17jYTMD2ufKm kaVQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=mime-version:user-agent:message-id:in-reply-to:date:references :subject:cc:to:from:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=idhRk1lIBSmy97NRkb8jfbQNVo/UUB/GU9hBGy6XbMg=; b=nMomqhU+yPhw7CfqdCcxOA4m1CmeYPx9CMCuwpVucjbf4l0ufiGDBsfku5zPq9ZRia Z9hCqLNv+BS/I+Xk+kchA4Vk5zm9a9VkxSLXcdyoPTUDCj7OgYj/0koOS9mXOCAKd4kN cVjPunx+IBbM7ppuE8FSxLlgdm6Gd2BI0Or6WYSiCIZFh5G1nbMOVpIphDo+sR+hvBh/ d0cxwiuewmCP0oyryQ5FZrUIUTmWS3hhoaCXRvgoP/+xg3EvCDLCElmQ/QaRBnhRNd2V wQYawQR9r6+Cjv3JVwXmhE+dozKACRDXgK7IkpBaAkdlHByiRqESgeNvPMWBFH5wuNBk DWRA== X-Gm-Message-State: AFqh2kqpj0DzzIoKvEZQR105LEYgcWZ7D2FV8iytlnNuq8WWkE5WsqGn u4Q3+3Pbpv5nYeSRlYux7lpCjOd3K23nA8sJ X-Google-Smtp-Source: AMrXdXti3neIxFO4ZbYHh6JiwLB72zexm+BVnOGcbuCSp3Gh7RZNAr2Ul+bCKRDJEzSDEaX/4xWoBg== X-Received: by 2002:a67:43c1:0:b0:3b1:383a:d463 with SMTP id q184-20020a6743c1000000b003b1383ad463mr1447245vsa.1.1673973331302; Tue, 17 Jan 2023 08:35:31 -0800 (PST) Received: from hurd (dsl-205-233-125-107.b2b2c.ca. [205.233.125.107]) by smtp.gmail.com with ESMTPSA id bi27-20020a05620a319b00b00706a1551428sm1051703qkb.6.2023.01.17.08.35.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 17 Jan 2023 08:35:30 -0800 (PST) From: Maxim Cournoyer To: phodina Subject: Re: bug#59851: Add Moonlight References: <87cz7e8nlw.fsf@gmail.com> Date: Tue, 17 Jan 2023 11:35:29 -0500 In-Reply-To: (phodina@protonmail.com's message of "Tue, 17 Jan 2023 08:07:14 +0000") Message-ID: <878ri115m6.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 59851 Cc: 59851@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Hi Petr, phodina writes: > From a18528bd178c177f50e73de4b89ccbf758ab1774 Mon Sep 17 00:00:00 2001 > From: Petr Hodina > Date: Sat, 3 Dec 2022 10:36:38 +0100 > Subject: [PATCH v2 6/6] gnu: Add moonlight-qt. > > * gnu/packages/games.scm (moonlight-qt): New variable. > > diff --git a/gnu/packages/games.scm b/gnu/packages/games.scm > index 5f5bd8795e..6600c1ee60 100644 > --- a/gnu/packages/games.scm > +++ b/gnu/packages/games.scm > @@ -5841,6 +5841,66 @@ (define-public bambam > colors, pictures, and sounds.") > (license license:gpl3+))) > > +(define-public moonlight-qt > + (package > + (name "moonlight-qt") > + (version "3.1.4") > + (source (origin > + (method git-fetch) > + (uri (git-reference > + (url "https://github.com/moonlight-stream/moonlight-qt") > + (commit (string-append "v" version)))) > + (file-name (git-file-name name version)) > + (sha256 > + (base32 > + "02y2rbiiawhj1dvgxdaz8k9kpz6zkv20zsk17fbqj8259m3g5xr5")))) > + (build-system qt-build-system) > + (arguments > + (list #:tests? #f ;no test suite > + #:phases #~(modify-phases %standard-phases > + (replace 'configure > + (lambda* _ > + (symlink (string-append #$(this-package-input > + "sdl-gamecontrollerdb") > + "/gamecontrollerdb.txt") > + "app/SDL_GameControllerDB/gamecontrollerdb.txt") > + (substitute* "moonlight-qt.pro" > + (("moonlight-common-c \\\\") > + "#moonlight-common-c \\") > + (("qmdnsengine \\\\") > + "#qmdnsengine \\") > + (("app \\\\") > + "app") > + (("app.depends") > + "INCLUDEPATH +=") > + (("h264bitstream \\\\") > + "#h264bitstream \\")) > + (invoke "qmake" > + (string-append "PREFIX=" > + #$output))))))) The above could benefit from a comment explaining what this is about (mostly unbundling libraries, it seems). > + (native-inputs (list pkg-config qttools-5)) > + (inputs (list ffmpeg > + h264bitstream > + libva > + libvdpau > + moonlight-common > + openssl > + opus > + qmdnsengine > + qtbase-5 > + qtdeclarative-5 > + qtquickcontrols2-5 > + qtsvg-5 > + sdl2 > + sdl2-ttf > + sdl-gamecontrollerdb)) > + (synopsis "GameStream client") > + (description > + "Moonlight is an open source implementation of NVIDIA's GameStream, as > +used by the NVIDIA Shield.") There's no need to use 'open source' or similar adjective in Guix, as this is already implied for the whole collection of software offered. Thank you, and apologies for sending my comments in multiple small chunks. -- Thanks, Maxim