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