summaryrefslogtreecommitdiff
path: root/rodion/packages/emulators.scm
blob: 667ecc0a45cca9724b2075f8b596f3b3d4feb3e2 (about) (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
(define-module (rodion packages emulators)
  #:use-module (guix packages)
  #:use-module (guix build-system cmake)
  #:use-module (guix git-download)
  #:use-module (gnu packages fontutils)
  #:use-module (gnu packages sdl)
  #:use-module (gnu packages pkg-config)
  #:use-module (gnu packages containers)
  #:use-module (gnu packages audio)
  #:use-module (gnu packages linux)
  #:use-module (gnu packages qt)
  #:use-module (gnu packages xorg)
  #:use-module (gnu packages vulkan)
  #:use-module (gnu packages xdisorg)
  #:use-module (guix gexp)
  #:use-module ((guix licenses) #:prefix license:))

(define-public 86Box
  (package
    (name "86Box")
    (version "4.2.1")
    (build-system cmake-build-system)
    (home-page "https://github.com/86Box/86Box")
    (source
     (origin
       (method git-fetch)
       (uri (git-reference
             (url "https://github.com/86Box/86Box")
             (commit (string-append "v" version))))
       (patches `(,(local-file "./patches/0001-86Box.patch")))
       (sha256
        (base32 "10ixvph4g27is1dbw3gzkl7xwbiws29jhdazqb4gx94c5nil5vmr"))))
    (arguments `(#:tests? #f
		 #:build-type "Release"
		 #:configure-flags (list "-DUSE_QT6=ON")))
    (inputs (list freetype
		  sdl2
		  pkg-config
		  libslirp
		  openal
		  rtmidi
		  jack-2
		  alsa-lib
		  fluidsynth
		  qtbase
		  qttools
		  libxi
		  libxkbcommon
		  vulkan-headers))
    (license license:gpl2+)
    (description
     "86Box is a low level x86 emulator that runs older operating systems
and software designed for IBM PC systems and compatibles from 1981 through fairly
recent system designs based on the PCI bus.")
    (synopsis "Emulator of x86-based machines based on PCem")))