From unknown Sat Jun 14 03:48:01 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#76562 <76562@debbugs.gnu.org> To: bug#76562 <76562@debbugs.gnu.org> Subject: Status: [PATCH] gnu: Add pegasus-frontend Reply-To: bug#76562 <76562@debbugs.gnu.org> Date: Sat, 14 Jun 2025 10:48:01 +0000 retitle 76562 [PATCH] gnu: Add pegasus-frontend reassign 76562 guix-patches submitter 76562 Andreas Fuglesteg Dale severity 76562 normal tag 76562 patch thanks From debbugs-submit-bounces@debbugs.gnu.org Tue Feb 25 13:04:07 2025 Received: (at submit) by debbugs.gnu.org; 25 Feb 2025 18:04:07 +0000 Received: from localhost ([127.0.0.1]:48348 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tmzHq-0001xA-B1 for submit@debbugs.gnu.org; Tue, 25 Feb 2025 13:04:07 -0500 Received: from lists.gnu.org ([2001:470:142::17]:45074) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1tmzHm-0001wU-Nt for submit@debbugs.gnu.org; Tue, 25 Feb 2025 13:04:03 -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 1tmzHJ-0006qQ-Iz for guix-patches@gnu.org; Tue, 25 Feb 2025 13:03:37 -0500 Received: from mail-lj1-x22a.google.com ([2a00:1450:4864:20::22a]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tmzHG-0001jB-80 for guix-patches@gnu.org; Tue, 25 Feb 2025 13:03:32 -0500 Received: by mail-lj1-x22a.google.com with SMTP id 38308e7fff4ca-30918c29da2so63269151fa.0 for ; Tue, 25 Feb 2025 10:03:28 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1740506606; x=1741111406; darn=gnu.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=j7vuUZ3GpvQ/1ke6b/nAzqrHlmQowmlpfyzO+X+7YFs=; b=KjoH6TaV66sOARsFMLg94cOMI0Jgxi+frhWVoysuIZXQ7fTQZwML23l/PX+Ec87krq LAmLD9tX5EUHsge0tItNPhj+AvwwLaTcuveYViSvSDzj7Svkup8QKWHS4uFzIJVmIGIH kGvY8ADkws97ojO4iHhSgWh1mU+VgRU+2T1fzmTAM9ZgLYzyr9lzkD67SFkRcBiga9xM PR8ho1ESb59EcjQQQN6vQt9Q0gQ+onYcPPgQLfeRHZs1W6oZvdQ6R6gP28GiVugnYafk qida6Jo/gVx9RVW6rBE5AhCfnnGvxd/N0oIKQi9gpAT6D0/Y5IV9t8rN7b+m+CtX9nh2 0sxg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1740506606; x=1741111406; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=j7vuUZ3GpvQ/1ke6b/nAzqrHlmQowmlpfyzO+X+7YFs=; b=hpfq/YGj0pk6XG2AwTX0IpIt0vtrML8p0kQbCi14JdKeODxFiS9HiijKzO+8Yt1Fqh jNTY7DA210wYunfgzNqlWO6UWYLfNEXQYIwIlxy4yP5HWkNTSBqI/LrhAClB6Rd6j77n rbq8HEiafdShH9P+asa8/9TvQhQXVixQmQgbWmfAQas5GcfWNfAMjyQmyoMHoHZ2psn7 WxXLmOIJz+PYrWUjOhOjkJSRIDmh3FrLlSttjNwW5YuEciEmcvXxrUsI0cvNctlZdDZq fYsVygmqtFpRnrXpaGd8RHl0HGU7Rn3B83mD3k7+0ibAzvk0gt+13iVRCL3qVhOZqrpy I5fg== X-Gm-Message-State: AOJu0YxuevGRK0DqNwcM9DZsGWmktFMvXMBv7pZEFMwW5yz5c7Kt0JFA P5XzyJrZ0FEmFNI9gPe4DeirEsRlk0yvmt2OKrSrqa6FUrk+FfmjYD077j3vN68= X-Gm-Gg: ASbGncsWQILXcREYqn3vXD0TyGiQFtR4EYQjsk5hSdVk/WC6FInc/8dJZOuPJT9SAmq Ao+1/lky9dWttyC6gqgSiW59y+1+P1sCVqUBmG6/uCtM60sOkAeA1WhiBf2x47J4Sj6zbdRxLzZ iYba8viEl2DDG3U2/upa7Up6vRR9ETVDVHa8QoUUS85bFI2wvjugb70zqc05XWPTMRY7JEkStc1 t8VkTU0ALP1+Bt9fTdRjceQ6ThR6zIjtuMB/YPZszwkCuq2MtZ8dCFVciTK4RMrH7VLldE+b7h7 WgYNeCKWSJR4H9PjqJbBWJ1Q516RopTopPlVWTCEUg== X-Google-Smtp-Source: AGHT+IHoiPJmajjKd7FQ21OAdt9OOKtAy5Mq2UIopil/jfv4Q+tloPGyPuiNIJrKKU1QPlpJTxdkPA== X-Received: by 2002:a2e:9605:0:b0:308:fac7:9cc3 with SMTP id 38308e7fff4ca-30a80bfffd3mr19802221fa.14.1740506605643; Tue, 25 Feb 2025 10:03:25 -0800 (PST) Received: from localhost.localdomain ([81.191.206.66]) by smtp.gmail.com with ESMTPSA id 38308e7fff4ca-30a819e0c24sm2860831fa.20.2025.02.25.10.03.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 25 Feb 2025 10:03:25 -0800 (PST) From: Andreas Fuglesteg Dale To: guix-patches@gnu.org Subject: [PATCH] gnu: Add pegasus-frontend Date: Tue, 25 Feb 2025 18:58:50 +0100 Message-ID: <20250225180014.31415-1-andreasfdale@gmail.com> X-Mailer: git-send-email 2.48.1 MIME-Version: 1.0 X-Debbugs-Cc: adam.faiz@disroot.org, liliana.prikler@gmail.com, iyzsong@envs.net Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=2a00:1450:4864:20::22a; envelope-from=andreasfdale@gmail.com; helo=mail-lj1-x22a.google.com X-Spam_score_int: -19 X-Spam_score: -2.0 X-Spam_bar: -- X-Spam_report: (-2.0 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_SBL_A=0.1 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: 1.7 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: * gnu/packages/emulators.scm (pegasus-frontend): New variable. Change-Id: Ie1f186c0bfd303796b04bd80d2bd3c719391c99e --- gnu/packages/emulators.scm | 52 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 52 insertions(+) Content analysis details: (1.7 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.1 URIBL_SBL_A Contains URL's A record listed in the Spamhaus SBL blocklist [URIs: pegasus-frontend.org] 0.6 URIBL_SBL Contains an URL's NS IP listed in the Spamhaus SBL blocklist [URIs: pegasus-frontend.org] -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [2001:470:142:0:0:0:0:17 listed in] [list.dnswl.org] 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (andreasfdale[at]gmail.com) -0.0 SPF_HELO_PASS SPF: HELO matches SPF record 1.0 SPF_SOFTFAIL SPF: sender does not match SPF record (softfail) X-Debbugs-Envelope-To: submit Cc: Andreas Fuglesteg Dale 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: 0.7 (/) * gnu/packages/emulators.scm (pegasus-frontend): New variable. Change-Id: Ie1f186c0bfd303796b04bd80d2bd3c719391c99e --- gnu/packages/emulators.scm | 52 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 52 insertions(+) diff --git a/gnu/packages/emulators.scm b/gnu/packages/emulators.scm index 9e2d648..4fccb8c 100644 --- a/gnu/packages/emulators.scm +++ b/gnu/packages/emulators.scm @@ -22,6 +22,7 @@ ;;; Copyright © 2023 Hendursaga ;;; Copyright © 2023 Zheng Junjie <873216071@qq.com> ;;; Copyright © 2024 Artyom V. Poptsov +;;; Copyright © 2025 Andreas Fuglesteg Dale ;;; ;;; This file is part of GNU Guix. ;;; @@ -112,6 +113,7 @@ (define-module (gnu packages emulators) #:use-module (gnu packages xml) #:use-module (gnu packages xorg) #:use-module (gnu packages web) + #:use-module (gnu packages gstreamer) #:use-module (guix build-system cmake) #:use-module (guix build-system copy) #:use-module (guix build-system glib-or-gtk) @@ -4085,3 +4087,53 @@ (define-public emu8051 (synopsis "8051/8052 emulator with curses-based UI") (description "emu8051 is a simulator of the 8051/8052 microcontrollers.") (license license:expat)))) + +(define-public pegasus-frontend + (package + (name "pegasus-frontend") + (version "weekly_2024w38") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/mmatyas/pegasus-frontend") + (commit version) + (recursive? #t))) + (sha256 + (base32 "04773v3b50wya7w3hgy6j8sli07aimsfc8njqsycg9gbqygm183l")) + (file-name (git-file-name name version)))) + (build-system qt-build-system) + (arguments + (list + #:qtbase qtbase-5 + #:phases #~(modify-phases %standard-phases + (add-after 'qt-wrap 'gst-wrap + ;; Set required environment variable for gstreamer plugins + ;; Used for video playback + (lambda _ + (wrap-program (string-append #$output "/bin/pegasus-fe") + `("GST_PLUGIN_SYSTEM_PATH" suffix + (,(string-append #$gst-plugins-good + "/lib/gstreamer-1.0")))))) + (add-before 'check 'set-display + (lambda _ + ;; Required for tests to not attempt to start an OpenGL context + (setenv "QT_QUICK_BACKEND" "software")))))) + (inputs (list sdl2 + qtbase-5 + qtsvg-5 + qtdeclarative-5 + qtgraphicaleffects + qtmultimedia-5 + qtgamepad + gst-plugins-good ; For video playback + bash-minimal)) ; For wrap-program + (native-inputs (list qttools-5)) + (synopsis "Customizable graphical emulator frontend") + (description + "Pegasus is a graphical frontend for browsing your game library and launching all + kinds of emulators from the same place. It's focusing on customizability, cross + platform support (including embedded) and high performance.") + (home-page "https://pegasus-frontend.org") + (license license:gpl3))) + base-commit: 87045f0982bd7aebb07b380cbf322651227546f4 -- 2.48.1