diff options
author | Taylan Ulrich Bayırlı/Kammer <taylanbayirli@gmail.com> | 2015-11-02 00:40:28 +0100 |
---|---|---|
committer | Taylan Ulrich Bayırlı/Kammer <taylanbayirli@gmail.com> | 2015-11-10 22:14:44 +0100 |
commit | e91d25f9e01fe03686766fe16119174d3df09907 (patch) | |
tree | a601d0989e22f764b7ef964dbe11acf3a89ae9ee /gnu/packages | |
parent | e8bf3ced253bcf27e95b4fc46fdf8140550e43ed (diff) | |
download | guix-e91d25f9e01fe03686766fe16119174d3df09907.tar guix-e91d25f9e01fe03686766fe16119174d3df09907.tar.gz |
gnu: Add mupen64plus-video-rice.
* gnu/packages/games.scm (mupen64plus-video-rice): New variable.
Diffstat (limited to 'gnu/packages')
-rw-r--r-- | gnu/packages/games.scm | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/gnu/packages/games.scm b/gnu/packages/games.scm index 2cf721d290..faf4356a59 100644 --- a/gnu/packages/games.scm +++ b/gnu/packages/games.scm @@ -1586,6 +1586,54 @@ which is capable of accurately playing many games. This package contains the Glide64MK2 video plugin.") (license license:gpl2+))) +(define-public mupen64plus-video-rice + (package + (name "mupen64plus-video-rice") + (version "2.5") + (source + (origin + (method url-fetch) + (uri (string-append + "https://github.com/mupen64plus/mupen64plus-video-rice/archive/" + version ".tar.gz")) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0rd2scjmh285w61aj3mgx71whg5rqrjbry3cdgicczrnyvf8wdvk")))) + (build-system gnu-build-system) + (native-inputs + `(("pkg-config" ,pkg-config) + ("which" ,which))) + (inputs + `(("libpng" ,libpng) + ("mesa" ,mesa) + ("mupen64plus-core" ,mupen64plus-core) + ("sdl2" ,sdl2))) + (arguments + '(#:phases + (modify-phases %standard-phases + ;; The mupen64plus build system has no configure phase. + (delete 'configure) + ;; Makefile is in a subdirectory. + (add-before + 'build 'cd-to-project-dir + (lambda _ + (chdir "projects/unix")))) + #:make-flags + (let ((out (assoc-ref %outputs "out")) + (m64p (assoc-ref %build-inputs "mupen64plus-core"))) + (list "all" + (string-append "PREFIX=" out) + (string-append "APIDIR=" m64p "/include/mupen64plus"))) + ;; There are no tests. + #:tests? #f)) + (home-page "http://www.mupen64plus.org/") + (synopsis "Mupen64Plus Rice Video plugin") + (description + "Mupen64Plus is a cross-platform plugin-based Nintendo 64 (N64) emulator +which is capable of accurately playing many games. This package contains the +Rice Video plugin.") + (license license:gpl2+))) + (define-public nestopia-ue (package (name "nestopia-ue") |