Merge branch 'staged'
[dports.git] / multimedia / rav1e / Makefile
1 # $FreeBSD$
2
3 PORTNAME=       rav1e
4 PORTVERSION=    s20190708
5 CATEGORIES=     multimedia
6
7 MAINTAINER=     jbeich@FreeBSD.org
8 COMMENT=        Fast and safe AV1 encoder
9
10 LICENSE=        BSD2CLAUSE
11 LICENSE_FILE=   ${WRKSRC}/LICENSE
12
13 BUILD_DEPENDS=  ${BUILD_DEPENDS_${ARCH}}
14 BUILD_DEPENDS_x86_64=   nasm:devel/nasm
15
16 USES=           cargo
17 USE_GITHUB=     yes
18 GH_ACCOUNT=     xiph
19 GH_TAGNAME=     98f4d66d
20 PLIST_FILES=    bin/${PORTNAME}
21
22 CARGO_CRATES=   aho-corasick-0.7.4 \
23                 ansi_term-0.11.0 \
24                 aom-sys-0.1.2 \
25                 arc-swap-0.3.11 \
26                 arg_enum_proc_macro-0.1.1 \
27                 arrayvec-0.4.10 \
28                 atty-0.2.11 \
29                 autocfg-0.1.4 \
30                 backtrace-0.3.32 \
31                 backtrace-sys-0.1.30 \
32                 bincode-1.1.4 \
33                 bindgen-0.49.2 \
34                 bitflags-1.1.0 \
35                 bitstream-io-0.8.2 \
36                 bstr-0.2.1 \
37                 byteorder-1.3.2 \
38                 cast-0.2.2 \
39                 cc-1.0.37 \
40                 cexpr-0.3.5 \
41                 cfg-if-0.1.9 \
42                 chrono-0.4.7 \
43                 clang-sys-0.28.0 \
44                 clap-2.33.0 \
45                 cloudabi-0.0.3 \
46                 criterion-0.2.11 \
47                 criterion-plot-0.3.1 \
48                 crossbeam-deque-0.6.3 \
49                 crossbeam-epoch-0.7.1 \
50                 crossbeam-queue-0.1.2 \
51                 crossbeam-utils-0.6.5 \
52                 csv-1.1.1 \
53                 csv-core-0.1.6 \
54                 ctor-0.1.9 \
55                 dav1d-sys-0.2.0 \
56                 difference-2.0.0 \
57                 either-1.5.2 \
58                 env_logger-0.6.2 \
59                 error-chain-0.10.0 \
60                 failure-0.1.5 \
61                 failure_derive-0.1.5 \
62                 fuchsia-cprng-0.1.1 \
63                 fxhash-0.2.1 \
64                 glob-0.2.11 \
65                 humantime-1.2.0 \
66                 interpolate_name-0.2.2 \
67                 itertools-0.8.0 \
68                 itoa-0.4.4 \
69                 lazy_static-1.3.0 \
70                 libc-0.2.58 \
71                 libloading-0.5.1 \
72                 log-0.4.6 \
73                 memchr-2.2.0 \
74                 memoffset-0.2.1 \
75                 metadeps-1.1.2 \
76                 nodrop-0.1.13 \
77                 nom-4.2.3 \
78                 num-derive-0.2.5 \
79                 num-integer-0.1.41 \
80                 num-traits-0.2.8 \
81                 num_cpus-1.10.1 \
82                 numtoa-0.1.0 \
83                 output_vt100-0.1.2 \
84                 paste-0.1.5 \
85                 paste-impl-0.1.5 \
86                 peeking_take_while-0.1.2 \
87                 pkg-config-0.3.14 \
88                 pretty_assertions-0.6.1 \
89                 proc-macro-hack-0.5.8 \
90                 proc-macro2-0.4.30 \
91                 quick-error-1.2.2 \
92                 quote-0.6.12 \
93                 rand-0.6.5 \
94                 rand_chacha-0.1.1 \
95                 rand_core-0.3.1 \
96                 rand_core-0.4.0 \
97                 rand_hc-0.1.0 \
98                 rand_isaac-0.1.1 \
99                 rand_jitter-0.1.4 \
100                 rand_os-0.1.3 \
101                 rand_pcg-0.1.2 \
102                 rand_xorshift-0.1.1 \
103                 rand_xoshiro-0.1.0 \
104                 rayon-1.1.0 \
105                 rayon-core-1.5.0 \
106                 rdrand-0.4.0 \
107                 redox_syscall-0.1.56 \
108                 redox_termios-0.1.1 \
109                 regex-1.1.8 \
110                 regex-automata-0.1.7 \
111                 regex-syntax-0.6.7 \
112                 rustc-demangle-0.1.15 \
113                 ryu-1.0.0 \
114                 same-file-1.0.4 \
115                 scan_fmt-0.2.3 \
116                 scopeguard-0.3.3 \
117                 semver-0.9.0 \
118                 semver-parser-0.7.0 \
119                 serde-1.0.94 \
120                 serde_derive-1.0.94 \
121                 serde_json-1.0.40 \
122                 shlex-0.1.1 \
123                 signal-hook-0.1.9 \
124                 signal-hook-registry-1.0.1 \
125                 strsim-0.8.0 \
126                 syn-0.15.39 \
127                 synstructure-0.10.2 \
128                 termcolor-1.0.5 \
129                 termion-1.5.3 \
130                 textwrap-0.11.0 \
131                 thread_local-0.3.6 \
132                 time-0.1.42 \
133                 tinytemplate-1.0.2 \
134                 toml-0.2.1 \
135                 ucd-util-0.1.3 \
136                 unicode-width-0.1.5 \
137                 unicode-xid-0.1.0 \
138                 utf8-ranges-1.0.3 \
139                 vec_map-0.8.1 \
140                 vergen-3.0.4 \
141                 version_check-0.1.5 \
142                 walkdir-2.2.8 \
143                 which-2.0.1 \
144                 winapi-0.3.7 \
145                 winapi-i686-pc-windows-gnu-0.4.0 \
146                 winapi-util-0.1.2 \
147                 winapi-x86_64-pc-windows-gnu-0.4.0 \
148                 wincolor-1.0.1 \
149                 y4m-0.3.3
150
151 post-install:
152         @${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
153
154 .include <bsd.port.mk>