Import multimedia/rav1e version s20190225
[dports.git] / multimedia / rav1e / Makefile
1 # $FreeBSD$
2
3 PORTNAME=       rav1e
4 PORTVERSION=    s20190225
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=     7fd3938
20 PLIST_FILES=    bin/${PORTNAME}
21
22 CARGO_CRATES=   aho-corasick-0.6.10 \
23                 ansi_term-0.11.0 \
24                 arrayvec-0.4.10 \
25                 atty-0.2.11 \
26                 autocfg-0.1.2 \
27                 backtrace-0.3.14 \
28                 backtrace-sys-0.1.28 \
29                 bindgen-0.47.3 \
30                 bitflags-1.0.4 \
31                 bitstream-io-0.8.2 \
32                 byteorder-1.3.1 \
33                 cast-0.2.2 \
34                 cc-1.0.29 \
35                 cexpr-0.3.4 \
36                 cfg-if-0.1.6 \
37                 clang-sys-0.26.4 \
38                 clap-2.32.0 \
39                 cloudabi-0.0.3 \
40                 cmake-0.1.35 \
41                 criterion-0.2.10 \
42                 criterion-plot-0.3.0 \
43                 crossbeam-deque-0.2.0 \
44                 crossbeam-epoch-0.3.1 \
45                 crossbeam-utils-0.2.2 \
46                 csv-1.0.5 \
47                 csv-core-0.1.5 \
48                 dav1d-sys-0.1.2 \
49                 difference-2.0.0 \
50                 either-1.5.1 \
51                 env_logger-0.6.0 \
52                 error-chain-0.10.0 \
53                 failure-0.1.5 \
54                 fuchsia-cprng-0.1.1 \
55                 glob-0.2.11 \
56                 hashbrown-0.1.8 \
57                 humantime-1.2.0 \
58                 itertools-0.8.0 \
59                 itoa-0.4.3 \
60                 lazy_static-1.2.0 \
61                 libc-0.2.49 \
62                 libloading-0.5.0 \
63                 log-0.4.6 \
64                 memchr-2.2.0 \
65                 memoffset-0.2.1 \
66                 metadeps-1.1.2 \
67                 nasm-rs-0.1.4 \
68                 nodrop-0.1.13 \
69                 nom-4.2.0 \
70                 num-traits-0.2.6 \
71                 num_cpus-1.10.0 \
72                 paste-0.1.4 \
73                 paste-impl-0.1.4 \
74                 peeking_take_while-0.1.2 \
75                 pkg-config-0.3.14 \
76                 pretty_assertions-0.5.1 \
77                 proc-macro-hack-0.5.4 \
78                 proc-macro2-0.4.27 \
79                 quick-error-1.2.2 \
80                 quote-0.6.11 \
81                 rand-0.5.6 \
82                 rand_core-0.3.1 \
83                 rand_core-0.4.0 \
84                 rand_os-0.1.2 \
85                 rand_xoshiro-0.1.0 \
86                 rayon-1.0.3 \
87                 rayon-core-1.4.1 \
88                 rdrand-0.4.0 \
89                 redox_syscall-0.1.51 \
90                 redox_termios-0.1.1 \
91                 regex-0.2.11 \
92                 regex-1.1.0 \
93                 regex-syntax-0.5.6 \
94                 regex-syntax-0.6.5 \
95                 rustc-demangle-0.1.13 \
96                 ryu-0.2.7 \
97                 same-file-1.0.4 \
98                 scan_fmt-0.1.3 \
99                 scopeguard-0.3.3 \
100                 serde-1.0.88 \
101                 serde_derive-1.0.88 \
102                 serde_json-1.0.38 \
103                 strsim-0.7.0 \
104                 syn-0.15.26 \
105                 termcolor-1.0.4 \
106                 termion-1.5.1 \
107                 textwrap-0.10.0 \
108                 thread_local-0.3.6 \
109                 tinytemplate-1.0.1 \
110                 toml-0.2.1 \
111                 ucd-util-0.1.3 \
112                 unicode-width-0.1.5 \
113                 unicode-xid-0.1.0 \
114                 utf8-ranges-1.0.2 \
115                 vec_map-0.8.1 \
116                 version_check-0.1.5 \
117                 walkdir-2.2.7 \
118                 which-2.0.1 \
119                 winapi-0.3.6 \
120                 winapi-i686-pc-windows-gnu-0.4.0 \
121                 winapi-util-0.1.2 \
122                 winapi-x86_64-pc-windows-gnu-0.4.0 \
123                 wincolor-1.0.1 \
124                 y4m-0.3.1
125
126 post-install:
127         @${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
128
129 .include <bsd.port.mk>