From 6bdeab6c3882589b05004ba4f5ffea18451b8e45 Mon Sep 17 00:00:00 2001 From: techchud Date: Sat, 7 Feb 2026 08:03:18 -0600 Subject: update pegasus --- pegasus.scm | 69 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 69 insertions(+) create mode 100644 pegasus.scm diff --git a/pegasus.scm b/pegasus.scm new file mode 100644 index 0000000..34fdacc --- /dev/null +++ b/pegasus.scm @@ -0,0 +1,69 @@ +(define-module (pegasus) + #:use-module (gnu packages) + #:use-module (gnu packages qt) + #:use-module (gnu packages sdl) + #:use-module ((guix licenses) :prefix license:) + #:use-module (guix build-system cmake) + #:use-module (guix git-download) + #:use-module (guix packages) + #:use-module (guix gexp) + ) + +(define-public pegasus + (package + (name "pegasus") + (version "c8f95b0b269f68befcacdb9adbdb7e680c9b0448") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/mmatyas/pegasus-frontend.git") + (recursive? #t) + (commit version))) + (sha256 + (base32 + "18y9dwnj46g0gvbacdhilq5vjs07dk59lmc7ss24gjin3dc17faq")))) + (build-system cmake-build-system) + (arguments + `(#:phases + (modify-phases %standard-phases + (delete 'check) + (add-after 'install 'wrap-executable + (lambda* (#:key inputs outputs #:allow-other-keys) + (let ( + (out (assoc-ref outputs "out")) + (qtquick (string-append (assoc-ref inputs "qtdeclarative") "/lib/qt5/qml"))) + (wrap-program (string-append out "/bin/pegasus-fe") + `("QML2_IMPORT_PATH" ":" prefix ,(list + qtquick + (string-append (assoc-ref inputs "qtgraphicaleffects") "/lib/qt5/qml") + (string-append (assoc-ref inputs "qtmultimedia") "/lib/qt5/qml") + )) + )))) + ) + ) + ) + (inputs (list + qtbase-5 + qtdeclarative-5 + qtmultimedia-5 + qtsvg-5 + qttools-5 + qtquickcontrols2-5 + qtgraphicaleffects + sdl2 + )) + (synopsis " A cross platform, customizable graphical frontend for launching emulators and managing your game collection.") + (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. + +Open source and cross platform: runs on Windows, Linux, Mac, Android, all Raspberries, Odroids and possibly on other devices too. Hardware accelerated and works with or without X11. + +Full control over the UI: themes can completely change everything that is on the screen. Add or remove UI elements, menu screens, animations, whatever. Want to make it look like Kodi? Steam? Any other launcher? No problem. You can even run your custom shader code. + +ES2 backward compatibility: Pegasus can use EmulationStation's gamelist files, no need to invent a new set of tools. + +Features you'd expect: Gamepad support and config. Multiple aspect ratio support. Portable mode support. Live theme reload. A clock in the corner. + ") + (home-page "https://pegasus-frontend.org/") + (license license:gpl3+))) -- cgit v1.2.3