2018-02-22 03:17:55 -05:00
|
|
|
|
;;; GNU Guix --- Functional package management for GNU
|
2018-02-22 06:04:14 -05:00
|
|
|
|
;;; Copyright © 2015 Mark H Weaver <mhw@netris.org>
|
|
|
|
|
;;; Copyright © 2015 Paul van der Walt <paul@denknerd.org>
|
|
|
|
|
;;; Copyright © 2015, 2016 Sou Bunnbu <iyzsong@gmail.com>
|
|
|
|
|
;;; Copyright © 2015, 2016 Taylan Ulrich Bayırlı/Kammer <taylanbayirli@gmail.com>
|
|
|
|
|
;;; Copyright © 2015, 2018 David Thompson <dthompson2@worcester.edu>
|
|
|
|
|
;;; Copyright © 2016 Manolis Fragkiskos Ragkousis <manolis837@gmail.com>
|
2018-02-22 13:28:55 -05:00
|
|
|
|
;;; Copyright © 2016, 2017, 2018 Efraim Flashner <efraim@flashner.co.il>
|
2019-02-02 07:41:46 -05:00
|
|
|
|
;;; Copyright © 2017, 2018, 2019 Nicolas Goaziou <mail@nicolasgoaziou.fr>
|
2018-02-22 06:04:14 -05:00
|
|
|
|
;;; Copyright © 2017 Tobias Geerinckx-Rice <me@tobias.gr>
|
2019-01-14 03:04:23 -05:00
|
|
|
|
;;; Copyright © 2017, 2018, 2019 Rutger Helling <rhelling@mykolab.com>
|
2018-02-22 03:17:55 -05:00
|
|
|
|
;;;
|
|
|
|
|
;;; This file is part of GNU Guix.
|
|
|
|
|
;;;
|
|
|
|
|
;;; GNU Guix is free software; you can redistribute it and/or modify it
|
|
|
|
|
;;; under the terms of the GNU General Public License as published by
|
|
|
|
|
;;; the Free Software Foundation; either version 3 of the License, or (at
|
|
|
|
|
;;; your option) any later version.
|
|
|
|
|
;;;
|
|
|
|
|
;;; GNU Guix is distributed in the hope that it will be useful, but
|
|
|
|
|
;;; WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
|
;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
|
;;; GNU General Public License for more details.
|
|
|
|
|
;;;
|
|
|
|
|
;;; You should have received a copy of the GNU General Public License
|
|
|
|
|
;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
|
|
|
|
|
|
|
|
|
|
(define-module (gnu packages emulators)
|
|
|
|
|
#:use-module ((guix licenses) #:prefix license:)
|
|
|
|
|
#:use-module (guix packages)
|
2018-02-22 06:04:14 -05:00
|
|
|
|
#:use-module (guix download)
|
2018-02-22 03:17:55 -05:00
|
|
|
|
#:use-module (guix git-download)
|
2018-02-22 06:04:14 -05:00
|
|
|
|
#:use-module (guix svn-download)
|
|
|
|
|
#:use-module (gnu packages)
|
|
|
|
|
#:use-module (gnu packages algebra)
|
2018-05-24 18:34:46 -04:00
|
|
|
|
#:use-module (gnu packages assembly)
|
2018-02-22 03:17:55 -05:00
|
|
|
|
#:use-module (gnu packages audio)
|
2018-02-22 06:04:14 -05:00
|
|
|
|
#:use-module (gnu packages autotools)
|
|
|
|
|
#:use-module (gnu packages base)
|
|
|
|
|
#:use-module (gnu packages boost)
|
|
|
|
|
#:use-module (gnu packages backup)
|
2018-02-22 03:17:55 -05:00
|
|
|
|
#:use-module (gnu packages compression)
|
|
|
|
|
#:use-module (gnu packages curl)
|
2019-02-25 10:33:38 -05:00
|
|
|
|
#:use-module (gnu packages elf)
|
2018-02-22 03:17:55 -05:00
|
|
|
|
#:use-module (gnu packages fonts)
|
|
|
|
|
#:use-module (gnu packages fontutils)
|
2018-02-22 06:04:14 -05:00
|
|
|
|
#:use-module (gnu packages freedesktop)
|
2018-02-22 03:17:55 -05:00
|
|
|
|
#:use-module (gnu packages game-development)
|
2018-05-16 09:52:40 -04:00
|
|
|
|
#:use-module (gnu packages gcc)
|
2018-02-22 03:17:55 -05:00
|
|
|
|
#:use-module (gnu packages gettext)
|
|
|
|
|
#:use-module (gnu packages gl)
|
|
|
|
|
#:use-module (gnu packages glib)
|
|
|
|
|
#:use-module (gnu packages gtk)
|
|
|
|
|
#:use-module (gnu packages image)
|
2018-02-22 06:04:14 -05:00
|
|
|
|
#:use-module (gnu packages imagemagick)
|
|
|
|
|
#:use-module (gnu packages libedit)
|
2018-02-22 03:17:55 -05:00
|
|
|
|
#:use-module (gnu packages libusb)
|
|
|
|
|
#:use-module (gnu packages linux)
|
2018-05-31 11:08:10 -04:00
|
|
|
|
#:use-module (gnu packages lua)
|
|
|
|
|
#:use-module (gnu packages maths)
|
2018-05-24 18:34:46 -04:00
|
|
|
|
#:use-module (gnu packages mp3)
|
2018-05-31 11:08:10 -04:00
|
|
|
|
#:use-module (gnu packages music)
|
2018-02-22 06:04:14 -05:00
|
|
|
|
#:use-module (gnu packages ncurses)
|
2018-05-31 11:08:10 -04:00
|
|
|
|
#:use-module (gnu packages networking)
|
2018-02-22 03:17:55 -05:00
|
|
|
|
#:use-module (gnu packages pkg-config)
|
|
|
|
|
#:use-module (gnu packages pulseaudio)
|
2018-02-22 06:04:14 -05:00
|
|
|
|
#:use-module (gnu packages python)
|
2018-02-22 03:17:55 -05:00
|
|
|
|
#:use-module (gnu packages qt)
|
|
|
|
|
#:use-module (gnu packages sdl)
|
gnu: Move Sphinx and friends to (gnu packages sphinx).
* gnu/packages/python-xyz.scm (python-sphinxcontrib-websupport,
python2-sphinxcontrib-websupport, python-sphinx, python2-sphinx,
python-sphinx-gallery, python2-sphinx-gallery, python-sphinx-rtd-theme,
python2-sphinx-rtd-theme, python-guzzle-sphinx-theme,
python2-guzzle-sphinx-theme, python-sphinxcontrib-newsfeed,
python-sphinxcontrib-programoutput, python2-sphinxcontrib-programoutput,
python-sphinx-repoze-interface, python2-sphinx-repoze-interface,
python-sphinx-cloud-sptheme, python2-sphinx-cloud-sptheme,
python-sphinx-alabaster-theme, python2-sphinx-alabaster-theme,
python-sphinx-me, python-sphinxcontrib-svg2pdfconverter): Move to ...
(gnu):
* gnu/packages/sphinx.scm: ... here. New file.
* gnu/local.mk (GNU_SYSTEM_MODULES): Adjust accordingly.
* gnu/packages/admin.scm, gnu/packages/bioinformatics.scm,
gnu/packages/calendar.scm, gnu/packages/cluster.scm,
gnu/packages/databases.scm, gnu/packages/dav.scm, gnu/packages/disk.scm,
gnu/packages/django.scm, gnu/packages/elf.scm, gnu/packages/emacs-xyz.scm,
gnu/packages/emulators.scm, gnu/packages/finance.scm, gnu/packages/image.scm,
gnu/packages/libffi.scm, gnu/packages/mail.scm, gnu/packages/mpd.scm,
gnu/packages/openstack.scm, gnu/packages/pdf.scm, gnu/packages/python-web.scm,
gnu/packages/search.scm, gnu/packages/statistics.scm,
gnu/packages/storage.scm, gnu/packages/sync.scm, gnu/packages/terminals.scm,
gnu/packages/tls.scm, gnu/packages/web.scm: Adjust module imports.
2019-05-12 16:56:54 -04:00
|
|
|
|
#:use-module (gnu packages sphinx)
|
gnu: Move sqlite to separate module.
* gnu/packages/databases.scm (sqlite, sqlite-3.26.0, sqlite-with-fts5,
sqlite-with-column-metadata): Move variables from here...
* gnu/packages/sqlite.scm: ...to this new module.
* gnu/local.mk (GNU_SYSTEM_MODULES): Add it.
* gnu/packages/apl.scm,
gnu/packages/bittorrent.scm,
gnu/packages/calendar.scm,
gnu/packages/code.scm,
gnu/packages/crypto.scm,
gnu/packages/databases.scm,
gnu/packages/dc.scm,
gnu/packages/disk.scm,
gnu/packages/ebook.scm,
gnu/packages/education.scm,
gnu/packages/emacs.scm,
gnu/packages/emulators.scm,
gnu/packages/file-systems.scm,
gnu/packages/freedesktop.scm,
gnu/packages/ftp.scm,
gnu/packages/games.scm,
gnu/packages/geo.scm,
gnu/packages/gnome.scm,
gnu/packages/gnunet.scm,
gnu/packages/gnupg.scm,
gnu/packages/gnuzilla.scm,
gnu/packages/gps.scm,
gnu/packages/guile.scm,
gnu/packages/ibus.scm,
gnu/packages/kerberos.scm,
gnu/packages/kodi.scm,
gnu/packages/lisp.scm,
gnu/packages/mail.scm,
gnu/packages/messaging.scm,
gnu/packages/mpd.scm,
gnu/packages/music.scm,
gnu/packages/networking.scm,
gnu/packages/nfs.scm,
gnu/packages/ocaml.scm,
gnu/packages/package-management.scm,
gnu/packages/pdf.scm,
gnu/packages/photo.scm,
gnu/packages/php.scm,
gnu/packages/python.scm,
gnu/packages/qt.scm,
gnu/packages/ruby.scm,
gnu/packages/scheme.scm,
gnu/packages/sync.scm,
gnu/packages/syndication.scm,
gnu/packages/version-control.scm,
gnu/packages/video.scm,
gnu/packages/web-browsers.scm,
gnu/packages/webkit.scm: Adjust module references.
2019-01-15 15:47:05 -05:00
|
|
|
|
#:use-module (gnu packages sqlite)
|
2018-05-31 11:08:10 -04:00
|
|
|
|
#:use-module (gnu packages texinfo)
|
|
|
|
|
#:use-module (gnu packages textutils)
|
2018-02-22 03:17:55 -05:00
|
|
|
|
#:use-module (gnu packages tls)
|
|
|
|
|
#:use-module (gnu packages upnp)
|
|
|
|
|
#:use-module (gnu packages video)
|
2018-02-22 06:04:14 -05:00
|
|
|
|
#:use-module (gnu packages vulkan)
|
2018-02-22 03:17:55 -05:00
|
|
|
|
#:use-module (gnu packages wxwidgets)
|
2018-02-22 06:04:14 -05:00
|
|
|
|
#:use-module (gnu packages xdisorg)
|
2018-02-22 03:17:55 -05:00
|
|
|
|
#:use-module (gnu packages xiph)
|
2018-02-22 06:04:14 -05:00
|
|
|
|
#:use-module (gnu packages xml)
|
2018-02-22 03:17:55 -05:00
|
|
|
|
#:use-module (gnu packages xorg)
|
2018-05-31 11:08:10 -04:00
|
|
|
|
#:use-module (gnu packages web)
|
2018-02-22 06:04:14 -05:00
|
|
|
|
#:use-module (guix build-system cmake)
|
|
|
|
|
#:use-module (guix build-system gnu))
|
|
|
|
|
|
|
|
|
|
(define-public desmume
|
|
|
|
|
(package
|
|
|
|
|
(name "desmume")
|
|
|
|
|
(version "0.9.11")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append
|
|
|
|
|
"mirror://sourceforge/desmume/desmume/"
|
|
|
|
|
version "/desmume-" version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"15l8wdw3q61fniy3h93d84dnm6s4pyadvh95a0j6d580rjk4pcrs"))))
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
;; Enable support for WiFi and microphone.
|
|
|
|
|
`(#:configure-flags '("--enable-wifi"
|
|
|
|
|
"--enable-openal")))
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("pkg-config" ,pkg-config)
|
|
|
|
|
("intltool" ,intltool)))
|
|
|
|
|
(inputs
|
|
|
|
|
`(("zlib" ,zlib)
|
|
|
|
|
("sdl" ,sdl)
|
|
|
|
|
("glib" ,glib)
|
|
|
|
|
("gtk+" ,gtk+-2)
|
|
|
|
|
("glu" ,glu)))
|
|
|
|
|
(home-page "http://desmume.org/")
|
|
|
|
|
(synopsis "Nintendo DS emulator")
|
|
|
|
|
(description
|
|
|
|
|
"DeSmuME is an emulator for the Nintendo DS handheld gaming console.")
|
|
|
|
|
(license license:gpl2)))
|
2018-02-22 03:17:55 -05:00
|
|
|
|
|
|
|
|
|
;; Building from recent Git because the official 5.0 release no longer builds.
|
|
|
|
|
(define-public dolphin-emu
|
2019-09-04 14:23:18 -04:00
|
|
|
|
(let ((commit "a9745400ec5cea7e55d94955afbdc44d1a4982d1")
|
|
|
|
|
(revision "7"))
|
2018-02-22 03:17:55 -05:00
|
|
|
|
(package
|
|
|
|
|
(name "dolphin-emu")
|
|
|
|
|
(version (git-version "5.0" revision commit))
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://github.com/dolphin-emu/dolphin.git")
|
|
|
|
|
(commit commit)))
|
|
|
|
|
(file-name (git-file-name name version))
|
2018-02-22 13:42:11 -05:00
|
|
|
|
(modules '((guix build utils)))
|
|
|
|
|
(snippet
|
|
|
|
|
'(begin
|
|
|
|
|
;; Remove external stuff we don't need.
|
|
|
|
|
(for-each (lambda (dir)
|
|
|
|
|
(delete-file-recursively
|
|
|
|
|
(string-append "Externals/" dir)))
|
2018-07-03 03:09:17 -04:00
|
|
|
|
'("LZO" "OpenAL" "Qt" "SFML" "curl" "ffmpeg"
|
2018-02-22 13:42:11 -05:00
|
|
|
|
"gettext" "hidapi" "libpng" "libusb" "mbedtls"
|
2019-09-04 14:23:18 -04:00
|
|
|
|
"miniupnpc" "MoltenVK" "zlib"))
|
2018-02-22 13:42:11 -05:00
|
|
|
|
;; Clean up source.
|
|
|
|
|
(for-each delete-file (find-files "." ".*\\.(bin|dsy|exe|jar|rar)$"))
|
|
|
|
|
#t))
|
2018-02-22 03:17:55 -05:00
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2019-09-04 14:23:18 -04:00
|
|
|
|
"0ic08ii4vlqlmk2wkfc99jiy6nji2wfq56r7slj23wgvhznnaabk"))))
|
2018-02-22 03:17:55 -05:00
|
|
|
|
(build-system cmake-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
'(#:tests? #f
|
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
2018-05-16 09:52:40 -04:00
|
|
|
|
(add-before 'configure 'fixgcc7
|
|
|
|
|
(lambda _
|
|
|
|
|
(unsetenv "C_INCLUDE_PATH")
|
2018-10-31 05:38:39 -04:00
|
|
|
|
(unsetenv "CPLUS_INCLUDE_PATH")
|
|
|
|
|
#t))
|
2018-02-23 04:13:40 -05:00
|
|
|
|
(add-before 'configure 'generate-fonts&hardcore-libvulkan-path
|
2018-02-22 03:17:55 -05:00
|
|
|
|
(lambda* (#:key inputs outputs #:allow-other-keys)
|
|
|
|
|
(let ((fontfile
|
|
|
|
|
(string-append (assoc-ref inputs "font-wqy-microhei")
|
2018-02-23 04:13:40 -05:00
|
|
|
|
"/share/fonts/truetype/wqy-microhei.ttc"))
|
|
|
|
|
(libvulkan
|
2018-06-06 03:59:15 -04:00
|
|
|
|
(string-append (assoc-ref inputs "vulkan-loader")
|
2018-02-23 04:13:40 -05:00
|
|
|
|
"/lib/libvulkan.so")))
|
2018-02-22 03:17:55 -05:00
|
|
|
|
(chdir "docs")
|
|
|
|
|
(invoke "bash" "-c" "g++ -O2 -std=c++11 $(freetype-config \
|
|
|
|
|
--cflags --libs) gc-font-tool.cpp -o gc-font-tool")
|
|
|
|
|
(invoke "./gc-font-tool" "a" fontfile "font_western.bin")
|
|
|
|
|
(invoke "./gc-font-tool" "s" fontfile "font_japanese.bin")
|
|
|
|
|
(copy-file "font_japanese.bin" "../Data/Sys/GC/font_japanese.bin")
|
|
|
|
|
(copy-file "font_western.bin" "../Data/Sys/GC/font_western.bin")
|
|
|
|
|
(chdir "..")
|
2018-02-23 04:13:40 -05:00
|
|
|
|
(substitute* "Source/Core/VideoBackends/Vulkan/VulkanLoader.cpp"
|
2019-09-04 14:23:18 -04:00
|
|
|
|
(("\"vulkan\", 1") (string-append "\"vulkan\"")))
|
|
|
|
|
(substitute* "Source/Core/VideoBackends/Vulkan/VulkanLoader.cpp"
|
|
|
|
|
(("\"vulkan\"") (string-append "\"" libvulkan "\"")))
|
|
|
|
|
(substitute* "Source/Core/VideoBackends/Vulkan/VulkanLoader.cpp"
|
|
|
|
|
(("Common::DynamicLibrary::GetVersionedFilename") ""))
|
2018-02-22 03:17:55 -05:00
|
|
|
|
#t))))
|
|
|
|
|
|
2018-07-03 03:09:17 -04:00
|
|
|
|
;; The FindGTK2 cmake script only checks hardcoded directories for
|
|
|
|
|
;; glib/gtk headers.
|
|
|
|
|
|
2018-02-22 03:17:55 -05:00
|
|
|
|
#:configure-flags
|
2018-07-03 03:09:17 -04:00
|
|
|
|
(list (string-append "-DX11_INCLUDE_DIR="
|
2018-02-22 03:17:55 -05:00
|
|
|
|
(assoc-ref %build-inputs "libx11")
|
|
|
|
|
"/include")
|
|
|
|
|
(string-append "-DX11_LIBRARIES="
|
|
|
|
|
(assoc-ref %build-inputs "libx11")
|
|
|
|
|
"/lib/libX11.so")
|
|
|
|
|
"-DX11_FOUND=1")))
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("pkg-config" ,pkg-config)
|
2018-05-16 09:52:40 -04:00
|
|
|
|
("gcc" ,gcc-7) ; Building with gcc@5 doesn't work anymore.
|
2018-02-22 03:17:55 -05:00
|
|
|
|
("gettext" ,gnu-gettext)))
|
|
|
|
|
(inputs
|
|
|
|
|
`(("alsa-lib" ,alsa-lib)
|
|
|
|
|
("ao" ,ao)
|
|
|
|
|
("bluez" ,bluez)
|
|
|
|
|
("curl" ,curl)
|
|
|
|
|
("eudev" ,eudev)
|
2018-11-01 03:18:18 -04:00
|
|
|
|
("ffmpeg" ,ffmpeg)
|
2018-02-22 03:17:55 -05:00
|
|
|
|
("font-wqy-microhei" ,font-wqy-microhei)
|
|
|
|
|
("freetype" ,freetype)
|
|
|
|
|
("glew" ,glew)
|
|
|
|
|
("glib" ,glib)
|
|
|
|
|
("glu" ,glu)
|
|
|
|
|
("gtk+" ,gtk+-2)
|
|
|
|
|
("hidapi" ,hidapi)
|
|
|
|
|
("libevdev" ,libevdev)
|
|
|
|
|
("libpng" ,libpng)
|
|
|
|
|
("libusb" ,libusb)
|
|
|
|
|
("libx11" ,libx11)
|
|
|
|
|
("libxi" ,libxi)
|
|
|
|
|
("libxrandr" ,libxrandr)
|
|
|
|
|
("lzo" ,lzo)
|
|
|
|
|
("mbedtls-apache" ,mbedtls-apache)
|
|
|
|
|
("mesa" ,mesa)
|
|
|
|
|
("miniupnpc" ,miniupnpc)
|
|
|
|
|
("openal" ,openal)
|
2018-07-03 03:09:17 -04:00
|
|
|
|
("pugixml" ,pugixml)
|
2018-02-22 03:17:55 -05:00
|
|
|
|
("pulseaudio" ,pulseaudio)
|
|
|
|
|
("qtbase" ,qtbase)
|
|
|
|
|
("sdl2" ,sdl2)
|
|
|
|
|
("sfml" ,sfml)
|
|
|
|
|
("soil" ,soil)
|
|
|
|
|
("soundtouch" ,soundtouch)
|
2018-06-06 03:59:15 -04:00
|
|
|
|
("vulkan-loader" ,vulkan-loader)
|
2018-02-22 03:17:55 -05:00
|
|
|
|
("zlib" ,zlib)))
|
|
|
|
|
(home-page "https://dolphin-emu.org/")
|
|
|
|
|
(synopsis "Nintendo Wii and GameCube emulator")
|
|
|
|
|
(description
|
|
|
|
|
"Dolphin is an emulator for two Nintendo video game consoles: the
|
|
|
|
|
GameCube and the Wii. It provides compatibility with all PC controllers,
|
|
|
|
|
turbo speed, networked multiplayer, and graphical enhancements.")
|
2018-02-22 13:28:55 -05:00
|
|
|
|
(supported-systems '("x86_64-linux" "aarch64-linux"))
|
2018-02-22 03:17:55 -05:00
|
|
|
|
; dolphin/Data/Sys/GC/font_*.bin: Licensed under ASL2.0.
|
|
|
|
|
(license (list license:gpl2+ license:asl2.0 license:fdl1.2+)))))
|
2018-02-22 06:04:14 -05:00
|
|
|
|
|
|
|
|
|
(define-public dosbox
|
|
|
|
|
(package
|
|
|
|
|
(name "dosbox")
|
2019-06-27 04:21:47 -04:00
|
|
|
|
(version "0.74-3")
|
2018-02-22 06:04:14 -05:00
|
|
|
|
(source (origin
|
2019-01-14 03:04:23 -05:00
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "https://sourceforge.net/projects/dosbox"
|
|
|
|
|
"/files/dosbox/" version "/dosbox-"
|
|
|
|
|
version ".tar.gz/download"))
|
|
|
|
|
(file-name (string-append name "-" version ".tar.gz"))
|
2018-02-22 06:04:14 -05:00
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2019-06-27 04:21:47 -04:00
|
|
|
|
"02i648i50dwicv1vaql15rccv4g8h5blf5g6inv67lrfxpbkvlf0"))))
|
2018-02-22 06:04:14 -05:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("autoconf" ,autoconf)
|
|
|
|
|
("automake" ,automake)))
|
|
|
|
|
(inputs
|
|
|
|
|
`(("sdl" ,sdl)
|
|
|
|
|
("libpng" ,libpng)
|
|
|
|
|
("zlib" ,zlib)
|
|
|
|
|
("alsa-lib" ,alsa-lib)
|
|
|
|
|
("glu" ,glu)
|
|
|
|
|
("mesa" ,mesa)))
|
|
|
|
|
(home-page "http://www.dosbox.com")
|
|
|
|
|
(synopsis "X86 emulator with CGA/EGA/VGA/etc. graphics and sound")
|
|
|
|
|
(description "DOSBox is a DOS-emulator that uses the SDL library. DOSBox
|
|
|
|
|
also emulates CPU:286/386 realmode/protected mode, Directory
|
|
|
|
|
FileSystem/XMS/EMS, Tandy/Hercules/CGA/EGA/VGA/VESA graphics, a
|
|
|
|
|
SoundBlaster/Gravis Ultra Sound card for excellent sound compatibility with
|
|
|
|
|
older games.")
|
|
|
|
|
(license license:gpl2+)))
|
|
|
|
|
|
|
|
|
|
(define-public emulation-station
|
|
|
|
|
(let ((commit "646bede3d9ec0acf0ae378415edac136774a66c5"))
|
|
|
|
|
(package
|
|
|
|
|
(name "emulation-station")
|
|
|
|
|
(version "2.0.1")
|
|
|
|
|
(source (origin
|
|
|
|
|
(method git-fetch) ; no tarball available
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://github.com/Aloshi/EmulationStation.git")
|
|
|
|
|
(commit commit))) ; no version tag
|
|
|
|
|
(file-name (string-append name "-" version "-checkout"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"0cm0sq2wri2l9cvab1l0g02za59q7klj0h3p028vr96n6njj4w9v"))))
|
|
|
|
|
(build-system cmake-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
'(#:tests? #f)) ; no tests
|
|
|
|
|
(inputs
|
|
|
|
|
`(("alsa-lib" ,alsa-lib)
|
|
|
|
|
("boost" ,boost)
|
|
|
|
|
("curl" ,curl)
|
|
|
|
|
("eigin" ,eigen)
|
|
|
|
|
("freeimage" ,freeimage)
|
|
|
|
|
("freetype" ,freetype)
|
|
|
|
|
("mesa" ,mesa)
|
|
|
|
|
("sdl2" ,sdl2)))
|
|
|
|
|
(synopsis "Video game console emulator front-end")
|
|
|
|
|
(description "EmulationStation provides a graphical front-end to a large
|
|
|
|
|
number of video game console emulators. It features an interface that is
|
|
|
|
|
usable with any game controller that has at least 4 buttons, theming support,
|
|
|
|
|
and a game metadata scraper.")
|
|
|
|
|
(home-page "http://www.emulationstation.org")
|
|
|
|
|
(license license:expat))))
|
|
|
|
|
|
|
|
|
|
(define-public higan
|
|
|
|
|
(package
|
|
|
|
|
(name "higan")
|
|
|
|
|
(version "106")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append
|
|
|
|
|
"https://gitlab.com/higan/higan/repository/archive.tar.gz?ref=v"
|
|
|
|
|
version))
|
|
|
|
|
(file-name (string-append name "-" version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32 "0y42pra0dxzlbkyzcp3r8a39pji2bj3p9fl40425f60af2igr4rw"))
|
|
|
|
|
(patches (search-patches "higan-remove-march-native-flag.patch"))))
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("pkg-config" ,pkg-config)))
|
|
|
|
|
(inputs
|
|
|
|
|
`(("alsa-lib" ,alsa-lib)
|
|
|
|
|
("ao" ,ao)
|
|
|
|
|
("eudev" ,eudev)
|
|
|
|
|
("gtk+" ,gtk+-2)
|
|
|
|
|
("gtksourceview-2" ,gtksourceview-2)
|
|
|
|
|
("libxv" ,libxv)
|
|
|
|
|
("mesa" ,mesa)
|
|
|
|
|
("openal" ,openal)
|
|
|
|
|
("pulseaudio" ,pulseaudio)
|
|
|
|
|
("sdl" ,sdl)))
|
|
|
|
|
(arguments
|
|
|
|
|
'(#:phases
|
|
|
|
|
(let ((build-phase (assoc-ref %standard-phases 'build))
|
|
|
|
|
(install-phase (assoc-ref %standard-phases 'install)))
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
;; The higan build system has no configure phase.
|
|
|
|
|
(delete 'configure)
|
|
|
|
|
(add-before 'build 'chdir-to-higan
|
|
|
|
|
(lambda _
|
|
|
|
|
(chdir "higan")))
|
|
|
|
|
(add-before 'install 'create-/share/applications
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
(let ((out (assoc-ref outputs "out")))
|
|
|
|
|
;; It seems the author forgot to do this in the Makefile.
|
|
|
|
|
(mkdir-p (string-append out "/share/applications")))))
|
|
|
|
|
(add-after 'install 'chdir-to-icarus
|
|
|
|
|
(lambda _
|
|
|
|
|
(chdir "../icarus")))
|
|
|
|
|
(add-after 'chdir-to-icarus 'build-icarus build-phase)
|
|
|
|
|
(add-after 'build-icarus 'install-icarus install-phase)
|
|
|
|
|
(add-after 'install-icarus 'wrap-higan-executable
|
|
|
|
|
(lambda* (#:key inputs outputs #:allow-other-keys)
|
|
|
|
|
(let* ((out (assoc-ref outputs "out"))
|
|
|
|
|
(bin (string-append out "/bin"))
|
|
|
|
|
(higan (string-append bin "/higan"))
|
|
|
|
|
(higan-original (string-append higan "-original"))
|
|
|
|
|
(bash (string-append (assoc-ref inputs "bash")
|
|
|
|
|
"/bin/bash"))
|
|
|
|
|
(coreutils (assoc-ref inputs "coreutils"))
|
|
|
|
|
(mkdir (string-append coreutils "/bin/mkdir"))
|
|
|
|
|
(cp (string-append coreutils "/bin/cp"))
|
|
|
|
|
(cp-r (string-append cp " -r --no-preserve=mode")))
|
|
|
|
|
;; First, have the executable make sure ~/.local/share/higan
|
|
|
|
|
;; contains up to date files. Higan insists on looking there
|
|
|
|
|
;; for these data files.
|
|
|
|
|
(rename-file higan higan-original)
|
|
|
|
|
(with-output-to-file higan
|
|
|
|
|
(lambda ()
|
|
|
|
|
(display
|
|
|
|
|
(string-append
|
|
|
|
|
"#!" bash "\n"
|
|
|
|
|
;; higan doesn't respect $XDG_DATA_HOME
|
|
|
|
|
mkdir " -p ~/.local/share\n"
|
|
|
|
|
cp-r " " out "/share/higan ~/.local/share\n"
|
|
|
|
|
"exec " higan-original))))
|
|
|
|
|
(chmod higan #o555)
|
|
|
|
|
;; Second, make sure higan will find icarus in PATH.
|
|
|
|
|
(wrap-program higan
|
|
|
|
|
`("PATH" ":" prefix (,bin))))))))
|
|
|
|
|
#:make-flags
|
|
|
|
|
(list "compiler=g++"
|
|
|
|
|
(string-append "prefix=" (assoc-ref %outputs "out")))
|
|
|
|
|
;; There is no test suite.
|
|
|
|
|
#:tests? #f))
|
|
|
|
|
(home-page "http://byuu.org/emulation/higan/")
|
|
|
|
|
(synopsis "Nintendo multi-system emulator")
|
|
|
|
|
(description
|
|
|
|
|
"higan (formerly bsnes) is an emulator for multiple Nintendo video game
|
|
|
|
|
consoles, including the Nintendo Entertainment System (NES/Famicom), Super
|
|
|
|
|
Nintendo Entertainment System (SNES/Super Famicom), Game Boy, Game Boy
|
|
|
|
|
Color (GBC), and Game Boy Advance (GBA). It also supports the subsystems
|
|
|
|
|
Super Game Boy, BS-X Satellaview, and Sufami Turbo.")
|
|
|
|
|
;; As noted in these files among more:
|
|
|
|
|
;; - icarus/icarus.cpp
|
|
|
|
|
;; - higan/emulator/emulator.hpp
|
|
|
|
|
(license license:gpl3)))
|
|
|
|
|
|
|
|
|
|
(define-public mgba
|
|
|
|
|
(package
|
|
|
|
|
(name "mgba")
|
2019-09-16 02:20:35 -04:00
|
|
|
|
(version "0.7.3")
|
2018-02-22 06:04:14 -05:00
|
|
|
|
(source (origin
|
2019-01-28 03:15:09 -05:00
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://github.com/mgba-emu/mgba.git")
|
|
|
|
|
(commit version)))
|
|
|
|
|
(file-name (git-file-name name version))
|
2018-02-22 06:04:14 -05:00
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2019-09-16 02:20:35 -04:00
|
|
|
|
"1wrmwh50rv8bd328r8cisrihq6h90kx2bfb0vmjfbsd3l1jvgrgm"))
|
2018-02-22 06:04:14 -05:00
|
|
|
|
(modules '((guix build utils)))
|
|
|
|
|
(snippet
|
|
|
|
|
;; Make sure we don't use the bundled software.
|
gnu: All snippets report errors using exceptions, else return #t.
* gnu/packages/admin.scm, gnu/packages/algebra.scm, gnu/packages/audio.scm,
gnu/packages/backup.scm, gnu/packages/base.scm,
gnu/packages/bioinformatics.scm, gnu/packages/cdrom.scm,
gnu/packages/chez.scm, gnu/packages/code.scm, gnu/packages/compression.scm,
gnu/packages/cross-base.scm, gnu/packages/crypto.scm, gnu/packages/cups.scm,
gnu/packages/databases.scm, gnu/packages/dns.scm, gnu/packages/emacs.scm,
gnu/packages/emulators.scm, gnu/packages/engineering.scm,
gnu/packages/enlightenment.scm, gnu/packages/fpga.scm,
gnu/packages/freedesktop.scm, gnu/packages/ftp.scm, gnu/packages/games.scm,
gnu/packages/gcc.scm, gnu/packages/geo.scm, gnu/packages/ghostscript.scm,
gnu/packages/gl.scm, gnu/packages/glib.scm, gnu/packages/gnome.scm,
gnu/packages/gnuzilla.scm, gnu/packages/graphics.scm, gnu/packages/gtk.scm,
gnu/packages/guile.scm, gnu/packages/irc.scm, gnu/packages/java.scm,
gnu/packages/kerberos.scm, gnu/packages/linux.scm, gnu/packages/lisp.scm,
gnu/packages/lxde.scm, gnu/packages/machine-learning.scm,
gnu/packages/mail.scm, gnu/packages/maths.scm, gnu/packages/messaging.scm,
gnu/packages/monitoring.scm, gnu/packages/mp3.scm, gnu/packages/music.scm,
gnu/packages/netpbm.scm, gnu/packages/networking.scm, gnu/packages/node.scm,
gnu/packages/nvi.scm, gnu/packages/ocaml.scm, gnu/packages/pdf.scm,
gnu/packages/perl.scm, gnu/packages/php.scm, gnu/packages/plotutils.scm,
gnu/packages/pretty-print.scm, gnu/packages/profiling.scm,
gnu/packages/pulseaudio.scm, gnu/packages/python-crypto.scm,
gnu/packages/python.scm, gnu/packages/qt.scm, gnu/packages/robotics.scm,
gnu/packages/sawfish.scm, gnu/packages/scanner.scm, gnu/packages/scheme.scm,
gnu/packages/scribus.scm, gnu/packages/sdl.scm,
gnu/packages/serialization.scm, gnu/packages/shells.scm,
gnu/packages/slang.scm, gnu/packages/smalltalk.scm, gnu/packages/ssh.scm,
gnu/packages/sync.scm, gnu/packages/syncthing.scm, gnu/packages/tbb.scm,
gnu/packages/terminals.scm, gnu/packages/texinfo.scm,
gnu/packages/text-editors.scm, gnu/packages/textutils.scm,
gnu/packages/tls.scm, gnu/packages/unrtf.scm,
gnu/packages/version-control.scm, gnu/packages/video.scm,
gnu/packages/vpn.scm, gnu/packages/web.scm, gnu/packages/wm.scm,
gnu/packages/wxwidgets.scm, gnu/packages/xdisorg.scm, gnu/packages/xorg.scm:
In all snippets, report errors using exceptions, or else return #t.
2018-03-16 07:47:34 -04:00
|
|
|
|
'(begin
|
|
|
|
|
(for-each
|
|
|
|
|
(lambda (subdir)
|
|
|
|
|
(let ((lib-subdir (string-append "src/third-party/" subdir)))
|
|
|
|
|
(delete-file-recursively lib-subdir)))
|
|
|
|
|
'("libpng" "lzma" "sqlite3" "zlib"))
|
|
|
|
|
#t))))
|
2018-02-22 06:04:14 -05:00
|
|
|
|
(build-system cmake-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:tests? #f ;no "test" target
|
|
|
|
|
#:configure-flags
|
|
|
|
|
(list "-DUSE_LZMA=OFF" ;do not use bundled LZMA
|
2019-01-28 03:15:09 -05:00
|
|
|
|
"-DUSE_LIBZIP=OFF"))) ;use "zlib" instead
|
2018-02-22 06:04:14 -05:00
|
|
|
|
(native-inputs `(("pkg-config" ,pkg-config)))
|
2019-02-26 10:18:12 -05:00
|
|
|
|
(inputs `(("ffmpeg" ,ffmpeg)
|
2018-02-22 06:04:14 -05:00
|
|
|
|
("imagemagick" ,imagemagick)
|
|
|
|
|
("libedit" ,libedit)
|
2019-02-26 10:18:12 -05:00
|
|
|
|
("libelf" ,libelf)
|
2018-02-22 06:04:14 -05:00
|
|
|
|
("libepoxy" ,libepoxy)
|
|
|
|
|
("libpng" ,libpng)
|
|
|
|
|
("mesa" ,mesa)
|
|
|
|
|
("minizip" ,minizip)
|
|
|
|
|
("ncurses" ,ncurses)
|
|
|
|
|
("qtbase" ,qtbase)
|
|
|
|
|
("qtmultimedia" ,qtmultimedia)
|
|
|
|
|
("qttools" ,qttools)
|
|
|
|
|
("sdl2" ,sdl2)
|
|
|
|
|
("sqlite" ,sqlite)
|
|
|
|
|
("zlib" ,zlib)))
|
|
|
|
|
(home-page "https://mgba.io")
|
|
|
|
|
(synopsis "Game Boy Advance emulator")
|
|
|
|
|
(description
|
|
|
|
|
"mGBA is an emulator for running Game Boy Advance games. It aims to be
|
|
|
|
|
faster and more accurate than many existing Game Boy Advance emulators, as
|
|
|
|
|
well as adding features that other emulators lack. It also supports Game Boy
|
|
|
|
|
and Game Boy Color games.")
|
|
|
|
|
;; Code is mainly MPL 2.0. "blip_buf.c" is LGPL 2.1+ and "inih.c" is
|
|
|
|
|
;; BSD-3.
|
|
|
|
|
(license (list license:mpl2.0 license:lgpl2.1+ license:bsd-3))))
|
|
|
|
|
|
|
|
|
|
(define-public mupen64plus-core
|
|
|
|
|
(package
|
|
|
|
|
(name "mupen64plus-core")
|
|
|
|
|
(version "2.5")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
2019-04-08 17:48:11 -04:00
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://github.com/mupen64plus/mupen64plus-core.git")
|
|
|
|
|
(commit version)))
|
|
|
|
|
(file-name (git-file-name name version))
|
2018-02-22 06:04:14 -05:00
|
|
|
|
(sha256
|
2019-04-08 17:48:11 -04:00
|
|
|
|
(base32 "116fndl6652zrp1r6ag4xv3dzp1x52mlvadj8xwflq07fd5rhri1"))))
|
2018-02-22 06:04:14 -05:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("pkg-config" ,pkg-config)
|
|
|
|
|
("which" ,which)))
|
|
|
|
|
(inputs
|
|
|
|
|
`(("freetype" ,freetype)
|
|
|
|
|
("glu" ,glu)
|
|
|
|
|
("libpng" ,libpng)
|
|
|
|
|
("mesa" ,mesa)
|
|
|
|
|
("sdl2" ,sdl2)
|
|
|
|
|
("zlib" ,zlib)))
|
|
|
|
|
(arguments
|
|
|
|
|
'(#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
;; The mupen64plus build system has no configure phase.
|
|
|
|
|
(delete 'configure)
|
|
|
|
|
;; Makefile is in a subdirectory.
|
|
|
|
|
(add-before
|
2019-07-10 04:26:41 -04:00
|
|
|
|
'build 'chdir-to-project-directory
|
2018-02-22 06:04:14 -05:00
|
|
|
|
(lambda _
|
2019-07-10 04:26:41 -04:00
|
|
|
|
(chdir "projects/unix")
|
|
|
|
|
#t)))
|
2018-02-22 06:04:14 -05:00
|
|
|
|
#:make-flags (let ((out (assoc-ref %outputs "out")))
|
|
|
|
|
(list "all" (string-append "PREFIX=" out)))
|
|
|
|
|
;; There are no tests.
|
|
|
|
|
#:tests? #f))
|
|
|
|
|
;; As per the Makefile (in projects/unix/Makefile):
|
|
|
|
|
(supported-systems '("i686-linux" "x86_64-linux"))
|
2019-07-10 04:26:41 -04:00
|
|
|
|
(home-page "https://www.mupen64plus.org/")
|
2018-02-22 06:04:14 -05:00
|
|
|
|
(synopsis "Nintendo 64 emulator core library")
|
|
|
|
|
(description
|
|
|
|
|
"Mupen64Plus is a cross-platform plugin-based Nintendo 64 (N64) emulator
|
|
|
|
|
which is capable of accurately playing many games. This package contains the
|
|
|
|
|
core library.")
|
|
|
|
|
(license license:gpl2+)))
|
|
|
|
|
|
|
|
|
|
(define-public mupen64plus-audio-sdl
|
|
|
|
|
(package
|
|
|
|
|
(name "mupen64plus-audio-sdl")
|
|
|
|
|
(version "2.5")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
2019-04-08 17:48:20 -04:00
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://github.com/mupen64plus/mupen64plus-audio-sdl.git")
|
|
|
|
|
(commit version)))
|
|
|
|
|
(file-name (git-file-name name version))
|
2018-02-22 06:04:14 -05:00
|
|
|
|
(sha256
|
2019-04-08 17:48:20 -04:00
|
|
|
|
(base32 "0z19amfg9vr2pqjjri1ipc7hs681fzjcnb0f9y7bjhp5n8d7p6bb"))))
|
2018-02-22 06:04:14 -05:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("pkg-config" ,pkg-config)
|
|
|
|
|
("which" ,which)))
|
|
|
|
|
(inputs
|
|
|
|
|
`(("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))
|
2019-07-10 04:26:51 -04:00
|
|
|
|
(home-page "https://www.mupen64plus.org/")
|
2018-02-22 06:04:14 -05:00
|
|
|
|
(synopsis "Mupen64Plus SDL input 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
|
|
|
|
|
SDL audio plugin.")
|
|
|
|
|
(license license:gpl2+)))
|
|
|
|
|
|
|
|
|
|
(define-public mupen64plus-input-sdl
|
|
|
|
|
(package
|
|
|
|
|
(name "mupen64plus-input-sdl")
|
|
|
|
|
(version "2.5")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
2019-04-08 17:48:28 -04:00
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://github.com/mupen64plus/mupen64plus-input-sdl.git")
|
|
|
|
|
(commit version)))
|
|
|
|
|
(file-name (git-file-name name version))
|
2018-02-22 06:04:14 -05:00
|
|
|
|
(sha256
|
2019-04-08 17:48:28 -04:00
|
|
|
|
(base32 "1dyazfbdjycdfslq8jixqiqhziw0rlkvach2r9dz91229jmkyc9c"))))
|
2018-02-22 06:04:14 -05:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("which" ,which)))
|
|
|
|
|
(inputs
|
|
|
|
|
`(("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))
|
2019-07-10 04:27:01 -04:00
|
|
|
|
(home-page "https://www.mupen64plus.org/")
|
2018-02-22 06:04:14 -05:00
|
|
|
|
(synopsis "Mupen64Plus SDL input 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
|
|
|
|
|
SDL input plugin.")
|
|
|
|
|
(license license:gpl2+)))
|
|
|
|
|
|
|
|
|
|
(define-public mupen64plus-rsp-hle
|
|
|
|
|
(package
|
|
|
|
|
(name "mupen64plus-rsp-hle")
|
|
|
|
|
(version "2.5")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
2019-04-08 17:48:36 -04:00
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://github.com/mupen64plus/mupen64plus-rsp-hle.git")
|
|
|
|
|
(commit version)))
|
|
|
|
|
(file-name (git-file-name name version))
|
2018-02-22 06:04:14 -05:00
|
|
|
|
(sha256
|
2019-04-08 17:48:36 -04:00
|
|
|
|
(base32 "0pi31qzjjp7aypdvvnz6ms18g09c4gqzxi6328zj8sji94b75gf0"))))
|
2018-02-22 06:04:14 -05:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(inputs
|
|
|
|
|
`(("mupen64plus-core" ,mupen64plus-core)))
|
|
|
|
|
(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))
|
2019-07-10 04:27:11 -04:00
|
|
|
|
(home-page "https://www.mupen64plus.org/")
|
2018-02-22 06:04:14 -05:00
|
|
|
|
(synopsis "Mupen64Plus SDL input 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
|
|
|
|
|
high-level emulation (HLE) RSP processor plugin.")
|
|
|
|
|
(license license:gpl2+)))
|
|
|
|
|
|
|
|
|
|
(define-public mupen64plus-rsp-z64
|
|
|
|
|
(package
|
|
|
|
|
(name "mupen64plus-rsp-z64")
|
|
|
|
|
(version "2.0.0")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
2019-04-08 17:48:45 -04:00
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://github.com/mupen64plus/mupen64plus-rsp-z64.git")
|
|
|
|
|
(commit version)))
|
|
|
|
|
(file-name (git-file-name name version))
|
2018-02-22 06:04:14 -05:00
|
|
|
|
(sha256
|
2019-04-08 17:48:45 -04:00
|
|
|
|
(base32 "0nfyjns9k8xbg3aqs7593nfaxvlj72h3l8h467442xlk8ajfcylx"))))
|
2018-02-22 06:04:14 -05:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(inputs
|
|
|
|
|
`(("mupen64plus-core" ,mupen64plus-core)))
|
|
|
|
|
(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))
|
2019-07-10 04:27:24 -04:00
|
|
|
|
(home-page "https://www.mupen64plus.org/")
|
2018-02-22 06:04:14 -05:00
|
|
|
|
(synopsis "Mupen64Plus SDL input 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
|
|
|
|
|
Z64 RSP processor plugin.")
|
|
|
|
|
(license license:gpl2+)))
|
|
|
|
|
|
|
|
|
|
(define-public mupen64plus-video-arachnoid
|
|
|
|
|
(package
|
|
|
|
|
(name "mupen64plus-video-arachnoid")
|
|
|
|
|
(version "2.0.0")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
2019-04-08 17:48:52 -04:00
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://github.com/mupen64plus/mupen64plus-video-arachnoid.git")
|
|
|
|
|
(commit version)))
|
|
|
|
|
(file-name (git-file-name name version))
|
2018-02-22 06:04:14 -05:00
|
|
|
|
(sha256
|
2019-04-08 17:48:52 -04:00
|
|
|
|
(base32 "1v9fqwpb6pawr8z5cm2ki7bqkks4iyr5c4jy4v5khj6h8zcv55gc"))))
|
2018-02-22 06:04:14 -05:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("pkg-config" ,pkg-config)
|
|
|
|
|
("which" ,which)))
|
|
|
|
|
(inputs
|
|
|
|
|
`(("mesa" ,mesa)
|
|
|
|
|
("mupen64plus-core" ,mupen64plus-core)))
|
|
|
|
|
(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))
|
2019-07-10 04:27:41 -04:00
|
|
|
|
(home-page "https://www.mupen64plus.org/")
|
2018-02-22 06:04:14 -05:00
|
|
|
|
(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
|
|
|
|
|
Arachnoid video plugin.")
|
|
|
|
|
(license license:gpl2+)))
|
|
|
|
|
|
|
|
|
|
(define-public mupen64plus-video-glide64
|
|
|
|
|
(package
|
|
|
|
|
(name "mupen64plus-video-glide64")
|
|
|
|
|
(version "2.0.0")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
2019-04-08 17:49:02 -04:00
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://github.com/mupen64plus/mupen64plus-video-glide64.git")
|
|
|
|
|
(commit version)))
|
|
|
|
|
(file-name (git-file-name name version))
|
2018-02-22 06:04:14 -05:00
|
|
|
|
(sha256
|
2019-04-08 17:49:02 -04:00
|
|
|
|
(base32 "0qn5za7g7796kh2ag3xpmhbqg0yf71g9liz6ks0rha8pz73lgs01"))))
|
2018-02-22 06:04:14 -05:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("pkg-config" ,pkg-config)
|
|
|
|
|
("which" ,which)))
|
|
|
|
|
(inputs
|
|
|
|
|
`(("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")))
|
|
|
|
|
;; XXX Should be unnecessary with the next release.
|
|
|
|
|
(add-before
|
|
|
|
|
'build 'use-sdl2
|
|
|
|
|
(lambda _
|
|
|
|
|
(substitute* "Makefile"
|
|
|
|
|
(("SDL_CONFIG = (.*)sdl-config" all prefix)
|
|
|
|
|
(string-append "SDL_CONFIG = " prefix "sdl2-config"))))))
|
|
|
|
|
#: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))
|
2019-07-10 04:27:56 -04:00
|
|
|
|
(home-page "https://www.mupen64plus.org/")
|
2018-02-22 06:04:14 -05:00
|
|
|
|
(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
|
|
|
|
|
Glide64 video plugin.")
|
|
|
|
|
(license license:gpl2+)))
|
|
|
|
|
|
|
|
|
|
(define-public mupen64plus-video-glide64mk2
|
|
|
|
|
(package
|
|
|
|
|
(name "mupen64plus-video-glide64mk2")
|
|
|
|
|
(version "2.5")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
2019-04-08 17:49:12 -04:00
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://github.com/mupen64plus/mupen64plus-video-glide64mk2.git")
|
|
|
|
|
(commit version)))
|
|
|
|
|
(file-name (git-file-name name version))
|
2018-02-22 06:04:14 -05:00
|
|
|
|
(sha256
|
2019-04-08 17:49:12 -04:00
|
|
|
|
(base32 "08pm28a36dpr0cvr8pzw0n5ksdazp7jqvlmqfy2lwb4dm0cwhkqd"))))
|
2018-02-22 06:04:14 -05:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("pkg-config" ,pkg-config)
|
|
|
|
|
("which" ,which)))
|
|
|
|
|
(inputs
|
|
|
|
|
`(("boost" ,boost)
|
|
|
|
|
("libpng" ,libpng)
|
|
|
|
|
("mesa" ,mesa)
|
|
|
|
|
("mupen64plus-core" ,mupen64plus-core)
|
|
|
|
|
("sdl2" ,sdl2)
|
|
|
|
|
("zlib" ,zlib)))
|
|
|
|
|
(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))
|
2019-07-10 04:28:11 -04:00
|
|
|
|
(home-page "https://www.mupen64plus.org/")
|
2018-02-22 06:04:14 -05:00
|
|
|
|
(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
|
|
|
|
|
Glide64MK2 video plugin.")
|
|
|
|
|
(license license:gpl2+)))
|
|
|
|
|
|
|
|
|
|
(define-public mupen64plus-video-rice
|
|
|
|
|
(package
|
|
|
|
|
(name "mupen64plus-video-rice")
|
|
|
|
|
(version "2.5")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
2019-04-08 17:49:22 -04:00
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://github.com/mupen64plus/mupen64plus-video-rice.git")
|
|
|
|
|
(commit version)))
|
|
|
|
|
(file-name (git-file-name name version))
|
2018-02-22 06:04:14 -05:00
|
|
|
|
(sha256
|
2019-04-08 17:49:22 -04:00
|
|
|
|
(base32 "0rpmbcq67gsj5h5jjis146378qc1mskskvx20y1ikx59yhbamh13"))))
|
2018-02-22 06:04:14 -05:00
|
|
|
|
(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))
|
2019-07-10 04:28:28 -04:00
|
|
|
|
(home-page "https://www.mupen64plus.org/")
|
2018-02-22 06:04:14 -05:00
|
|
|
|
(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 mupen64plus-video-z64
|
|
|
|
|
(package
|
|
|
|
|
(name "mupen64plus-video-z64")
|
|
|
|
|
(version "2.0.0")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
2019-04-08 17:49:30 -04:00
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://github.com/mupen64plus/mupen64plus-video-z64.git")
|
|
|
|
|
(commit version)))
|
|
|
|
|
(file-name (git-file-name name version))
|
2018-02-22 06:04:14 -05:00
|
|
|
|
(sha256
|
2019-04-08 17:49:30 -04:00
|
|
|
|
(base32 "04qa2fdd6dakpk2v0d4l80xh9b4h8gm71g80c0wyyxdhmhwk1r9c"))
|
2018-04-15 06:05:54 -04:00
|
|
|
|
(patches (search-patches "mupen64plus-video-z64-glew-correct-path.patch"))))
|
2018-02-22 06:04:14 -05:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("pkg-config" ,pkg-config)
|
|
|
|
|
("which" ,which)))
|
|
|
|
|
(inputs
|
|
|
|
|
`(("glew" ,glew)
|
|
|
|
|
("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")))
|
|
|
|
|
;; XXX Should be unnecessary with the next release.
|
|
|
|
|
(add-before
|
|
|
|
|
'build 'use-sdl2
|
|
|
|
|
(lambda _
|
|
|
|
|
(substitute* "Makefile"
|
|
|
|
|
(("SDL_CONFIG = (.*)sdl-config" all prefix)
|
|
|
|
|
(string-append "SDL_CONFIG = " prefix "sdl2-config"))))))
|
|
|
|
|
#: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))
|
2019-07-10 04:28:56 -04:00
|
|
|
|
(home-page "https://www.mupen64plus.org/")
|
2018-02-22 06:04:14 -05:00
|
|
|
|
(synopsis "Mupen64Plus Z64 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
|
|
|
|
|
Z64 video plugin.")
|
|
|
|
|
(license license:gpl2+)))
|
|
|
|
|
|
|
|
|
|
(define-public mupen64plus-ui-console
|
|
|
|
|
(package
|
|
|
|
|
(name "mupen64plus-ui-console")
|
|
|
|
|
(version "2.5")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
2019-04-08 17:49:46 -04:00
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://github.com/mupen64plus/mupen64plus-ui-console.git")
|
|
|
|
|
(commit version)))
|
|
|
|
|
(file-name (git-file-name name version))
|
2018-02-22 06:04:14 -05:00
|
|
|
|
(sha256
|
2019-04-08 17:49:46 -04:00
|
|
|
|
(base32 "0vrf98qa6a0y3647kslsv644fag233dxh5dcr1yncjiiwickcr5a"))
|
2018-02-22 06:04:14 -05:00
|
|
|
|
(patches (search-patches "mupen64plus-ui-console-notice.patch"))))
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("pkg-config" ,pkg-config)
|
|
|
|
|
("which" ,which)))
|
|
|
|
|
(inputs
|
|
|
|
|
`(("sdl2" ,sdl2)))
|
|
|
|
|
;; Mupen64Plus supports a single data directory and a single plugin
|
|
|
|
|
;; directory in its configuration, yet we need data and plugin files from
|
|
|
|
|
;; a variety of packages. The best way to deal with this is to install
|
|
|
|
|
;; all packages from which data and plugin files are needed into one's
|
|
|
|
|
;; profile, and point the configuration there. Hence, propagate the most
|
|
|
|
|
;; important packages here to save the user from the bother. The patch
|
|
|
|
|
;; mupen64plus-ui-console-notice also gives users instructions on what
|
|
|
|
|
;; they need to do in order to point the configuration to their profile.
|
|
|
|
|
(propagated-inputs
|
|
|
|
|
`(("mupen64plus-core" ,mupen64plus-core)
|
|
|
|
|
("mupen64plus-audio-sdl" ,mupen64plus-audio-sdl)
|
|
|
|
|
("mupen64plus-input-sdl" ,mupen64plus-input-sdl)
|
|
|
|
|
("mupen64plus-rsp-hle" ,mupen64plus-rsp-hle)
|
|
|
|
|
("mupen64plus-video-glide64" ,mupen64plus-video-glide64)
|
|
|
|
|
("mupen64plus-video-glide64mk2" ,mupen64plus-video-glide64mk2)
|
|
|
|
|
("mupen64plus-video-rice" ,mupen64plus-video-rice)))
|
|
|
|
|
(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")
|
|
|
|
|
;; Trailing slash matters here.
|
|
|
|
|
(string-append "COREDIR=" m64p "/lib/")))
|
|
|
|
|
;; There are no tests.
|
|
|
|
|
#:tests? #f))
|
2019-07-10 04:30:16 -04:00
|
|
|
|
(home-page "https://www.mupen64plus.org/")
|
2019-07-10 04:39:29 -04:00
|
|
|
|
(synopsis "Mupen64Plus command line user interface")
|
2018-02-22 06:04:14 -05:00
|
|
|
|
(description
|
|
|
|
|
"Mupen64Plus is a cross-platform plugin-based Nintendo 64 (N64) emulator
|
|
|
|
|
which is capable of accurately playing many games. This package contains the
|
|
|
|
|
command line user interface. Installing this package is the easiest way
|
|
|
|
|
towards a working Mupen64Plus for casual users.")
|
|
|
|
|
(license license:gpl2+)))
|
|
|
|
|
|
|
|
|
|
(define-public nestopia-ue
|
|
|
|
|
(package
|
|
|
|
|
(name "nestopia-ue")
|
2018-04-07 00:11:39 -04:00
|
|
|
|
(version "1.48")
|
2019-04-08 17:50:32 -04:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://github.com/rdanbrook/nestopia.git")
|
|
|
|
|
(commit version)))
|
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32 "19c8vx5yxbysl0sszk5blfngwacshdgwbf44g1qaxvq8ywiyxmb4"))
|
|
|
|
|
(modules '((guix build utils)))
|
|
|
|
|
(snippet
|
|
|
|
|
'(begin
|
|
|
|
|
;; We don't need libretro for the GNU/Linux build.
|
|
|
|
|
(delete-file-recursively "libretro")
|
|
|
|
|
#t))))
|
2018-04-07 00:11:39 -04:00
|
|
|
|
(build-system cmake-build-system)
|
2018-02-22 06:04:14 -05:00
|
|
|
|
(native-inputs
|
|
|
|
|
`(("pkg-config" ,pkg-config)))
|
|
|
|
|
(inputs
|
|
|
|
|
`(("ao" ,ao)
|
|
|
|
|
("gtk+" ,gtk+)
|
|
|
|
|
("libarchive" ,libarchive)
|
2018-04-07 00:11:39 -04:00
|
|
|
|
("libepoxy" ,libepoxy)
|
2018-02-22 06:04:14 -05:00
|
|
|
|
("sdl2" ,sdl2)
|
|
|
|
|
("zlib" ,zlib)))
|
|
|
|
|
(arguments
|
|
|
|
|
'(#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
2018-04-07 00:11:39 -04:00
|
|
|
|
;; 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)))))))
|
2018-02-22 06:04:14 -05:00
|
|
|
|
;; There are no tests.
|
|
|
|
|
#:tests? #f))
|
|
|
|
|
(home-page "http://0ldsk00l.ca/nestopia/")
|
|
|
|
|
(synopsis "Nintendo Entertainment System (NES/Famicom) emulator")
|
|
|
|
|
(description
|
|
|
|
|
"Nestopia UE (Undead Edition) is a fork of the Nintendo Entertainment
|
|
|
|
|
System (NES/Famicom) emulator Nestopia, with enhancements from members of the
|
|
|
|
|
emulation community. It provides highly accurate emulation.")
|
|
|
|
|
(license license:gpl2+)))
|
|
|
|
|
|
|
|
|
|
(define-public retroarch
|
|
|
|
|
(package
|
|
|
|
|
(name "retroarch")
|
2019-09-16 02:21:58 -04:00
|
|
|
|
(version "1.7.8.4")
|
2018-02-22 06:04:14 -05:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
2018-10-03 23:45:02 -04:00
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://github.com/libretro/RetroArch.git")
|
|
|
|
|
(commit (string-append "v" version))))
|
|
|
|
|
(file-name (git-file-name name version))
|
2018-02-22 06:04:14 -05:00
|
|
|
|
(sha256
|
2019-09-16 02:21:58 -04:00
|
|
|
|
(base32 "1i3i23xwvmck8k2fpalr49np7xjzfg507243mybqrljawlnbxvph"))))
|
2018-02-22 06:04:14 -05:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
2018-09-13 11:40:02 -04:00
|
|
|
|
`(#:tests? #f ; no tests
|
2018-02-22 06:04:14 -05:00
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(replace 'configure
|
|
|
|
|
(lambda* (#:key inputs outputs #:allow-other-keys)
|
|
|
|
|
(let* ((out (assoc-ref outputs "out"))
|
|
|
|
|
(etc (string-append out "/etc"))
|
2019-02-05 05:36:22 -05:00
|
|
|
|
(vulkan (assoc-ref inputs "vulkan-loader"))
|
|
|
|
|
(wayland-protocols (assoc-ref inputs "wayland-protocols")))
|
2018-02-22 06:04:14 -05:00
|
|
|
|
;; Hard-code the path to libvulkan.so.
|
|
|
|
|
(substitute* "gfx/common/vulkan_common.c"
|
|
|
|
|
(("libvulkan.so") (string-append vulkan "/lib/libvulkan.so")))
|
2019-02-05 05:36:22 -05:00
|
|
|
|
(substitute* "gfx/common/wayland/generate_wayland_protos.sh"
|
|
|
|
|
(("/usr/local/share/wayland-protocols")
|
|
|
|
|
(string-append wayland-protocols "/share/wayland-protocols")))
|
2018-02-22 06:04:14 -05:00
|
|
|
|
(substitute* "qb/qb.libs.sh"
|
|
|
|
|
(("/bin/true") (which "true")))
|
2018-09-13 11:39:22 -04:00
|
|
|
|
;; Use shared zlib.
|
|
|
|
|
(substitute* '("libretro-common/file/archive_file_zlib.c"
|
2019-08-26 09:07:58 -04:00
|
|
|
|
"libretro-common/streams/trans_stream_zlib.c")
|
2018-09-13 11:39:22 -04:00
|
|
|
|
(("<compat/zlib.h>") "<zlib.h>"))
|
2018-02-22 06:04:14 -05:00
|
|
|
|
;; The configure script does not yet accept the extra arguments
|
|
|
|
|
;; (like ‘CONFIG_SHELL=’) passed by the default configure phase.
|
2018-09-13 11:40:02 -04:00
|
|
|
|
(invoke
|
|
|
|
|
"./configure"
|
|
|
|
|
,@(if (string-prefix? "armhf" (or (%current-target-system)
|
|
|
|
|
(%current-system)))
|
|
|
|
|
'("--enable-neon" "--enable-floathard")
|
|
|
|
|
'())
|
|
|
|
|
(string-append "--prefix=" out)
|
|
|
|
|
(string-append "--global-config-dir=" etc))))))))
|
2018-02-22 06:04:14 -05:00
|
|
|
|
(inputs
|
|
|
|
|
`(("alsa-lib" ,alsa-lib)
|
|
|
|
|
("ffmpeg" ,ffmpeg)
|
|
|
|
|
("freetype" ,freetype)
|
|
|
|
|
("libxinerama" ,libxinerama)
|
|
|
|
|
("libxkbcommon" ,libxkbcommon)
|
|
|
|
|
("libxml2" ,libxml2)
|
2019-02-04 03:00:16 -05:00
|
|
|
|
("libxrandr" ,libxrandr)
|
2018-02-22 06:04:14 -05:00
|
|
|
|
("libxv" ,libxv)
|
|
|
|
|
("mesa" ,mesa)
|
|
|
|
|
("openal" ,openal)
|
|
|
|
|
("pulseaudio" ,pulseaudio)
|
|
|
|
|
("python" ,python)
|
2018-05-05 05:01:53 -04:00
|
|
|
|
("qtbase" ,qtbase)
|
2018-02-22 06:04:14 -05:00
|
|
|
|
("sdl" ,sdl2)
|
|
|
|
|
("udev" ,eudev)
|
2018-06-06 03:59:15 -04:00
|
|
|
|
("vulkan-loader" ,vulkan-loader)
|
2018-03-16 11:50:14 -04:00
|
|
|
|
("wayland" ,wayland)
|
2018-02-22 06:04:14 -05:00
|
|
|
|
("zlib" ,zlib)))
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("pkg-config" ,pkg-config)
|
2019-02-05 05:36:22 -05:00
|
|
|
|
("wayland-protocols" ,wayland-protocols)
|
2018-02-22 06:04:14 -05:00
|
|
|
|
("which" ,which)))
|
|
|
|
|
(home-page "https://www.libretro.com/")
|
|
|
|
|
(synopsis "Reference frontend for the libretro API")
|
|
|
|
|
(description
|
|
|
|
|
"Libretro is a simple but powerful development interface that allows for
|
|
|
|
|
the easy creation of emulators, games and multimedia applications that can plug
|
|
|
|
|
straight into any libretro-compatible frontend. RetroArch is the official
|
|
|
|
|
reference frontend for the libretro API, currently used by most as a modular
|
|
|
|
|
multi-system game/emulator system.")
|
|
|
|
|
(license license:gpl3+)))
|
2018-05-24 18:34:46 -04:00
|
|
|
|
|
|
|
|
|
(define-public scummvm
|
|
|
|
|
(package
|
|
|
|
|
(name "scummvm")
|
|
|
|
|
(version "2.0.0")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "http://www.scummvm.org/frs/scummvm/" version
|
|
|
|
|
"/scummvm-" version ".tar.xz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"0q6aiw97wsrf8cjw9vjilzhqqsr2rw2lll99s8i5i9svan6l314p"))))
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:tests? #f ;require "git"
|
|
|
|
|
#:configure-flags (list "--enable-release") ;for optimizations
|
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(replace 'configure
|
|
|
|
|
;; configure does not work followed by both "SHELL=..." and
|
|
|
|
|
;; "CONFIG_SHELL=..."; set environment variables instead
|
|
|
|
|
(lambda* (#:key outputs configure-flags #:allow-other-keys)
|
|
|
|
|
(let* ((out (assoc-ref outputs "out"))
|
|
|
|
|
(bash (which "bash"))
|
|
|
|
|
(flags `(,(string-append "--prefix=" out)
|
|
|
|
|
,@configure-flags)))
|
|
|
|
|
(setenv "SHELL" bash)
|
|
|
|
|
(setenv "CONFIG_SHELL" bash)
|
|
|
|
|
(apply invoke "./configure" flags)))))))
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("pkg-config" ,pkg-config)))
|
|
|
|
|
(inputs
|
|
|
|
|
`(("alsa-lib" ,alsa-lib)
|
|
|
|
|
("faad2" ,faad2)
|
|
|
|
|
("fluidsynth" ,fluidsynth)
|
|
|
|
|
("freetype" ,freetype)
|
|
|
|
|
("libflac" ,flac)
|
|
|
|
|
("libjpeg-turbo" ,libjpeg-turbo)
|
|
|
|
|
("libmad" ,libmad)
|
|
|
|
|
("libmpeg2" ,libmpeg2)
|
|
|
|
|
("libogg" ,libogg)
|
|
|
|
|
("libpng" ,libpng)
|
|
|
|
|
("libtheora" ,libtheora)
|
|
|
|
|
("libvorbis" ,libvorbis)
|
|
|
|
|
("nasm" ,nasm)
|
|
|
|
|
("sdl2" ,sdl2)
|
|
|
|
|
("zlib" ,zlib)))
|
|
|
|
|
(home-page "https://www.scummvm.org/")
|
|
|
|
|
(synopsis "Engine for several graphical adventure games")
|
|
|
|
|
(description "ScummVM is a program which allows you to run certain
|
|
|
|
|
classic graphical point-and-click adventure games, provided you
|
|
|
|
|
already have their data files. The clever part about this: ScummVM
|
|
|
|
|
just replaces the executables shipped with the games, allowing you to
|
|
|
|
|
play them on systems for which they were never designed!")
|
|
|
|
|
(license license:gpl2+)))
|
2018-05-31 11:08:10 -04:00
|
|
|
|
|
|
|
|
|
(define-public mame
|
|
|
|
|
(package
|
|
|
|
|
(name "mame")
|
2019-08-11 17:07:20 -04:00
|
|
|
|
(version "0.212")
|
2018-05-31 11:08:10 -04:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://github.com/mamedev/mame.git")
|
|
|
|
|
(commit (apply string-append "mame" (string-split version #\.)))))
|
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2019-08-11 17:07:20 -04:00
|
|
|
|
"0p3zcb9l624dsy2gyv23ppp1k1iwd1vrg8cbn5v4fx1s44mx7f5c"))
|
2019-08-12 09:39:59 -04:00
|
|
|
|
(patches
|
|
|
|
|
;; FIXME: Remove once 0.213 is out. Applied upstream as
|
|
|
|
|
;; 0b5b13cf1e28550b49c387dec93f9801f029e313.
|
|
|
|
|
(search-patches "mame-rapidjson-fix.patch"))
|
2018-05-31 11:08:10 -04:00
|
|
|
|
(modules '((guix build utils)))
|
|
|
|
|
(snippet
|
|
|
|
|
;; Remove bundled libraries.
|
|
|
|
|
'(begin
|
|
|
|
|
(with-directory-excursion "3rdparty"
|
|
|
|
|
(for-each delete-file-recursively
|
|
|
|
|
'("asio" "expat" "glm" "libflac" "libjpeg" "lua"
|
|
|
|
|
"portaudio" "portmidi" "pugixml" "rapidjson" "SDL2"
|
|
|
|
|
"SDL2-override" "sqlite3" "utf8proc" "zlib")))
|
|
|
|
|
#t))))
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:make-flags
|
|
|
|
|
(cons*
|
|
|
|
|
(string-append "QT_HOME=" (assoc-ref %build-inputs "qtbase"))
|
|
|
|
|
(string-append "SDL_INI_PATH="
|
|
|
|
|
(assoc-ref %outputs "out")
|
|
|
|
|
"/share/mame/ini")
|
|
|
|
|
(map (lambda (lib)
|
|
|
|
|
(string-append "USE_SYSTEM_LIB_" (string-upcase lib) "=1"))
|
|
|
|
|
'("asio" "expat" "flac" "glm" "jpeg" "lua" "portaudio" "portmidi"
|
|
|
|
|
"pugixml" "rapidjson" "sqlite3" "utf8proc" "zlib")))
|
|
|
|
|
#:tests? #f ;no test in regular release
|
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(delete 'configure)
|
|
|
|
|
(add-after 'build 'build-documentation
|
|
|
|
|
(lambda _ (invoke "make" "-C" "docs" "man" "info")))
|
|
|
|
|
(replace 'install
|
|
|
|
|
;; Upstream does not provide an installation phase.
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
(let* ((out (assoc-ref outputs "out"))
|
|
|
|
|
(share (string-append out "/share/mame")))
|
|
|
|
|
;; Install data.
|
|
|
|
|
(for-each (lambda (dir)
|
|
|
|
|
(copy-recursively dir (string-append share "/" dir)))
|
|
|
|
|
'("artwork" "bgfx" "ctrlr" "hash" "ini" "language"
|
|
|
|
|
"plugins" "samples"))
|
|
|
|
|
(let ((keymaps (string-append share "/keymaps")))
|
|
|
|
|
(for-each (lambda (file) (install-file file keymaps))
|
|
|
|
|
(find-files "keymaps" ".*LINUX\\.map")))
|
|
|
|
|
(let ((fonts (string-append share "/fonts")))
|
|
|
|
|
(install-file "uismall.bdf" fonts))
|
2018-06-12 12:08:32 -04:00
|
|
|
|
(when (file-exists? "mame64")
|
|
|
|
|
(rename-file "mame64" "mame"))
|
2018-05-31 11:08:10 -04:00
|
|
|
|
(install-file "mame" (string-append out "/bin")))
|
|
|
|
|
#t))
|
|
|
|
|
(add-after 'install 'install-documentation
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
(let* ((out (assoc-ref outputs "out"))
|
|
|
|
|
(man (string-append out "/share/man/man1"))
|
|
|
|
|
(info (string-append out "/share/info")))
|
|
|
|
|
(install-file "docs/build/man/MAME.1" man)
|
|
|
|
|
(install-file "docs/build/texinfo/MAME.info" info))
|
|
|
|
|
#t))
|
|
|
|
|
(add-after 'install 'install-ini-file
|
|
|
|
|
;; Generate an ini file so as to set some directories (e.g., roms)
|
|
|
|
|
;; to a writable location, i.e., "$HOME/.mame/" and "$HOME/mame/".
|
|
|
|
|
;;
|
|
|
|
|
;; XXX: We need to insert absolute references to the store. It can
|
|
|
|
|
;; be an issue if they leak into user's home directory, e.g., with
|
|
|
|
|
;; "mame -createconfig" and the package is later GC'ed.
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
(let* ((out (assoc-ref outputs "out"))
|
|
|
|
|
(share (string-append out "/share/mame"))
|
|
|
|
|
(ini (string-append share "/ini")))
|
|
|
|
|
(with-output-to-file (string-append ini "/mame.ini")
|
|
|
|
|
(lambda _
|
|
|
|
|
(format #t
|
|
|
|
|
"inipath $HOME/.mame;~a/ini~@
|
|
|
|
|
homepath $HOME/mame~@
|
|
|
|
|
rompath $HOME/mame/roms~@
|
|
|
|
|
samplepath $HOME/mame/samples;~a/samples~@
|
|
|
|
|
cheatpath $HOME/mame/cheat~@
|
|
|
|
|
artpath $HOME/mame/artwork;~a/artwork~@
|
|
|
|
|
crosshairpath $HOME/mame/crosshair~@
|
|
|
|
|
snapshot_directory $HOME/mame/snapshots~@
|
|
|
|
|
hashpath ~a/hash~@
|
|
|
|
|
fontpath $HOME/mame/fonts;~a/fonts~@
|
|
|
|
|
ctrlrpath $HOME/mame/ctrlr;~a/ctrlr~@
|
|
|
|
|
bgfx_path ~a/bgfx~@
|
|
|
|
|
pluginspath $HOME/mame/plugins;~a/plugins~@
|
|
|
|
|
languagepath ~a/language~@
|
|
|
|
|
cfg_directory $HOME/.mame/cfg~@
|
|
|
|
|
nvram_directory $HOME/.mame/nvram~@
|
|
|
|
|
input_directory $HOME/.mame/inp~@
|
|
|
|
|
state_directory $HOME/.mame/sta~@
|
|
|
|
|
diff_directory $HOME/.mame/diff~@
|
|
|
|
|
comment_directory $HOME/.mame/comments~%"
|
|
|
|
|
share share share share share share share share
|
|
|
|
|
share)))
|
|
|
|
|
(with-output-to-file (string-append ini "/ui.ini")
|
|
|
|
|
(lambda _
|
|
|
|
|
(format #t
|
|
|
|
|
"historypath $HOME/mame/history~@
|
|
|
|
|
categorypath $HOME/mame/folders~@
|
|
|
|
|
cabinets_directory $HOME/mame/cabinets~@
|
|
|
|
|
cpanels_directory $HOME/mame/cpanel~@
|
|
|
|
|
pcbs_directory $HOME/mame/pcb~@
|
|
|
|
|
flyers_directory $HOME/mame/flyers~@
|
|
|
|
|
titles_directory $HOME/mame/titles~@
|
|
|
|
|
ends_directory $HOME/mame/ends~@
|
|
|
|
|
marquees_directory $HOME/mame/marquees~@
|
|
|
|
|
artwork_preview_directory $HOME/mame/artpreview~@
|
|
|
|
|
bosses_directory $HOME/mame/bosses~@
|
|
|
|
|
logos_directory $HOME/mame/logo~@
|
|
|
|
|
scores_directory $HOME/mame/scores~@
|
|
|
|
|
versus_directory $HOME/mame/versus~@
|
|
|
|
|
gameover_directory $HOME/mame/gameover~@
|
|
|
|
|
howto_directory $HOME/mame/howto~@
|
|
|
|
|
select_directory $HOME/mame/select~@
|
|
|
|
|
icons_directory $HOME/mame/icons~@
|
|
|
|
|
covers_directory $HOME/mame/covers~@
|
|
|
|
|
ui_path $HOME/.mame/ui~%")))
|
|
|
|
|
#t)))
|
|
|
|
|
(add-after 'install 'install-desktop-file
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
(let* ((out (assoc-ref outputs "out"))
|
|
|
|
|
(desktop (string-append out "/share/applications"))
|
|
|
|
|
(executable (string-append out "/bin/mame")))
|
|
|
|
|
(mkdir-p desktop)
|
|
|
|
|
(with-output-to-file (string-append desktop "/mame.desktop")
|
|
|
|
|
(lambda _
|
|
|
|
|
(format #t
|
|
|
|
|
"[Desktop Entry]~@
|
|
|
|
|
Name=mame~@
|
|
|
|
|
Comment=Multi-purpose emulation framework~@
|
|
|
|
|
Exec=~a~@
|
|
|
|
|
TryExec=~@*~a~@
|
|
|
|
|
Terminal=false~@
|
|
|
|
|
Type=Application~@
|
|
|
|
|
Categories=Game;Emulator;~@
|
|
|
|
|
Keywords=Game;Emulator;Arcade;~%"
|
|
|
|
|
executable)))
|
|
|
|
|
#t))))))
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("pkg-config" ,pkg-config)
|
2019-04-03 15:28:17 -04:00
|
|
|
|
("sphinx" ,python-sphinx)
|
|
|
|
|
("sphinxcontrib-svg2pdfconverter" ,python-sphinxcontrib-svg2pdfconverter)
|
2018-05-31 11:08:10 -04:00
|
|
|
|
("texinfo" ,texinfo)))
|
|
|
|
|
(inputs
|
|
|
|
|
`(("alsa-lib" ,alsa-lib)
|
|
|
|
|
("asio" ,asio)
|
|
|
|
|
("expat" ,expat)
|
|
|
|
|
("flac" ,flac)
|
|
|
|
|
("fontconfig" ,fontconfig)
|
|
|
|
|
("glm" ,glm)
|
|
|
|
|
("libjpeg" ,libjpeg-8) ;jpeg_read_header argument error in libjpeg-9
|
2019-06-05 17:30:00 -04:00
|
|
|
|
("libxi" ,libxi)
|
2018-05-31 11:08:10 -04:00
|
|
|
|
("libxinerama" ,libxinerama)
|
|
|
|
|
("lua" ,lua)
|
|
|
|
|
("portaudio" ,portaudio)
|
|
|
|
|
("portmidi" ,portmidi)
|
2019-03-10 15:16:09 -04:00
|
|
|
|
("pugixml" ,pugixml)
|
2018-05-31 11:08:10 -04:00
|
|
|
|
("python-wrapper" ,python-wrapper)
|
|
|
|
|
("qtbase" ,qtbase)
|
|
|
|
|
("rapidjson" ,rapidjson)
|
|
|
|
|
("sdl" ,(sdl-union (list sdl2 sdl2-ttf)))
|
|
|
|
|
("sqlite" ,sqlite)
|
|
|
|
|
("utf8proc" ,utf8proc)
|
|
|
|
|
("zlib" ,zlib)))
|
|
|
|
|
(home-page "http://mamedev.org/")
|
|
|
|
|
(synopsis "Multi-purpose emulation framework")
|
|
|
|
|
(description "MAME's purpose is to preserve decades of software
|
|
|
|
|
history. As electronic technology continues to rush forward, MAME
|
|
|
|
|
prevents this important @emph{vintage} software from being lost and
|
|
|
|
|
forgotten. This is achieved by documenting the hardware and how it
|
|
|
|
|
functions. The source code to MAME serves as this documentation.")
|
|
|
|
|
;; The MAME project as a whole is distributed under the terms of GPL2+.
|
|
|
|
|
;; However, over 90% of the files are under Expat license. Also, artwork,
|
|
|
|
|
;; keymaps, languages and samples are under CC0.
|
|
|
|
|
(license (list license:gpl2+ license:expat license:cc0))))
|