summaryrefslogtreecommitdiffstats
path: root/media/libsoundtouch/moz.yaml
blob: f3d0da451633260dd13d05d69179c310821d5bdb (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
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
93
94
95
96
schema: 1

bugzilla:
  product: "Core"
  component: "Audio/Video"

# The whole library is not used, only the relevant files are imported in the
# tree, using the script `update.sh`. Some changes have been made to the files,
# using the patch `moz-libsoundtouch.patch`.
# We also use a custom soundtouch_config.h.

origin:
  name: "SoundTouch"
  description: "Audio processing library"

  url: "http://www.surina.net/soundtouch"
  license: "LGPL-2.1"

  release: 17a63e99d58053b0fbde8b69d7cc76a38119ce70 (2021-03-03T18:11:45+02:00).
  revision: 17a63e99d58053b0fbde8b69d7cc76a38119ce70

vendoring:
  url: https://codeberg.org/soundtouch/soundtouch
  source-hosting: codeberg
  tracking: commit

  exclude:
    - bin
    - bootstrap
    - config
    - configure.ac
    - createsrcpack
    - Makefile.am
    - make-win.bat
    - README.html
    - readme.md
    - soundtouch.m4
    - soundtouch.pc.in
    - ".*"
    - "source/Android-lib"
    - "source/*/*/*"
    - "source/*/*"
    - "source/*/.*"
    - "source/*"
    - "include/*"

  include:
    - COPYING.TXT
    - include/SoundTouch.h
    - include/FIFOSampleBuffer.h
    - include/FIFOSamplePipe.h
    - include/STTypes.h
    - source/SoundTouch/AAFilter.cpp
    - source/SoundTouch/AAFilter.h
    - source/SoundTouch/cpu_detect.h
    - source/SoundTouch/cpu_detect_x86.cpp
    - source/SoundTouch/FIFOSampleBuffer.cpp
    - source/SoundTouch/FIRFilter.cpp
    - source/SoundTouch/FIRFilter.h
    - source/SoundTouch/InterpolateLinear.cpp
    - source/SoundTouch/InterpolateLinear.h
    - source/SoundTouch/InterpolateCubic.cpp
    - source/SoundTouch/InterpolateCubic.h
    - source/SoundTouch/InterpolateShannon.cpp
    - source/SoundTouch/InterpolateShannon.h
    - source/SoundTouch/mmx_optimized.cpp
    - source/SoundTouch/RateTransposer.cpp
    - source/SoundTouch/RateTransposer.h
    - source/SoundTouch/SoundTouch.cpp
    - source/SoundTouch/sse_optimized.cpp
    - source/SoundTouch/TDStretch.cpp
    - source/SoundTouch/TDStretch.h

  keep:
    - AUTHORS
    - clear-lf.sh
    - src/SoundTouchFactory.*
    - src/soundtouch_config.h
    - src/soundtouch_perms.h

  patches:
    - moz-libsoundtouch.patch

  update-actions:
    - action: move-file
      from: '{vendor_dir}/COPYING.TXT'
      to: '{vendor_dir}/LICENSE'
    - action: move-dir
      from: '{vendor_dir}/source/SoundTouch'
      to: '{vendor_dir}/src'
    - action: move-dir
      from: '{vendor_dir}/include'
      to: '{vendor_dir}/src'
    - action: run-script
      script: '{yaml_dir}/clear-lf.sh'
      cwd: '{yaml_dir}'