diff options
author | Rodion Goritskov <rodion.goritskov@gmail.com> | 2024-09-21 11:43:30 +0400 |
---|---|---|
committer | Rodion Goritskov <rodion.goritskov@gmail.com> | 2024-09-21 11:43:30 +0400 |
commit | cf21128e5c62002d67c52b64b788001a39a40fff (patch) | |
tree | 7e639b5229a5b4ebc20151db82431ccc0f7fcb4c /rodion/packages | |
parent | 2e4ed89cfdd3ac4891887c81aeb6ec3ea5036fac (diff) |
gnu: Add doomretro.
* rodion/packages/games.scm (doomretro): New variable.
Diffstat (limited to 'rodion/packages')
-rw-r--r-- | rodion/packages/games.scm | 141 |
1 files changed, 83 insertions, 58 deletions
diff --git a/rodion/packages/games.scm b/rodion/packages/games.scm index aba0515..3eaa8fb 100644 --- a/rodion/packages/games.scm +++ b/rodion/packages/games.scm @@ -7,6 +7,7 @@ #:use-module (gnu packages sdl) #:use-module (gnu packages emulators) #:use-module (gnu packages compression) + #:use-module (gnu packages pkg-config) #:use-module ((guix licenses) #:prefix license:) #:use-module ((rodion licenses) #:prefix nonfree-license:)) @@ -43,66 +44,69 @@ Filename patterns are composed of regular (printable) characters which may compr (define-public fallout-ce (package - (name "fallout-ce") - (version "1.1.0") - (build-system cmake-build-system) - (home-page "https://github.com/alexbatalov/fallout1-ce") - (inputs (list sdl2 - fpattern)) - (arguments - (list - #:tests? #f - #:phases #~(modify-phases %standard-phases - (replace 'install - (lambda* (#:key outputs #:allow-other-keys) - (let* ((out (assoc-ref outputs "out")) - (bin (string-append out "/bin"))) - (mkdir-p bin) - (copy-file "fallout-ce" (string-append bin "/fallout-ce")))))))) - (source - (origin - (method git-fetch) - (uri (git-reference - (url "https://github.com/alexbatalov/fallout1-ce") - (commit (string-append "v" version)))) - (patches `(,(local-file "./patches/0001-fallout-ce-fpattern.patch"))) - (sha256 - (base32 "0c11zbvja42s0z8zqfm6gf981m0v2vwxvhqas46lplwbfhbnh836")))) - (license nonfree-license:sustainable-use) - (description "Fallout Community Edition is a fully working re-implementation of Fallout, with the same original gameplay, engine bugfixes, and some quality of life improvements, that works (mostly) hassle-free on multiple platforms.") - (synopsis "Fallout Community Edition is an engine rewrite for modern operating systems"))) + (name "fallout-ce") + (version "1.1.0") + (build-system cmake-build-system) + (home-page "https://github.com/alexbatalov/fallout1-ce") + (inputs (list sdl2 fpattern)) + (arguments + (list + #:tests? #f + #:phases #~(modify-phases %standard-phases + (replace 'install + (lambda* (#:key outputs #:allow-other-keys) + (let* ((out (assoc-ref outputs "out")) + (bin (string-append out "/bin"))) + (mkdir-p bin) + (copy-file "fallout-ce" + (string-append bin "/fallout-ce")))))))) + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/alexbatalov/fallout1-ce") + (commit (string-append "v" version)))) + (patches `(,(local-file "./patches/0001-fallout-ce-fpattern.patch"))) + (sha256 + (base32 "0c11zbvja42s0z8zqfm6gf981m0v2vwxvhqas46lplwbfhbnh836")))) + (license nonfree-license:sustainable-use) + (description + "Fallout Community Edition is a fully working re-implementation of Fallout, with the same original gameplay, engine bugfixes, and some quality of life improvements, that works (mostly) hassle-free on multiple platforms.") + (synopsis + "Fallout Community Edition is an engine rewrite for modern operating systems"))) (define-public fallout2-ce (package - (name "fallout2-ce") - (version "1.3.0") - (build-system cmake-build-system) - (home-page "https://github.com/alexbatalov/fallout2-ce") - (inputs (list sdl2 - fpattern - zlib)) - (arguments - (list - #:tests? #f - #:phases #~(modify-phases %standard-phases - (replace 'install - (lambda* (#:key outputs #:allow-other-keys) - (let* ((out (assoc-ref outputs "out")) - (bin (string-append out "/bin"))) - (mkdir-p bin) - (copy-file "fallout2-ce" (string-append bin "/fallout2-ce")))))))) - (source - (origin - (method git-fetch) - (uri (git-reference - (url "https://github.com/alexbatalov/fallout2-ce") - (commit (string-append "v" version)))) - (patches `(,(local-file "./patches/0001-fallout2-ce-fpattern.patch"))) - (sha256 - (base32 "15b30i2ixq0w01qxrymd1qs1awj8kijbqzac8wvfrpm85fdnfnmg")))) - (license nonfree-license:sustainable-use) - (description "Fallout 2 Community Edition is a fully working re-implementation of Fallout 2, with the same original gameplay, engine bugfixes, and some quality of life improvements, that works (mostly) hassle-free on multiple platforms.") - (synopsis "Fallout 2 Community Edition is an engine rewrite for modern operating systems"))) + (name "fallout2-ce") + (version "1.3.0") + (build-system cmake-build-system) + (home-page "https://github.com/alexbatalov/fallout2-ce") + (inputs (list sdl2 fpattern zlib)) + (arguments + (list + #:tests? #f + #:phases #~(modify-phases %standard-phases + (replace 'install + (lambda* (#:key outputs #:allow-other-keys) + (let* ((out (assoc-ref outputs "out")) + (bin (string-append out "/bin"))) + (mkdir-p bin) + (copy-file "fallout2-ce" + (string-append bin "/fallout2-ce")))))))) + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/alexbatalov/fallout2-ce") + (commit (string-append "v" version)))) + (patches `(,(local-file "./patches/0001-fallout2-ce-fpattern.patch"))) + (sha256 + (base32 "15b30i2ixq0w01qxrymd1qs1awj8kijbqzac8wvfrpm85fdnfnmg")))) + (license nonfree-license:sustainable-use) + (description + "Fallout 2 Community Edition is a fully working re-implementation of Fallout 2, with the same original gameplay, engine bugfixes, and some quality of life improvements, that works (mostly) hassle-free on multiple platforms.") + (synopsis + "Fallout 2 Community Edition is an engine rewrite for modern operating systems"))) ;; Build with the old CPU support (define-public dosbox-staging/old-cpu @@ -118,4 +122,25 @@ Filename patterns are composed of regular (printable) characters which may compr "-Duse_mt32emu=false") #:build-type "release")))) - +(define-public doomretro + (package + (name "doomretro") + (version "5.5.1") + (build-system cmake-build-system) + (inputs (list sdl2 sdl2-mixer sdl2-image pkg-config)) + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/bradharding/doomretro") + (commit (string-append "v" version)))) + (sha256 + (base32 "0hgpdhxdhnkip5wxhgims414v4asik9x94qs47by7li8fp60q0w0")))) + (arguments + (list + #:tests? #f)) + (license license:gpl3) + (home-page "https://github.com/bradharding/doomretro") + (synopsis "The classic, refined DOOM source port") + (description + "DOOM Retro is the classic, refined DOOM source port, minimalist in its approach."))) |