From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id QJ1JGofOxmPKWgAAbAwnHQ (envelope-from ) for ; Tue, 17 Jan 2023 17:36:23 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id SJEvGofOxmPoFgAA9RJhRA (envelope-from ) for ; Tue, 17 Jan 2023 17:36:23 +0100 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id F3F18298C4 for ; Tue, 17 Jan 2023 17:36:22 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pHowY-0002A4-6t; Tue, 17 Jan 2023 11:36:14 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pHowM-00021S-Ea for guix-patches@gnu.org; Tue, 17 Jan 2023 11:36:02 -0500 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pHowM-0007kQ-4P for guix-patches@gnu.org; Tue, 17 Jan 2023 11:36:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pHowL-00012k-Kz for guix-patches@gnu.org; Tue, 17 Jan 2023 11:36:01 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#59851] Add Moonlight Resent-From: Maxim Cournoyer Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 17 Jan 2023 16:36:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 59851 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: To: phodina Cc: 59851@debbugs.gnu.org Received: via spool by 59851-submit@debbugs.gnu.org id=B59851.16739733403984 (code B ref 59851); Tue, 17 Jan 2023 16:36:01 +0000 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 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-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN ARC-Seal: i=1; s=key1; d=yhetil.org; t=1673973383; a=rsa-sha256; cv=none; b=I2cGwWgLVf+QiB5H2hvWv5HFOqft8vB2CEKAp2kOYwYZ8cOMoyOIX1fxjZCulpPsVK5mic +z4oGgmMQmdY298tdv7ligc9rKSarSI6x8/JZf7R5INzjXeF6fDXukuc1lkbjad4RydYsl dar+vA+7IFX028fK4kZHi+94qHCg2J6HoduU3FOdzrvu6hryLPQ4zRKK0ODvNDOU0seP19 dOQV9dislUvBpOaTtz9BIrwnASdEDPJ+Wt5OtZCm20wyPYz005HfKJSkXe8OmKryIYnF/A lzbc2HCh/24O/vwZiS+93o2MeZqNHmdUpbd0s81ztYTgbebvQqTf8Hqot6OTjA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=Q3g3jjXC; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1673973383; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:resent-cc:resent-from:resent-sender: resent-message-id:in-reply-to:in-reply-to:references:references: list-id:list-help:list-unsubscribe:list-subscribe:list-post: dkim-signature; bh=idhRk1lIBSmy97NRkb8jfbQNVo/UUB/GU9hBGy6XbMg=; b=QXGtmKKU9dCram5zX7vIWqJQBzltysAgKiOCzgPiw3MigRqyZqMFE0P+6qherktYqIHHFs /Riuf5RkXusHYHdaxZfT0/IchUKQZgj/H/mRQIJ7EHyP5QIULayJSxjNc21Q6dpseL9/jk OOV5uT4qItYr1M30NxFhXA1TDBCcR0oC8+wF3StSGjqZNpScZFR+Ka5EY+TE1GD7q8B/nn fQsI83/DLmUZUK43FJeI2K9PRwxqHswyvu55UDoELOjMOPnXgBZw+jXuJxLqk6+SEVc/2+ hKrfmy1yzA44b5J1IleW9SswoUYH8kF6hV+xlI6RSviLauOhobW478x1G6Sd8g== X-Migadu-Scanner: scn0.migadu.com X-Migadu-Spam-Score: -3.13 X-Spam-Score: -3.13 X-Migadu-Queue-Id: F3F18298C4 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=Q3g3jjXC; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-TUID: aekYB2lZAcSm 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