guix_mirror_bot pushed a commit to branch master
in repository guix.
commit fa389a5cdb77a022a304e467cbc6acf38e42522e
Author: bdunahu <[email protected]>
AuthorDate: Wed Jul 15 22:39:57 2026 -0400
gnu: Add sfxr-qt.
* gnu/packages/game-development.scm (sfxr-qt): New variable.
Signed-off-by: Liliana Marie Prikler <[email protected]>
---
gnu/packages/game-development.scm | 44 +++++++++++++++++++++++++++++++++++++++
1 file changed, 44 insertions(+)
diff --git a/gnu/packages/game-development.scm
b/gnu/packages/game-development.scm
index baefaa6061..53a37ae64d 100644
--- a/gnu/packages/game-development.scm
+++ b/gnu/packages/game-development.scm
@@ -39,6 +39,7 @@
;;; Copyright © 2025 Vinicius Monego <[email protected]>
;;; Copyright © 2025 Simen Endsjø <[email protected]>
;;; Copyright © 2025 gemmaro <[email protected]>
+;;; Copyright © 2026 bdunahu <[email protected]>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -70,6 +71,7 @@
#:use-module (guix build-system gnu)
#:use-module (guix build-system go)
#:use-module (guix build-system pyproject)
+ #:use-module (guix build-system qt)
#:use-module (guix build-system renpy)
#:use-module (guix build-system scons)
#:use-module (gnu packages)
@@ -111,6 +113,7 @@
#:use-module (gnu packages icu4c)
#:use-module (gnu packages image)
#:use-module (gnu packages javascript)
+ #:use-module (gnu packages kde-frameworks)
#:use-module (gnu packages linux)
#:use-module (gnu packages lisp)
#:use-module (gnu packages llvm)
@@ -1323,6 +1326,47 @@ sounds from presets such as \"explosion\" or
\"powerup\".")
(home-page "https://www.drpetter.se/project_sfxr.html")
(license license:expat)))
+(define-public sfxr-qt
+ (package
+ (name "sfxr-qt")
+ (version "1.5.1")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/agateau/sfxr-qt")
+ (commit version)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "0ghmw8kvc5rd10kqaslbdmj7nrp8g9sslzhp18v32x4njwapavdc"))
+ (modules '((guix build utils)))
+ (snippet
+ #~(begin
+ ;; Unbundles qpropgen.
+ (delete-file-recursively "3rdparty")
+ (substitute* "CMakeLists.txt"
+ (("include\\(3rdparty[^\n]+")
+ "include(qpropgen)"))))))
+ (build-system qt-build-system)
+ (arguments
+ (list
+ #:configure-flags
+ #~(list "-DUSE_SYSTEM_CATCH2=ON"
+ (string-append "-DCMAKE_MODULE_PATH="
+ #+qpropgen "/share/qpropgen/cmake"))))
+ (inputs
+ (list qtdeclarative-5
+ qtquickcontrols-5 ;QtQuick.Dialogs
+ qtquickcontrols2-5 ;QtQuick.Controls, QtQuick.Layouts
+ sdl))
+ (native-inputs (list catch2 extra-cmake-modules qpropgen))
+ (home-page "https://github.com/agateau/sfxr-qt")
+ (synopsis "Retro sound effect generator")
+ (description "This package provides a QtQuick Controls 2 port of SFXR.
+It has the same features as the original SFXR with a more modern user
+interface.")
+ (license license:expat)))
+
(define-public surgescript
(package
(name "surgescript")