9 PATCH_SITES= https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/commit/
10 PATCHFILES+= 9c4c1111deb8.patch:-p1 # https://github.com/xiph/rav1e/pull/2361
11 PATCHFILES+= faaee6685f7c.patch:-p1 # https://github.com/xiph/rav1e/pull/2361
12 PATCHFILES+= dfc0e67eb1e4.patch:-p1 # https://github.com/xiph/rav1e/pull/2361
14 MAINTAINER= jbeich@FreeBSD.org
15 COMMENT= Fast and safe AV1 encoder
18 LICENSE_FILE= ${WRKSRC}/LICENSE
20 BUILD_DEPENDS+= ${BUILD_DEPENDS_${ARCH}}
21 BUILD_DEPENDS_x86_64= nasm:devel/nasm
26 PLIST_FILES?= bin/${PORTNAME}
28 CARGO_CRATES= addr2line-0.12.1 \
35 arg_enum_proc_macro-0.3.0 \
60 criterion-plot-0.4.2 \
61 crossbeam-deque-0.7.3 \
62 crossbeam-epoch-0.8.2 \
63 crossbeam-queue-0.2.2 \
64 crossbeam-utils-0.7.2 \
73 encode_unicode-0.3.6 \
84 interpolate_name-0.2.3 \
101 noop_proc_macro-0.2.1 \
113 peeking_take_while-0.1.2 \
119 predicates-core-1.0.0 \
120 predicates-tree-1.0.0 \
121 pretty_assertions-0.6.1 \
122 proc-macro-hack-0.5.16 \
133 regex-automata-0.1.9 \
134 regex-syntax-0.6.18 \
135 rust_hawktracer-0.7.0 \
136 rust_hawktracer_normal_macro-0.4.1 \
137 rust_hawktracer_proc_macro-0.4.1 \
138 rust_hawktracer_sys-0.4.2 \
139 rustc-demangle-0.1.16 \
141 rustc_version-0.2.3 \
147 semver-parser-0.7.0 \
149 serde_derive-1.0.111 \
153 signal-hook-registry-1.2.0 \
158 terminal_size-0.1.12 \
162 thiserror-impl-1.0.19 \
169 unicode-width-0.1.7 \
172 version_check-0.9.2 \
175 wasi-0.9.0+wasi-snapshot-preview1 \
176 wasm-bindgen-0.2.63 \
177 wasm-bindgen-backend-0.2.63 \
178 wasm-bindgen-macro-0.2.63 \
179 wasm-bindgen-macro-support-0.2.63 \
180 wasm-bindgen-shared-0.2.63 \
184 winapi-i686-pc-windows-gnu-0.4.0 \
186 winapi-x86_64-pc-windows-gnu-0.4.0 \
190 # Extract (snapshot) version from the port instead of CARGO_PKG_VERSION
191 @${REINPLACE_CMD} 's/env!("VERGEN_SEMVER_LIGHTWEIGHT")/"${DISTVERSIONFULL}"/' \
192 ${WRKSRC}/src/capi.rs ${WRKSRC}/src/lib.rs
194 .if !target(post-install)
196 @${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
199 .include <bsd.port.mk>