File tree Expand file tree Collapse file tree 2 files changed +63
-0
lines changed Expand file tree Collapse file tree 2 files changed +63
-0
lines changed Original file line number Diff line number Diff line change
1
+ diff --git a/include/woff2/output.h b/include/woff2/output.h
2
+ index dc78ccf..24c5c5c 100644
3
+ --- a/include/woff2/output.h
4
+ +++ b/include/woff2/output.h
5
+ @@ -13,6 +13,7 @@
6
+ #include <cstring>
7
+ #include <memory>
8
+ #include <string>
9
+ + #include <cstdint>
10
+
11
+ namespace woff2 {
12
+
Original file line number Diff line number Diff line change
1
+ context :
2
+ name : woff2
3
+ version : " 1.0.2"
4
+
5
+ package :
6
+ name : ${{ name|lower }}
7
+ version : ${{ version }}
8
+
9
+ source :
10
+ url : https://github.com/google/woff2/archive/refs/tags/v${{ version }}.tar.gz
11
+ sha256 : add272bb09e6384a4833ffca4896350fdb16e0ca22df68c0384773c67a175594
12
+ patches :
13
+ - patches/001-include-cstdint.patch
14
+
15
+ build :
16
+ number : 0
17
+ script :
18
+ - cmake ${CMAKE_ARGS} -S . -B build -GNinja
19
+ - cmake --build build
20
+ - cmake --install build
21
+ # Manually install binaries not handled by cmake --install
22
+ - install -Dm755 build/woff2_info "${{ PREFIX }}/bin/woff2_info"
23
+ - install -Dm755 build/woff2_decompress "${{ PREFIX }}/bin/woff2_decompress"
24
+ - install -Dm755 build/woff2_compress "${{ PREFIX }}/bin/woff2_compress"
25
+ requirements :
26
+ build :
27
+ - ${{ compiler('c') }}
28
+ - ${{ compiler('cxx') }}
29
+ - ${{ stdlib('c') }}
30
+ - cmake<=3.31.6
31
+ - ninja
32
+ - pkg-config
33
+ host :
34
+ - brotli
35
+
36
+ about :
37
+ homepage : https://github.com/google/woff2
38
+ summary : Web Open Font Format 2.0 library
39
+ description : |
40
+ Web Open Font Format (WOFF) 2.0 is an update to the existing WOFF
41
+ 1.0 with improved compression that is achieved by using the
42
+ Brotli algorithm. The primary purpose of the WOFF2 format is to
43
+ efficiently package fonts linked to Web documents by means of CSS
44
+ @font-face rules.
45
+ license : MIT
46
+ license_file : LICENSE
47
+
48
+ extra :
49
+ recipe-maintainers :
50
+ - haecker-felix
51
+ - Hofer-Julian
You can’t perform that action at this time.
0 commit comments