gnu: nestopia-ue: Update to 1.51.1.
* gnu/packages/emulators.scm (nestopia-ue): Update to 1.51.1. [source]: libretro is not included in nestopia-ue anymore. [build-system]: Change to gnu-build-system. [native-inputs]: Add autoconf, autoconf-archive and automake. [inputs]: Remove ao and gtk+, add fltk, fontconfig, libxft and libxrender. [arguments]: Remove 'wrap-program phase which was needed for the removed gtk+ dependency. Signed-off-by: 宋文武 <iyzsong@member.fsf.org>master
parent
f5d24e7b18
commit
6f483f8deb
|
@ -59,6 +59,7 @@
|
||||||
#:use-module (gnu packages digest)
|
#:use-module (gnu packages digest)
|
||||||
#:use-module (gnu packages elf)
|
#:use-module (gnu packages elf)
|
||||||
#:use-module (gnu packages flex)
|
#:use-module (gnu packages flex)
|
||||||
|
#:use-module (gnu packages fltk)
|
||||||
#:use-module (gnu packages fonts)
|
#:use-module (gnu packages fonts)
|
||||||
#:use-module (gnu packages fontutils)
|
#:use-module (gnu packages fontutils)
|
||||||
#:use-module (gnu packages freedesktop)
|
#:use-module (gnu packages freedesktop)
|
||||||
|
@ -1369,7 +1370,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.48")
|
(version "1.51.1")
|
||||||
(source
|
(source
|
||||||
(origin
|
(origin
|
||||||
(method git-fetch)
|
(method git-fetch)
|
||||||
|
@ -1378,36 +1379,24 @@ towards a working Mupen64Plus for casual users.")
|
||||||
(commit version)))
|
(commit version)))
|
||||||
(file-name (git-file-name name version))
|
(file-name (git-file-name name version))
|
||||||
(sha256
|
(sha256
|
||||||
(base32 "19c8vx5yxbysl0sszk5blfngwacshdgwbf44g1qaxvq8ywiyxmb4"))
|
(base32 "1g19gz33jav00rwzkpcnynf5ps41vl64a9qx0xjd6lva4bgn8s57"))))
|
||||||
(modules '((guix build utils)))
|
(build-system gnu-build-system)
|
||||||
(snippet
|
|
||||||
'(begin
|
|
||||||
;; We don't need libretro for the GNU/Linux build.
|
|
||||||
(delete-file-recursively "libretro")
|
|
||||||
#t))))
|
|
||||||
(build-system cmake-build-system)
|
|
||||||
(native-inputs
|
(native-inputs
|
||||||
`(("pkg-config" ,pkg-config)))
|
`(("autoconf" ,autoconf)
|
||||||
|
("autoconf-archive" ,autoconf-archive)
|
||||||
|
("automake" ,automake)
|
||||||
|
("pkg-config" ,pkg-config)))
|
||||||
(inputs
|
(inputs
|
||||||
`(("ao" ,ao)
|
`(("fltk" ,fltk)
|
||||||
("gtk+" ,gtk+)
|
("fontconfig", fontconfig)
|
||||||
("libarchive" ,libarchive)
|
("libarchive" ,libarchive)
|
||||||
("libepoxy" ,libepoxy)
|
("libepoxy" ,libepoxy)
|
||||||
|
("libxft" ,libxft)
|
||||||
|
("libxrender" ,libxrender)
|
||||||
("sdl2" ,sdl2)
|
("sdl2" ,sdl2)
|
||||||
("zlib" ,zlib)))
|
("zlib" ,zlib)))
|
||||||
(arguments
|
(arguments
|
||||||
'(#:phases
|
'(;; There are no tests.
|
||||||
(modify-phases %standard-phases
|
|
||||||
;; This fixes the file chooser crash that happens with GTK 3.
|
|
||||||
(add-after 'install 'wrap-program
|
|
||||||
(lambda* (#:key inputs outputs #:allow-other-keys)
|
|
||||||
(let* ((out (assoc-ref outputs "out"))
|
|
||||||
(nestopia (string-append out "/bin/nestopia"))
|
|
||||||
(gtk (assoc-ref inputs "gtk+"))
|
|
||||||
(gtk-share (string-append gtk "/share")))
|
|
||||||
(wrap-program nestopia
|
|
||||||
`("XDG_DATA_DIRS" ":" prefix (,gtk-share)))))))
|
|
||||||
;; There are no tests.
|
|
||||||
#:tests? #f))
|
#:tests? #f))
|
||||||
(home-page "http://0ldsk00l.ca/nestopia/")
|
(home-page "http://0ldsk00l.ca/nestopia/")
|
||||||
(synopsis "Nintendo Entertainment System (NES/Famicom) emulator")
|
(synopsis "Nintendo Entertainment System (NES/Famicom) emulator")
|
||||||
|
|
Reference in New Issue