gnu: Add zsnes.
* gnu/packages/games.scm (zsnes): New variable. Change-Id: I60596f6676546ab2a4ca911f2d66ac8b535fa20b
This commit is contained in:
		
							parent
							
								
									cc38699cf0
								
							
						
					
					
						commit
						bff8db4463
					
				
					 1 changed files with 42 additions and 0 deletions
				
			
		| 
						 | 
					@ -11721,6 +11721,48 @@ on the pitch of the voice and the rhythm of singing.")
 | 
				
			||||||
virtual reality devices.")
 | 
					virtual reality devices.")
 | 
				
			||||||
      (license license:expat))))
 | 
					      (license license:expat))))
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					(define-public zsnes
 | 
				
			||||||
 | 
					  (package
 | 
				
			||||||
 | 
					    (name "zsnes")
 | 
				
			||||||
 | 
					    (version "2.0.12")
 | 
				
			||||||
 | 
					    (source (origin
 | 
				
			||||||
 | 
					              (method git-fetch)
 | 
				
			||||||
 | 
					              (uri (git-reference
 | 
				
			||||||
 | 
					                    (url "https://github.com/xyproto/zsnes")
 | 
				
			||||||
 | 
					                    (commit version)))
 | 
				
			||||||
 | 
					              (file-name (git-file-name name version))
 | 
				
			||||||
 | 
					              (sha256
 | 
				
			||||||
 | 
					               (base32
 | 
				
			||||||
 | 
					                "0g9l1ij3p1adkp97wkp0dz44i2xpmsvfpkxvlfkpr7190dibsgsz"))))
 | 
				
			||||||
 | 
					    (build-system gnu-build-system)
 | 
				
			||||||
 | 
					    (arguments
 | 
				
			||||||
 | 
					     (list #:system "i686-linux"        ;requires 32 bit libraries to build
 | 
				
			||||||
 | 
					           #:tests? #f                  ;no test suite
 | 
				
			||||||
 | 
					           #:make-flags
 | 
				
			||||||
 | 
					           #~(list (string-append "CC=" #$(cc-for-target))
 | 
				
			||||||
 | 
					                   (string-append "CXX=" #$(cxx-for-target))
 | 
				
			||||||
 | 
					                   (string-append "PREFIX=" #$output))
 | 
				
			||||||
 | 
					           #:phases #~(modify-phases %standard-phases
 | 
				
			||||||
 | 
					                        (delete 'configure)))) ;no configure script
 | 
				
			||||||
 | 
					    (native-inputs (list nasm pkg-config))
 | 
				
			||||||
 | 
					    (inputs (list glib libpng mesa ncurses sdl zlib))
 | 
				
			||||||
 | 
					    (home-page "https://www.zsnes.com")
 | 
				
			||||||
 | 
					    (synopsis "Super Nintendo Entertainment System emulator")
 | 
				
			||||||
 | 
					    (description "ZSNES is a @acronym{Super Nintendo Entertainment System,
 | 
				
			||||||
 | 
					SNES} emulator that can play most games at full speed with sound and special
 | 
				
			||||||
 | 
					graphic filters.  Some of its features include:
 | 
				
			||||||
 | 
					@itemize
 | 
				
			||||||
 | 
					@item Support for smooth and dynamic image scaling
 | 
				
			||||||
 | 
					@item Support for rewinding and fast-forwarding in-game
 | 
				
			||||||
 | 
					@item JMA compression format
 | 
				
			||||||
 | 
					@item Change the appearance of the GUI
 | 
				
			||||||
 | 
					@item Take screenshots of currently running games
 | 
				
			||||||
 | 
					@item Saving the game at any point by recording the console’s state
 | 
				
			||||||
 | 
					@item Record movies of gameplay which can be played back.
 | 
				
			||||||
 | 
					@end itemize")
 | 
				
			||||||
 | 
					    (license license:gpl2+)
 | 
				
			||||||
 | 
					    (supported-systems (list "x86_64-linux"))))
 | 
				
			||||||
 | 
					
 | 
				
			||||||
;;;
 | 
					;;;
 | 
				
			||||||
;;; Avoid adding new packages to the end of this file. To reduce the chances
 | 
					;;; Avoid adding new packages to the end of this file. To reduce the chances
 | 
				
			||||||
;;; of a merge conflict, place them above by existing packages with similar
 | 
					;;; of a merge conflict, place them above by existing packages with similar
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Reference in a new issue