blob: 338437fb4a8795c211fadceaabf9235718502190 (
plain) (
blame)
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
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
|
PORTNAME= resvg-c-api
DISTVERSIONPREFIX= v
DISTVERSION= 0.45.1
PORTREVISION= 1
CATEGORIES= graphics
MAINTAINER= yuri@FreeBSD.org
COMMENT= SVG rendering library (C++/Qt API)
WWW= https://github.com/linebender/resvg
LICENSE= MIT APACHE20
LICENSE_COMB= dual
LICENSE_FILE_APACHE20= ${WRKSRC}/../../LICENSE-APACHE
LICENSE_FILE_MIT= ${WRKSRC}/../../LICENSE-MIT
USES= cargo
USE_LDCONFIG= yes
USE_GITHUB= yes
GH_ACCOUNT= linebender
GH_PROJECT= resvg
WRKSRC_SUBDIR= crates/c-api
CARGO_CRATES= adler2-2.0.0 \
arrayref-0.3.9 \
arrayvec-0.7.6 \
autocfg-0.1.8 \
autocfg-1.4.0 \
base64-0.22.1 \
bitflags-1.3.2 \
bitflags-2.8.0 \
bytemuck-1.21.0 \
byteorder-lite-0.1.0 \
cfg-if-1.0.0 \
cloudabi-0.0.3 \
color_quant-1.1.0 \
core_maths-0.1.1 \
crc32fast-1.4.2 \
data-url-0.3.1 \
either-1.14.0 \
fdeflate-0.3.7 \
flate2-1.1.0 \
float-cmp-0.9.0 \
fontconfig-parser-0.5.7 \
fontdb-0.23.0 \
fuchsia-cprng-0.1.1 \
gif-0.13.1 \
image-webp-0.2.0 \
imagesize-0.13.0 \
itertools-0.14.0 \
kurbo-0.11.1 \
libc-0.2.170 \
libm-0.2.11 \
log-0.4.26 \
memmap2-0.9.5 \
miniz_oxide-0.8.5 \
once_cell-1.20.3 \
phf-0.7.24 \
phf_codegen-0.7.24 \
phf_generator-0.7.24 \
phf_shared-0.7.24 \
pico-args-0.5.0 \
png-0.17.16 \
quick-error-2.0.1 \
rand-0.6.5 \
rand_chacha-0.1.1 \
rand_core-0.3.1 \
rand_core-0.4.2 \
rand_hc-0.1.0 \
rand_isaac-0.1.1 \
rand_jitter-0.1.4 \
rand_os-0.1.3 \
rand_pcg-0.1.2 \
rand_xorshift-0.1.1 \
rdrand-0.4.0 \
rgb-0.8.50 \
roxmltree-0.20.0 \
rustybuzz-0.20.1 \
simd-adler32-0.3.7 \
simplecss-0.2.2 \
siphasher-0.2.3 \
siphasher-1.0.1 \
slotmap-1.0.7 \
smallvec-1.14.0 \
strict-num-0.1.1 \
svgtypes-0.15.3 \
tiny-skia-0.11.4 \
tiny-skia-path-0.11.4 \
tinyvec-1.8.1 \
tinyvec_macros-0.1.1 \
ttf-parser-0.25.1 \
unicode-bidi-0.3.18 \
unicode-bidi-mirroring-0.4.0 \
unicode-ccc-0.4.0 \
unicode-properties-0.1.3 \
unicode-script-0.5.7 \
unicode-vo-0.1.0 \
version_check-0.9.5 \
weezl-0.1.8 \
winapi-0.3.9 \
winapi-i686-pc-windows-gnu-0.4.0 \
winapi-x86_64-pc-windows-gnu-0.4.0 \
xmlwriter-0.1.0 \
zune-core-0.4.12 \
zune-jpeg-0.4.14
PLIST_FILES= include/ResvgQt.h \
include/resvg.h \
lib/libresvg.a \
lib/libresvg.so
do-install:
${INSTALL_DATA} ${WRKSRC}/resvg.h ${STAGEDIR}${PREFIX}/include
${INSTALL_DATA} ${WRKSRC}/ResvgQt.h ${STAGEDIR}${PREFIX}/include
cd ${WRKDIR}/target && \
${INSTALL_LIB} release/libresvg.so ${STAGEDIR}${PREFIX}/lib && \
${INSTALL_DATA} release/libresvg.a ${STAGEDIR}${PREFIX}/lib
.include <bsd.port.mk>
|