gnu: nestopia-ue: Update to version 1.47.

This commit is contained in:
Taylan Ulrich Bayırlı/Kammer 2016-09-21 20:29:21 +02:00
parent dac65f90b6
commit 415ee287fa
No known key found for this signature in database
GPG Key ID: A1F4CFCC52836BAC
1 changed files with 10 additions and 17 deletions

View File

@ -1780,7 +1780,7 @@ towards a working Mupen64Plus for casual users.")
(define-public nestopia-ue (define-public nestopia-ue
(package (package
(name "nestopia-ue") (name "nestopia-ue")
(version "1.46.2") (version "1.47")
(source (origin (source (origin
(method url-fetch) (method url-fetch)
(uri (string-append (uri (string-append
@ -1789,7 +1789,7 @@ towards a working Mupen64Plus for casual users.")
(file-name (string-append name "-" version ".tar.gz")) (file-name (string-append name "-" version ".tar.gz"))
(sha256 (sha256
(base32 (base32
"07h49xwvg61dx20rk5p4r3ax2ar5y0ppvm60cqwqljyi9rdfbh7p")) "1dzrrjmvyqks64q5l5pfly80jb6qcsbj5b3dm40fijd5xnpbapci"))
(modules '((guix build utils))) (modules '((guix build utils)))
(snippet (snippet
'(begin '(begin
@ -1815,21 +1815,14 @@ towards a working Mupen64Plus for casual users.")
(modify-phases %standard-phases (modify-phases %standard-phases
;; The Nestopia build system consists solely of a Makefile. ;; The Nestopia build system consists solely of a Makefile.
(delete 'configure) (delete 'configure)
;; XXX Should be unnecessary with the next release. (add-before 'build 'remove-xdg-desktop-menu-call
(add-before (lambda _
'build 'patch-makefile (substitute* "Makefile"
(lambda _ (("xdg-desktop-menu install .*") ""))))
(substitute* "Makefile" (add-before 'build 'remove-gdkwayland-include
(("@mkdir \\$@") "@mkdir -p $@") (lambda _
(("CC =") "CC ?=") (substitute* "source/unix/gtkui/gtkui.h"
(("CXX =") "CXX ?=") (("#include <gdk/gdkwayland\\.h>") "")))))
(("PREFIX =") "PREFIX ?=")
(("^install:\n$") "install:\n\tmkdir -p $(BINDIR)\n"))))
(add-before
'build 'remove-xdg-desktop-menu-call
(lambda _
(substitute* "Makefile"
(("xdg-desktop-menu install .*") "")))))
#:make-flags (let ((out (assoc-ref %outputs "out"))) #:make-flags (let ((out (assoc-ref %outputs "out")))
(list "CC=gcc" "CXX=g++" (string-append "PREFIX=" out))) (list "CC=gcc" "CXX=g++" (string-append "PREFIX=" out)))
;; There are no tests. ;; There are no tests.