summaryrefslogtreecommitdiffstats
path: root/gfx/vr/service/openvr/moz.yaml
blob: 715daba311776e2d300f8c1263320bbcd929feb2 (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
schema: 1

bugzilla:
  product: Core
  component: WebVR

origin:
  name: openvr
  description: OpenVR API interface

  url: https://github.com/ValveSoftware/openvr

  release: v1.11.11 (2020-04-23T17:06:49-08:00).
  revision: v1.11.11

  license: BSD-3-Clause

vendoring:
  url: https://github.com/ValveSoftware/openvr
  source-hosting: github
  tracking: tag

  exclude:
    - "**"

  include:
    - LICENSE
    - README.md
    - headers/openvr.h
    - src/README
    - src/*.h
    - src/*.cpp
    - src/vrcommon

  update-actions:
    - action: move-dir
      from: '{vendor_dir}/src/vrcommon'
      to: '{vendor_dir}/src'

    # The "src/jsoncpp.cpp" file and the "src/json" directory can be skipped. OpenVR
    # uses the jsoncpp library, which we have already imported elsewhere. If
    # warnings about using deprecated jsoncpp classes show up during compilation
    # you might need to reapply the patch in bug 1598288. It replaces uses of the
    # `Json::Reader` and `Json::StyledWriter` classes with the more modern
    # `Json::CharReaderBuilder` and `Json::StreamWriterBuilder`.
    - action: delete-path
      path: '{vendor_dir}/src/jsoncpp.cpp'

  patches:
    - "mozilla.patch"