diff options
author | Ludovic Courtès <ludo@gnu.org> | 2021-12-13 17:18:24 +0100 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2021-12-13 17:48:25 +0100 |
commit | 8394619baceb118df92e355377fd543bb1aa501a (patch) | |
tree | 504f07c2a9f88596a305b59ef45f941062426a52 /gnu/packages/emulators.scm | |
parent | aca2defe0172868295941fd9f0e97886f6e9b2d4 (diff) | |
download | guix-8394619baceb118df92e355377fd543bb1aa501a.tar guix-8394619baceb118df92e355377fd543bb1aa501a.tar.gz |
gnu: Simplify package inputs.
This commit was obtained by running:
./pre-inst-env guix style
without any additional argument.
Diffstat (limited to 'gnu/packages/emulators.scm')
-rw-r--r-- | gnu/packages/emulators.scm | 346 |
1 files changed, 144 insertions, 202 deletions
diff --git a/gnu/packages/emulators.scm b/gnu/packages/emulators.scm index 0ed8596a7e..21a7773bb2 100644 --- a/gnu/packages/emulators.scm +++ b/gnu/packages/emulators.scm @@ -123,20 +123,20 @@ (arguments `(#:configure-flags '("--disable-pdf-docs"))) (native-inputs - `(("bison" ,bison) - ("dos2unix" ,dos2unix) - ("flex" ,flex) - ("glib" ,glib "bin") ; for glib-genmarshal, etc. - ("pkg-config" ,pkg-config))) + (list bison + dos2unix + flex + `(,glib "bin") ; for glib-genmarshal, etc. + pkg-config)) (inputs - `(("alsa-lib" ,alsa-lib) - ("glew" ,glew) - ("glib" ,glib) - ("gtk+" ,gtk+) - ("pulseaudio" ,pulseaudio) - ("sdl" ,sdl) - ("sdl-image" ,sdl-image) - ("xa" ,xa))) + (list alsa-lib + glew + glib + gtk+ + pulseaudio + sdl + sdl-image + xa)) (home-page "https://vice-emu.sourceforge.io/") (synopsis "The versatile Commodore emulator") (description @@ -203,12 +203,9 @@ SuperCPU.") ("shaders" "share/blastem/shaders")) args)))))) (inputs - `(("glew" ,glew) - ("mesa" ,mesa) - ("sdl2" ,sdl2) - ("zlib" ,zlib))) + (list glew mesa sdl2 zlib)) (native-inputs - `(("pkg-config" ,pkg-config))) + (list pkg-config)) (home-page "https://www.retrodev.com/blastem/") (synopsis "Genesis/Mega Drive emulator") (description "Blastem is an emulator for the Sega Genesis/Mega Drive @@ -236,14 +233,9 @@ console.") `(#:configure-flags '("--enable-wifi" "--enable-openal"))) (native-inputs - `(("pkg-config" ,pkg-config) - ("intltool" ,intltool))) + (list pkg-config intltool)) (inputs - `(("zlib" ,zlib) - ("sdl" ,sdl) - ("glib" ,glib) - ("gtk+" ,gtk+-2) - ("glu" ,glu))) + (list zlib sdl glib gtk+-2 glu)) (home-page "http://desmume.org/") (synopsis "Nintendo DS emulator") (description @@ -323,39 +315,39 @@ console.") `(("pkg-config" ,pkg-config) ("gettext" ,gettext-minimal))) (inputs - `(("alsa-lib" ,alsa-lib) - ("ao" ,ao) - ("bluez" ,bluez) - ("curl" ,curl) - ("eudev" ,eudev) - ("ffmpeg" ,ffmpeg) - ("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) - ("pugixml" ,pugixml) - ("pulseaudio" ,pulseaudio) - ("qtbase" ,qtbase-5) - ("sdl2" ,sdl2) - ("sfml" ,sfml) - ("soil" ,soil) - ("soundtouch" ,soundtouch) - ("vulkan-loader" ,vulkan-loader) - ("zlib" ,zlib))) + (list alsa-lib + ao + bluez + curl + eudev + ffmpeg + font-wqy-microhei + freetype + glew + glib + glu + gtk+-2 + hidapi + libevdev + libpng + libusb + libx11 + libxi + libxrandr + lzo + mbedtls-apache + mesa + miniupnpc + openal + pugixml + pulseaudio + qtbase-5 + sdl2 + sfml + soil + soundtouch + vulkan-loader + zlib)) (home-page "https://dolphin-emu.org/") (synopsis "Nintendo Wii and GameCube emulator") (description @@ -381,15 +373,14 @@ turbo speed, networked multiplayer, and graphical enhancements.") "02i648i50dwicv1vaql15rccv4g8h5blf5g6inv67lrfxpbkvlf0")))) (build-system gnu-build-system) (native-inputs - `(("autoconf" ,autoconf) - ("automake" ,automake))) + (list autoconf automake)) (inputs - `(("sdl" ,sdl) - ("libpng" ,libpng) - ("zlib" ,zlib) - ("alsa-lib" ,alsa-lib) - ("glu" ,glu) - ("mesa" ,mesa))) + (list sdl + libpng + zlib + alsa-lib + glu + mesa)) (home-page "https://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 @@ -420,7 +411,7 @@ older games.") (list "-Dunit_tests=disabled" ; gtest "-Duse_mt32emu=false"))) ; mt32emu (native-inputs - `(("pkg-config" ,pkg-config))) + (list pkg-config)) (inputs `(("alsa-lib" ,alsa-lib) ("fluidsynth" ,fluidsynth) @@ -506,8 +497,7 @@ emulate a serial nullmodem over TCP/IP.") #t)))) #:tests? #f)) ; test suite wants mips toolchain (inputs - `(("elfutils" ,elfutils) - ("qtbase" ,qtbase-5))) + (list elfutils qtbase-5)) (home-page "https://github.com/cvut/QtMips") (synopsis "MIPS CPU emulator") (description "This package contains a MIPS CPU emulator. The simulator @@ -566,7 +556,7 @@ and a game metadata scraper.") (base32 "11rvm53c3p2f6zk8xbyv2j51xp8zmqnch7zravhj3fk590qrjrr2")))) (build-system gnu-build-system) (native-inputs - `(("pkg-config" ,pkg-config))) + (list pkg-config)) (inputs `(("alsa-lib" ,alsa-lib) ("ao" ,ao) @@ -668,7 +658,7 @@ V2.") ;; "--with-external-mpcdec" "--with-external-lzo"))) (native-inputs - `(("pkg-config" ,pkg-config))) + (list pkg-config)) (inputs `(("alsa" ,alsa-lib) ("flac" ,flac) @@ -741,22 +731,21 @@ The following systems are supported: (list "-DUSE_LZMA=OFF" ;do not use bundled LZMA "-DUSE_LIBZIP=OFF"))) ;use "zlib" instead (native-inputs - `(("pkg-config" ,pkg-config) - ("qttools" ,qttools))) + (list pkg-config qttools)) (inputs - `(("ffmpeg" ,ffmpeg) - ("libedit" ,libedit) - ("libelf" ,libelf) - ("libepoxy" ,libepoxy) - ("libpng" ,libpng) - ("mesa" ,mesa) - ("minizip" ,minizip) - ("ncurses" ,ncurses) - ("qtbase" ,qtbase-5) - ("qtmultimedia" ,qtmultimedia) - ("sdl2" ,sdl2) - ("sqlite" ,sqlite) - ("zlib" ,zlib))) + (list ffmpeg + libedit + libelf + libepoxy + libpng + mesa + minizip + ncurses + qtbase-5 + qtmultimedia + sdl2 + sqlite + zlib)) (home-page "https://mgba.io") (synopsis "Game Boy Advance emulator") (description @@ -783,10 +772,9 @@ and Game Boy Color games.") (base32 "1r391jdh0gjnx8bwmr63dcdmq58lpm162mng2ncrx53ydbb13xxf")))) (build-system gnu-build-system) (native-inputs - `(("rgbds" ,rgbds) - ("pkg-config" ,pkg-config))) + (list rgbds pkg-config)) (inputs - `(("sdl2" ,sdl2))) + (list sdl2)) (arguments `(#:tests? #f ; There are no tests #:make-flags `(,(string-append "CC=" ,(cc-for-target)) @@ -829,15 +817,14 @@ from an emulator---from save states to scaling filters.") (base32 "116fndl6652zrp1r6ag4xv3dzp1x52mlvadj8xwflq07fd5rhri1")))) (build-system gnu-build-system) (native-inputs - `(("pkg-config" ,pkg-config) - ("which" ,which))) + (list pkg-config which)) (inputs - `(("freetype" ,freetype) - ("glu" ,glu) - ("libpng" ,libpng) - ("mesa" ,mesa) - ("sdl2" ,sdl2) - ("zlib" ,zlib))) + (list freetype + glu + libpng + mesa + sdl2 + zlib)) (arguments '(#:phases (modify-phases %standard-phases @@ -879,11 +866,9 @@ core library.") (base32 "0z19amfg9vr2pqjjri1ipc7hs681fzjcnb0f9y7bjhp5n8d7p6bb")))) (build-system gnu-build-system) (native-inputs - `(("pkg-config" ,pkg-config) - ("which" ,which))) + (list pkg-config which)) (inputs - `(("mupen64plus-core" ,mupen64plus-core) - ("sdl2" ,sdl2))) + (list mupen64plus-core sdl2)) (arguments '(#:phases (modify-phases %standard-phases @@ -925,10 +910,9 @@ SDL audio plugin.") (base32 "1dyazfbdjycdfslq8jixqiqhziw0rlkvach2r9dz91229jmkyc9c")))) (build-system gnu-build-system) (native-inputs - `(("which" ,which))) + (list which)) (inputs - `(("mupen64plus-core" ,mupen64plus-core) - ("sdl2" ,sdl2))) + (list mupen64plus-core sdl2)) (arguments '(#:phases (modify-phases %standard-phases @@ -970,7 +954,7 @@ SDL input plugin.") (base32 "0pi31qzjjp7aypdvvnz6ms18g09c4gqzxi6328zj8sji94b75gf0")))) (build-system gnu-build-system) (inputs - `(("mupen64plus-core" ,mupen64plus-core))) + (list mupen64plus-core)) (arguments '(#:phases (modify-phases %standard-phases @@ -1012,7 +996,7 @@ high-level emulation (HLE) RSP processor plugin.") (base32 "0nfyjns9k8xbg3aqs7593nfaxvlj72h3l8h467442xlk8ajfcylx")))) (build-system gnu-build-system) (inputs - `(("mupen64plus-core" ,mupen64plus-core))) + (list mupen64plus-core)) (arguments '(#:phases (modify-phases %standard-phases @@ -1054,11 +1038,9 @@ Z64 RSP processor plugin.") (base32 "1v9fqwpb6pawr8z5cm2ki7bqkks4iyr5c4jy4v5khj6h8zcv55gc")))) (build-system gnu-build-system) (native-inputs - `(("pkg-config" ,pkg-config) - ("which" ,which))) + (list pkg-config which)) (inputs - `(("mesa" ,mesa) - ("mupen64plus-core" ,mupen64plus-core))) + (list mesa mupen64plus-core)) (arguments '(#:phases (modify-phases %standard-phases @@ -1100,12 +1082,9 @@ Arachnoid video plugin.") (base32 "0qn5za7g7796kh2ag3xpmhbqg0yf71g9liz6ks0rha8pz73lgs01")))) (build-system gnu-build-system) (native-inputs - `(("pkg-config" ,pkg-config) - ("which" ,which))) + (list pkg-config which)) (inputs - `(("mesa" ,mesa) - ("mupen64plus-core" ,mupen64plus-core) - ("sdl2" ,sdl2))) + (list mesa mupen64plus-core sdl2)) (arguments '(#:phases (modify-phases %standard-phases @@ -1154,15 +1133,14 @@ Glide64 video plugin.") (base32 "08pm28a36dpr0cvr8pzw0n5ksdazp7jqvlmqfy2lwb4dm0cwhkqd")))) (build-system gnu-build-system) (native-inputs - `(("pkg-config" ,pkg-config) - ("which" ,which))) + (list pkg-config which)) (inputs - `(("boost" ,boost) - ("libpng" ,libpng) - ("mesa" ,mesa) - ("mupen64plus-core" ,mupen64plus-core) - ("sdl2" ,sdl2) - ("zlib" ,zlib))) + (list boost + libpng + mesa + mupen64plus-core + sdl2 + zlib)) (arguments '(#:phases (modify-phases %standard-phases @@ -1204,13 +1182,9 @@ Glide64MK2 video plugin.") (base32 "0rpmbcq67gsj5h5jjis146378qc1mskskvx20y1ikx59yhbamh13")))) (build-system gnu-build-system) (native-inputs - `(("pkg-config" ,pkg-config) - ("which" ,which))) + (list pkg-config which)) (inputs - `(("libpng" ,libpng) - ("mesa" ,mesa) - ("mupen64plus-core" ,mupen64plus-core) - ("sdl2" ,sdl2))) + (list libpng mesa mupen64plus-core sdl2)) (arguments '(#:phases (modify-phases %standard-phases @@ -1253,12 +1227,9 @@ Rice Video plugin.") (patches (search-patches "mupen64plus-video-z64-glew-correct-path.patch")))) (build-system gnu-build-system) (native-inputs - `(("pkg-config" ,pkg-config) - ("which" ,which))) + (list pkg-config which)) (inputs - `(("glew" ,glew) - ("mupen64plus-core" ,mupen64plus-core) - ("sdl2" ,sdl2))) + (list glew mupen64plus-core sdl2)) (arguments '(#:phases (modify-phases %standard-phases @@ -1308,10 +1279,9 @@ Z64 video plugin.") (patches (search-patches "mupen64plus-ui-console-notice.patch")))) (build-system gnu-build-system) (native-inputs - `(("pkg-config" ,pkg-config) - ("which" ,which))) + (list pkg-config which)) (inputs - `(("sdl2" ,sdl2))) + (list 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 @@ -1321,13 +1291,13 @@ Z64 video plugin.") ;; 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))) + (list mupen64plus-core + mupen64plus-audio-sdl + mupen64plus-input-sdl + mupen64plus-rsp-hle + mupen64plus-video-glide64 + mupen64plus-video-glide64mk2 + mupen64plus-video-rice)) (arguments '(#:phases (modify-phases %standard-phases @@ -1372,10 +1342,7 @@ towards a working Mupen64Plus for casual users.") (base32 "1g19gz33jav00rwzkpcnynf5ps41vl64a9qx0xjd6lva4bgn8s57")))) (build-system gnu-build-system) (native-inputs - `(("autoconf" ,autoconf) - ("autoconf-archive" ,autoconf-archive) - ("automake" ,automake) - ("pkg-config" ,pkg-config))) + (list autoconf autoconf-archive automake pkg-config)) (inputs `(("fltk" ,fltk) ("fontconfig", fontconfig) @@ -1506,9 +1473,7 @@ as RetroArch.") ("wayland" ,wayland) ("zlib" ,zlib))) (native-inputs - `(("pkg-config" ,pkg-config) - ("wayland-protocols" ,wayland-protocols) - ("which" ,which))) + (list pkg-config wayland-protocols which)) (native-search-paths (list (search-path-specification (variable "LIBRETRO_DIRECTORY") @@ -1553,8 +1518,7 @@ multi-system game/emulator system.") (setenv "CONFIG_SHELL" bash) (apply invoke "./configure" flags))))))) (native-inputs - `(("nasm" ,nasm) - ("pkg-config" ,pkg-config))) + (list nasm pkg-config)) (inputs `(("alsa-lib" ,alsa-lib) ("faad2" ,faad2) @@ -1607,15 +1571,14 @@ play them on systems for which they were never designed!") (chdir (string-append "libticables2-" ,version)) #t))))) (native-inputs - `(("autoconf" ,autoconf) - ("autogen" ,autogen) - ("automake" ,automake) - ("gettext" ,gnu-gettext) - ("libtool" ,libtool) - ("pkg-config" ,pkg-config))) + (list autoconf + autogen + automake + gnu-gettext + libtool + pkg-config)) (inputs - `(("glib" ,glib) - ("libusb" ,libusb))) + (list glib libusb)) (synopsis "Link cable library for TI calculators") (description "This package contains libticables, a library for operations on @@ -1650,12 +1613,9 @@ This is a part of the TiLP project.") (chdir (string-append "libticonv-" ,version)) #t))))) (native-inputs - `(("autoconf" ,autoconf) - ("automake" ,automake) - ("libtool" ,libtool) - ("pkg-config" ,pkg-config))) + (list autoconf automake libtool pkg-config)) (inputs - `(("glib" ,glib))) + (list glib)) (synopsis "Character conversion library for TI calculators") (description "This package contains libticonv, a library to support working with @@ -1688,15 +1648,9 @@ This is a part of the TiLP project.") (chdir (string-append "libtifiles2-" ,version)) #t))))) (native-inputs - `(("autoconf" ,autoconf) - ("automake" ,automake) - ("gettext" ,gnu-gettext) - ("libtool" ,libtool) - ("pkg-config" ,pkg-config))) + (list autoconf automake gnu-gettext libtool pkg-config)) (inputs - `(("glib" ,glib) - ("libarchive" ,libarchive) - ("libticonv" ,libticonv))) + (list glib libarchive libticonv)) (synopsis "File functions library for TI calculators") (description "This package contains libticonv, a library to support working with @@ -1729,17 +1683,9 @@ This is a part of the TiLP project.") (chdir (string-append "libticalcs2-" ,version)) #t))))) (native-inputs - `(("autoconf" ,autoconf) - ("automake" ,automake) - ("gettext" ,gnu-gettext) - ("libtool" ,libtool) - ("pkg-config" ,pkg-config))) + (list autoconf automake gnu-gettext libtool pkg-config)) (inputs - `(("glib" ,glib) - ("libarchive" ,libarchive) - ("libticables2" ,libticables2) - ("libticonv" ,libticonv) - ("libtifiles2" ,libtifiles2))) + (list glib libarchive libticables2 libticonv libtifiles2)) (synopsis "Support library for TI calculators") (description "This project aims to develop a multi-platform linking program for use @@ -1983,7 +1929,7 @@ functions. The source code to MAME serves as this documentation.") (install-file "../source/data/tile/TILE.TXT" tile)) #t))))) (native-inputs - `(("pkg-config" ,pkg-config))) + (list pkg-config)) (inputs `(("mame" ,mame) ("gtk" ,gtk+) @@ -2041,17 +1987,16 @@ emulator.") "/share/glib-2.0/schemas")))) #t))))) (native-inputs - `(("pkg-config" ,pkg-config) - ("intltool" ,intltool) - ("glib" ,glib "bin"))) + (list pkg-config intltool + `(,glib "bin"))) (inputs - `(("libcdio" ,libcdio) - ("sdl2" ,sdl2) - ("gtk+" ,gtk+) - ("ffmpeg" ,ffmpeg) - ("libxv" ,libxv) - ("libarchive" ,libarchive) - ("pulseaudio" ,pulseaudio))) + (list libcdio + sdl2 + gtk+ + ffmpeg + libxv + libarchive + pulseaudio)) (home-page "https://archive.codeplex.com/?p=pcsxr") (synopsis "PlayStation emulator") (description @@ -2083,8 +2028,7 @@ improvements.") (("GTK_CFLAGS=\"\\$GTK_CFLAGS .*\"") "")) #t))))) (native-inputs - `(("pkg-config" ,pkg-config) - ("nasm" ,nasm))) + (list pkg-config nasm)) (inputs `(("sdl" ,sdl) ("gtk" ,gtk+-2))) @@ -2121,7 +2065,7 @@ from various forks of Gens, and improved platform portability.") #:phases (modify-phases %standard-phases (delete 'configure)))) (native-inputs - `(("pkg-config" ,pkg-config))) + (list pkg-config)) (inputs `(("alsa-lib" ,alsa-lib) ("ao" ,ao) @@ -2339,8 +2283,7 @@ elseif(FALSE)")) (("unknown") ,version)))))) (build-system cmake-build-system) (native-inputs - `(("pkg-config" ,pkg-config) - ("python" ,python))) + (list pkg-config python)) (inputs `(("cityhash" ,cityhash) ;; ppsspp doesn't yet build with ffmpeg 4.4 (see: @@ -2490,8 +2433,7 @@ system.") (install-file "exobasic" out-bin)) #t))))) (native-inputs - `(("flex" ,flex) - ("bison" ,bison))) + (list flex bison)) (synopsis "Compressor for use on Commodore home computers") (description "This program compresses files in a way that tries to be as efficient as possible but still allows them to be decompressed in environments |