summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortechchud <protrude_paying969@simplelogin.com>2026-02-07 08:03:18 -0600
committertechchud <protrude_paying969@simplelogin.com>2026-02-07 08:03:18 -0600
commit6bdeab6c3882589b05004ba4f5ffea18451b8e45 (patch)
treeb3c4180980f71b1344e81333235875a9b8f0e1cc
parent09a5fa13458af141d0b48f4c05c02c78e9a24864 (diff)
downloadguix-techchud-6bdeab6c3882589b05004ba4f5ffea18451b8e45.tar.gz
guix-techchud-6bdeab6c3882589b05004ba4f5ffea18451b8e45.tar.bz2
guix-techchud-6bdeab6c3882589b05004ba4f5ffea18451b8e45.zip
update pegasus
-rw-r--r--pegasus.scm69
1 files changed, 69 insertions, 0 deletions
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+)))