-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathopentrack.scm
94 lines (84 loc) · 2.67 KB
/
opentrack.scm
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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
(define-module (opentrack)
#:use-module (gnu packages)
#:use-module (guix packages)
#:use-module (guix gexp)
#:use-module (gnu packages pkg-config)
#:use-module (gnu packages image-processing)
#:use-module (gnu packages qt)
#:use-module (gnu packages wine)
#:use-module (gnu packages linux)
#:use-module (guix download)
#:use-module (guix git-download)
#:use-module (guix packages)
#:use-module (guix build-system gnu)
#:use-module (guix build-system cmake)
#:use-module ((guix licenses) #:prefix license:)
#:use-module (guix packages)
#:use-module (guix utils)
#:use-module (ice-9 match)
#:use-module ((srfi srfi-1) #:hide (zip)))
(define-public opentrack
(package
(name "opentrack")
(version "opentrack-2023.3.0")
(source (origin
(method url-fetch)
(uri "https://github.com/opentrack/opentrack/archive/refs/tags/opentrack-2023.3.0.tar.gz")
(sha256
(base32
"097q144b1wfslncplq7b342i9vcbrmnvm5cfcii03mxpljfylpxs"))))
(build-system cmake-build-system)
(arguments
`(#:configure-flags
(list
(string-append "-DOpenCV_DIR="
(assoc-ref %build-inputs "opencv"))
"-DSDK_WINE=ON"
)
#:tests? #f))
(native-inputs
(list
pkg-config
opencv
qttools-5
qtbase-5
procps
wine64
;opentrack-aruco-module
))
(synopsis "Headtracking")
(description "opentrack is an application dedicated to tracking user's head movements and relaying the information to games and flight simulation software.")
(home-page "https://github.com/opentrack/opentrack")
(license license:isc)))
(define-public opentrack-aruco-module
(package
(name "opentrack-aruco-module")
(version "e08d336bd2c70859efd19622582817fe8eabe714")
(source (origin
(method git-fetch)
(uri
(git-reference
(url "https://github.com/opentrack/aruco.git")
(commit version)))
(file-name (git-file-name name version))
(sha256
(base32
"1d7yg3la58skv3nwdpc0b0g18frx1ydq2w7cghcn4igizgzp5zjr"))))
(build-system cmake-build-system)
(arguments
`(#:configure-flags
(list
)
#:tests? #f
#:phases
(modify-phases %standard-phases
(delete 'install))
))
(native-inputs
(list
pkg-config
opencv))
(synopsis "Headtracking paperprint plugin")
(description "opentrack is an application dedicated to tracking user's head movements and relaying the information to games and flight simulation software.")
(home-page "https://github.com/opentrack/opentrack")
(license license:isc)))