PORTNAME=	smelter
DISTVERSIONPREFIX=	vk-video/v
DISTVERSION=	0.3.1
CATEGORIES=	multimedia

MAINTAINER=	yuri@FreeBSD.org
COMMENT=	Toolkit for real-time, low latency, programmable video & audio mixing
WWW=		https://smelter.dev \
		https://github.com/software-mansion/smelter

LICENSE=	MIT
LICENSE_FILE=	${WRKSRC}/LICENSE

LIB_DEPENDS=	libavutil.so:multimedia/ffmpeg \
		libopus.so:audio/opus

USES=		cargo pkgconfig llvm ssl

CARGO_FEATURES=		--no-default-features
CARGO_INSTALL_ARGS=	--bin smelter

USE_GITHUB=	yes
GH_ACCOUNT=	software-mansion

CARGO_CRATES=	ab_glyph-0.2.29 \
		ab_glyph_rasterizer-0.1.8 \
		addr2line-0.24.2 \
		adler2-2.0.0 \
		aead-0.5.2 \
		aes-0.8.4 \
		aes-gcm-0.10.3 \
		ahash-0.8.11 \
		aho-corasick-1.1.3 \
		allocator-api2-0.2.21 \
		android-activity-0.5.2 \
		android-properties-0.2.2 \
		android_system_properties-0.1.5 \
		anstream-0.6.18 \
		anstyle-1.0.10 \
		anstyle-parse-0.2.6 \
		anstyle-query-1.1.2 \
		anstyle-wincon-3.0.7 \
		anyhow-1.0.95 \
		approx-0.5.1 \
		arc-swap-1.7.1 \
		arrayref-0.3.9 \
		arrayvec-0.7.6 \
		as-raw-xcb-connection-1.0.1 \
		ascii-1.1.0 \
		ash-0.38.0+1.3.281 \
		asn1-rs-0.6.2 \
		asn1-rs-derive-0.5.1 \
		asn1-rs-impl-0.2.0 \
		async-trait-0.1.89 \
		atomic-waker-1.1.2 \
		audio-core-0.2.1 \
		audioadapter-2.0.0 \
		audioadapter-buffers-2.0.0 \
		audioadapter-sample-2.0.0 \
		audiopus_sys-0.2.2 \
		autocfg-1.4.0 \
		aws-lc-rs-1.16.0 \
		aws-lc-sys-0.37.1 \
		axum-0.7.9 \
		axum-core-0.4.5 \
		axum-macros-0.4.2 \
		backtrace-0.3.74 \
		base16ct-0.2.0 \
		base64-0.21.7 \
		base64-0.22.1 \
		base64ct-1.6.0 \
		bindgen-0.65.1 \
		bindgen-0.72.1 \
		bit-set-0.9.1 \
		bit-vec-0.9.1 \
		bit_field-0.10.2 \
		bitflags-1.3.2 \
		bitflags-2.11.0 \
		bitstream-io-2.6.0 \
		block-buffer-0.10.4 \
		block-padding-0.3.3 \
		block-sys-0.2.1 \
		block2-0.3.0 \
		block2-0.6.2 \
		bumpalo-3.17.0 \
		bytecheck-0.8.2 \
		bytecheck_derive-0.8.2 \
		bytemuck-1.25.0 \
		bytemuck_derive-1.10.2 \
		byteorder-1.5.0 \
		bytes-1.11.1 \
		calloop-0.12.4 \
		calloop-wayland-source-0.2.0 \
		cbc-0.1.2 \
		cc-1.2.56 \
		ccm-0.5.0 \
		cesu8-1.1.0 \
		cexpr-0.6.0 \
		cfg-if-1.0.0 \
		cfg_aliases-0.1.1 \
		cfg_aliases-0.2.1 \
		chacha20-0.9.1 \
		chacha20poly1305-0.10.1 \
		chunked_transfer-1.5.0 \
		cipher-0.4.4 \
		clang-sys-1.8.1 \
		clap-4.5.28 \
		clap_builder-4.5.27 \
		clap_derive-4.5.28 \
		clap_lex-0.7.4 \
		cmake-0.1.54 \
		codespan-reporting-0.11.1 \
		codespan-reporting-0.13.1 \
		color_quant-1.1.0 \
		colorchoice-1.0.3 \
		combine-4.6.7 \
		concurrent-queue-2.5.0 \
		console_error_panic_hook-0.1.7 \
		const-oid-0.9.6 \
		core-foundation-0.9.4 \
		core-foundation-0.10.1 \
		core-foundation-sys-0.8.7 \
		core-graphics-0.23.2 \
		core-graphics-types-0.1.3 \
		core_maths-0.1.1 \
		cosmic-text-0.18.2 \
		cpufeatures-0.2.17 \
		crc-3.2.1 \
		crc-catalog-2.4.0 \
		crc32fast-1.4.2 \
		crossbeam-channel-0.5.15 \
		crossbeam-deque-0.8.6 \
		crossbeam-epoch-0.9.18 \
		crossbeam-utils-0.8.21 \
		crossterm-0.25.0 \
		crossterm_winapi-0.9.1 \
		crunchy-0.2.3 \
		crypto-bigint-0.5.5 \
		crypto-common-0.1.6 \
		ctr-0.9.2 \
		cursor-icon-1.1.0 \
		curve25519-dalek-4.1.3 \
		curve25519-dalek-derive-0.1.1 \
		cxx-1.0.140 \
		cxx-build-1.0.140 \
		cxxbridge-cmd-1.0.140 \
		cxxbridge-flags-1.0.140 \
		cxxbridge-macro-1.0.140 \
		data-encoding-2.8.0 \
		data-url-0.2.0 \
		der-0.7.9 \
		der-parser-9.0.0 \
		deranged-0.5.5 \
		derivative-2.2.0 \
		digest-0.10.7 \
		dirs-5.0.1 \
		dirs-sys-0.4.1 \
		dispatch-0.2.0 \
		dispatch2-0.3.1 \
		displaydoc-0.2.5 \
		dlib-0.5.2 \
		document-features-0.2.11 \
		downcast-rs-1.2.1 \
		dtls-0.17.1 \
		dunce-1.0.5 \
		dyn-clone-1.0.18 \
		ecdsa-0.16.9 \
		either-1.13.0 \
		elliptic-curve-0.13.8 \
		encoding_rs-0.8.35 \
		equivalent-1.0.1 \
		errno-0.3.10 \
		etagere-0.2.15 \
		euclid-0.22.11 \
		exr-1.73.0 \
		fastrand-2.3.0 \
		fdeflate-0.3.7 \
		fdk-aac-sys-0.5.0 \
		ff-0.13.0 \
		ffmpeg-next-8.1.0 \
		ffmpeg-sys-next-8.1.0 \
		fiat-crypto-0.2.9 \
		filetime-0.2.26 \
		find-msvc-tools-0.1.9 \
		flate2-1.1.4 \
		float-cmp-0.9.0 \
		float-cmp-0.10.0 \
		fnv-1.0.7 \
		foldhash-0.1.4 \
		foldhash-0.2.0 \
		font-types-0.10.1 \
		font-types-0.11.1 \
		fontconfig-parser-0.5.7 \
		fontdb-0.14.1 \
		fontdb-0.23.0 \
		foreign-types-0.3.2 \
		foreign-types-0.5.0 \
		foreign-types-macros-0.2.3 \
		foreign-types-shared-0.1.1 \
		foreign-types-shared-0.3.1 \
		form_urlencoded-1.2.1 \
		four-cc-0.4.0 \
		fs_extra-1.3.0 \
		futures-0.3.31 \
		futures-channel-0.3.31 \
		futures-core-0.3.31 \
		futures-executor-0.3.31 \
		futures-io-0.3.31 \
		futures-macro-0.3.31 \
		futures-sink-0.3.31 \
		futures-task-0.3.31 \
		futures-util-0.3.31 \
		fuzzy-matcher-0.3.7 \
		fxhash-0.2.1 \
		generic-array-0.14.7 \
		gethostname-0.4.3 \
		getrandom-0.2.15 \
		getrandom-0.3.1 \
		ghash-0.5.1 \
		gif-0.12.0 \
		gif-0.13.1 \
		gimli-0.31.1 \
		gl_generator-0.14.0 \
		glob-0.3.2 \
		glow-0.17.0 \
		glutin_wgl_sys-0.6.1 \
		gpu-allocator-0.28.0 \
		gpu-descriptor-0.3.2 \
		gpu-descriptor-types-0.2.0 \
		group-0.13.0 \
		h2-0.4.7 \
		h264-reader-0.8.0 \
		half-2.6.0 \
		harfrust-0.5.2 \
		hashbrown-0.12.3 \
		hashbrown-0.15.2 \
		hashbrown-0.16.1 \
		heck-0.5.0 \
		hermit-abi-0.4.0 \
		hermit-abi-0.5.2 \
		hex-0.4.3 \
		hex-slice-0.1.4 \
		hexf-parse-0.2.1 \
		hkdf-0.12.4 \
		hmac-0.12.1 \
		home-0.5.12 \
		http-1.2.0 \
		http-body-1.0.1 \
		http-body-util-0.1.2 \
		httparse-1.10.0 \
		httpdate-1.0.3 \
		hyper-1.6.0 \
		hyper-rustls-0.27.5 \
		hyper-tls-0.6.0 \
		hyper-util-0.1.10 \
		icrate-0.0.4 \
		icu_collections-1.5.0 \
		icu_locid-1.5.0 \
		icu_locid_transform-1.5.0 \
		icu_locid_transform_data-1.5.0 \
		icu_normalizer-1.5.0 \
		icu_normalizer_data-1.5.0 \
		icu_properties-1.5.1 \
		icu_properties_data-1.5.0 \
		icu_provider-1.5.0 \
		icu_provider_macros-1.5.0 \
		idna-1.0.3 \
		idna_adapter-1.2.0 \
		image-0.24.9 \
		imagesize-0.12.0 \
		indexmap-1.9.3 \
		indexmap-2.12.1 \
		inout-0.1.3 \
		inquire-0.7.5 \
		interceptor-0.17.1 \
		ipnet-2.11.0 \
		is_terminal_polyfill-1.70.1 \
		itertools-0.13.0 \
		itertools-0.14.0 \
		itoa-1.0.14 \
		jni-0.21.1 \
		jni-sys-0.3.0 \
		jobserver-0.1.32 \
		jpeg-decoder-0.3.1 \
		js-sys-0.3.91 \
		khronos-egl-6.0.0 \
		khronos_api-3.1.0 \
		kurbo-0.9.5 \
		lazy_static-1.5.0 \
		lazycell-1.3.0 \
		lebe-0.5.2 \
		libc-0.2.177 \
		libloading-0.8.6 \
		libm-0.2.15 \
		libredox-0.1.3 \
		linebender_resource_handle-0.1.1 \
		link-cplusplus-1.0.9 \
		linux-raw-sys-0.4.15 \
		linux-raw-sys-0.11.0 \
		litemap-0.7.4 \
		litrs-0.4.1 \
		lock_api-0.4.12 \
		log-0.4.29 \
		lru-0.16.3 \
		macro_rules_attribute-0.2.2 \
		macro_rules_attribute-proc_macro-0.2.2 \
		matchers-0.2.0 \
		matchit-0.7.3 \
		matrixmultiply-0.3.9 \
		md-5-0.10.6 \
		memchr-2.7.4 \
		memmap2-0.6.2 \
		memmap2-0.9.5 \
		memoffset-0.6.5 \
		memoffset-0.7.1 \
		microfft-0.6.0 \
		mime-0.3.17 \
		minimal-lexical-0.2.1 \
		miniz_oxide-0.8.9 \
		mio-0.8.11 \
		mio-1.0.3 \
		mp4ra-rust-0.3.0 \
		mpeg4-audio-const-0.2.0 \
		multer-3.1.0 \
		munge-0.4.7 \
		munge_macro-0.4.7 \
		naga-29.0.0 \
		nalgebra-0.32.6 \
		nalgebra-glm-0.18.0 \
		native-tls-0.2.13 \
		ndk-0.8.0 \
		ndk-context-0.1.1 \
		ndk-sys-0.5.0+25.2.9519653 \
		ndk-sys-0.6.0+11769913 \
		newline-converter-0.3.0 \
		nix-0.23.2 \
		nix-0.26.4 \
		nom-7.1.3 \
		nu-ansi-term-0.50.1 \
		num-bigint-0.4.6 \
		num-complex-0.4.6 \
		num-conv-0.2.0 \
		num-integer-0.1.46 \
		num-rational-0.4.2 \
		num-traits-0.2.19 \
		num_cpus-1.17.0 \
		num_enum-0.7.3 \
		num_enum_derive-0.7.3 \
		objc-sys-0.3.5 \
		objc2-0.4.1 \
		objc2-0.6.4 \
		objc2-core-foundation-0.3.2 \
		objc2-encode-3.0.0 \
		objc2-encode-4.1.0 \
		objc2-foundation-0.3.2 \
		objc2-metal-0.3.2 \
		objc2-quartz-core-0.3.2 \
		object-0.36.7 \
		oid-registry-0.7.1 \
		once_cell-1.21.3 \
		opaque-debug-0.3.1 \
		openssl-0.10.72 \
		openssl-macros-0.1.1 \
		openssl-probe-0.1.6 \
		openssl-probe-0.2.1 \
		openssl-sys-0.9.107 \
		option-ext-0.2.0 \
		opus-0.3.0 \
		orbclient-0.3.48 \
		ordered-float-4.6.0 \
		owned_ttf_parser-0.25.0 \
		p256-0.13.2 \
		p384-0.13.1 \
		parking_lot-0.12.3 \
		parking_lot_core-0.9.10 \
		paste-1.0.15 \
		peeking_take_while-0.1.2 \
		pem-3.0.4 \
		pem-rfc7468-0.7.0 \
		percent-encoding-2.3.1 \
		pico-args-0.5.0 \
		pin-project-lite-0.2.16 \
		pin-utils-0.1.0 \
		pitch-detection-0.3.0 \
		pkcs8-0.10.2 \
		pkg-config-0.3.31 \
		png-0.17.16 \
		polling-3.7.4 \
		pollster-0.3.0 \
		poly1305-0.8.0 \
		polyval-0.6.2 \
		portable-atomic-1.10.0 \
		portable-atomic-util-0.2.4 \
		powerfmt-0.2.0 \
		ppv-lite86-0.2.20 \
		presser-0.3.1 \
		prettyplease-0.2.29 \
		primal-check-0.3.4 \
		primeorder-0.13.6 \
		proc-macro-crate-3.2.0 \
		proc-macro2-1.0.93 \
		profiling-1.0.16 \
		ptr_meta-0.3.1 \
		ptr_meta_derive-0.3.1 \
		qoi-0.4.1 \
		quick-xml-0.37.2 \
		quote-1.0.38 \
		rancor-0.1.1 \
		rand-0.8.5 \
		rand-0.9.2 \
		rand_chacha-0.3.1 \
		rand_chacha-0.9.0 \
		rand_core-0.6.4 \
		rand_core-0.9.3 \
		range-alloc-0.1.4 \
		rangemap-1.7.1 \
		raw-window-handle-0.6.2 \
		raw-window-metal-1.1.0 \
		rawpointer-0.2.1 \
		rayon-1.10.0 \
		rayon-core-1.12.1 \
		rcgen-0.13.2 \
		rctree-0.5.0 \
		read-fonts-0.35.0 \
		read-fonts-0.37.0 \
		realfft-3.5.0 \
		redox_syscall-0.3.5 \
		redox_syscall-0.5.8 \
		redox_users-0.4.6 \
		regex-1.11.3 \
		regex-automata-0.4.11 \
		regex-syntax-0.8.5 \
		rend-0.5.3 \
		renderdoc-sys-1.1.0 \
		reqwest-0.12.12 \
		resvg-0.35.0 \
		rfc6381-codec-0.2.0 \
		rfc6979-0.4.0 \
		rgb-0.8.50 \
		ring-0.17.14 \
		rkyv-0.8.15 \
		rkyv_derive-0.8.15 \
		roxmltree-0.18.1 \
		roxmltree-0.20.0 \
		rtcp-0.17.1 \
		rtp-0.17.1 \
		rubato-1.0.0 \
		rustc-demangle-0.1.24 \
		rustc-hash-1.1.0 \
		rustc-hash-2.1.1 \
		rustc_version-0.4.1 \
		rustfft-6.4.1 \
		rusticata-macros-4.1.0 \
		rustix-0.38.44 \
		rustix-1.1.2 \
		rustls-0.23.37 \
		rustls-native-certs-0.8.3 \
		rustls-pemfile-2.2.0 \
		rustls-pki-types-1.12.0 \
		rustls-webpki-0.103.10 \
		rustversion-1.0.19 \
		rustybuzz-0.7.0 \
		ryu-1.0.19 \
		safe_arch-0.7.4 \
		same-file-1.0.6 \
		schannel-0.1.27 \
		schemars-0.8.22 \
		schemars_derive-0.8.22 \
		scoped-tls-1.0.1 \
		scopeguard-1.2.0 \
		scratch-1.0.7 \
		sctk-adwaita-0.8.3 \
		sdp-0.17.1 \
		sec1-0.7.3 \
		security-framework-2.11.1 \
		security-framework-3.6.0 \
		security-framework-sys-2.17.0 \
		self_cell-1.2.2 \
		semver-1.0.25 \
		serde-1.0.228 \
		serde-wasm-bindgen-0.6.5 \
		serde_core-1.0.228 \
		serde_derive-1.0.228 \
		serde_derive_internals-0.29.1 \
		serde_json-1.0.138 \
		serde_path_to_error-0.1.16 \
		serde_urlencoded-0.7.1 \
		sha1-0.10.6 \
		sha2-0.10.8 \
		sharded-slab-0.1.7 \
		shared_memory-0.12.4 \
		shlex-1.3.0 \
		signal-hook-0.3.17 \
		signal-hook-mio-0.2.4 \
		signal-hook-registry-1.4.2 \
		signature-2.2.0 \
		simba-0.8.1 \
		simd-adler32-0.3.7 \
		simdutf8-0.1.5 \
		simplecss-0.2.2 \
		siphasher-0.3.11 \
		skrifa-0.37.0 \
		skrifa-0.40.0 \
		slab-0.4.9 \
		slotmap-1.0.7 \
		smallvec-1.15.1 \
		smithay-client-toolkit-0.18.1 \
		smol_str-0.2.2 \
		smol_str-0.3.6 \
		socket2-0.5.8 \
		spectrum-analyzer-1.7.0 \
		spin-0.9.8 \
		spirv-0.4.0+sdk-1.4.341.0 \
		spki-0.7.3 \
		stable_deref_trait-1.2.0 \
		static_assertions-1.1.0 \
		strength_reduce-0.2.4 \
		strict-num-0.1.1 \
		strsim-0.11.1 \
		strum-0.27.2 \
		strum_macros-0.27.2 \
		stun-0.17.1 \
		substring-1.4.5 \
		subtle-2.6.1 \
		svg_fmt-0.4.4 \
		svgtypes-0.11.0 \
		swash-0.2.6 \
		syn-1.0.109 \
		syn-2.0.98 \
		sync_wrapper-1.0.2 \
		synstructure-0.13.1 \
		sys-locale-0.3.2 \
		system-configuration-0.6.1 \
		system-configuration-sys-0.6.0 \
		tar-0.4.45 \
		tempfile-3.16.0 \
		termcolor-1.4.1 \
		thiserror-1.0.69 \
		thiserror-2.0.17 \
		thiserror-impl-1.0.69 \
		thiserror-impl-2.0.17 \
		thread_local-1.1.8 \
		tiff-0.9.1 \
		time-0.3.47 \
		time-core-0.1.8 \
		time-macros-0.2.27 \
		tiny-skia-0.10.0 \
		tiny-skia-0.11.4 \
		tiny-skia-path-0.10.0 \
		tiny-skia-path-0.11.4 \
		tiny_http-0.12.0 \
		tinystr-0.7.6 \
		tinyvec-1.8.1 \
		tinyvec_macros-0.1.1 \
		tokio-1.44.2 \
		tokio-macros-2.5.0 \
		tokio-native-tls-0.3.1 \
		tokio-rustls-0.26.1 \
		tokio-tungstenite-0.21.0 \
		tokio-tungstenite-0.24.0 \
		tokio-util-0.7.13 \
		toml_datetime-0.6.8 \
		toml_edit-0.22.24 \
		tower-0.5.2 \
		tower-http-0.6.2 \
		tower-layer-0.3.3 \
		tower-service-0.3.3 \
		tracing-0.1.41 \
		tracing-attributes-0.1.28 \
		tracing-core-0.1.33 \
		tracing-log-0.2.0 \
		tracing-serde-0.2.0 \
		tracing-subscriber-0.3.20 \
		tracing-wasm-0.2.1 \
		transpose-0.2.3 \
		try-lock-0.2.5 \
		ttf-parser-0.18.1 \
		ttf-parser-0.19.2 \
		ttf-parser-0.25.1 \
		tungstenite-0.21.0 \
		tungstenite-0.24.0 \
		turn-0.17.1 \
		typenum-1.17.0 \
		unicase-2.8.1 \
		unicode-bidi-0.3.18 \
		unicode-bidi-mirroring-0.1.0 \
		unicode-ccc-0.1.2 \
		unicode-general-category-0.6.0 \
		unicode-ident-1.0.16 \
		unicode-linebreak-0.1.5 \
		unicode-script-0.5.8 \
		unicode-segmentation-1.12.0 \
		unicode-vo-0.1.0 \
		unicode-width-0.1.14 \
		universal-hash-0.5.1 \
		untrusted-0.9.0 \
		url-2.5.4 \
		urlencoding-2.1.3 \
		usvg-0.35.0 \
		usvg-parser-0.35.0 \
		usvg-text-layout-0.35.0 \
		usvg-tree-0.35.0 \
		utf-8-0.7.6 \
		utf16_iter-1.0.5 \
		utf8_iter-1.0.4 \
		utf8parse-0.2.2 \
		utoipa-5.4.0 \
		utoipa-gen-5.4.0 \
		uuid-1.17.0 \
		v4l-0.14.0 \
		v4l2-sys-mit-0.3.0 \
		valuable-0.1.1 \
		vcpkg-0.2.15 \
		version_check-0.9.5 \
		visibility-0.1.1 \
		vk-mem-0.4.0 \
		waitgroup-0.1.2 \
		walkdir-2.5.0 \
		want-0.3.1 \
		wasi-0.11.0+wasi-snapshot-preview1 \
		wasi-0.13.3+wasi-0.2.2 \
		wasm-bindgen-0.2.114 \
		wasm-bindgen-futures-0.4.64 \
		wasm-bindgen-macro-0.2.114 \
		wasm-bindgen-macro-support-0.2.114 \
		wasm-bindgen-shared-0.2.114 \
		wayland-backend-0.3.8 \
		wayland-client-0.31.8 \
		wayland-csd-frame-0.3.0 \
		wayland-cursor-0.31.8 \
		wayland-protocols-0.31.2 \
		wayland-protocols-plasma-0.2.0 \
		wayland-protocols-wlr-0.2.0 \
		wayland-scanner-0.31.6 \
		wayland-sys-0.31.6 \
		web-sys-0.3.91 \
		web-time-0.2.4 \
		webrtc-0.17.1 \
		webrtc-data-0.17.1 \
		webrtc-ice-0.17.1 \
		webrtc-mdns-0.17.1 \
		webrtc-media-0.17.1 \
		webrtc-sctp-0.17.1 \
		webrtc-srtp-0.17.1 \
		webrtc-util-0.17.1 \
		weezl-0.1.12 \
		wgpu-29.0.0 \
		wgpu-core-29.0.0 \
		wgpu-core-deps-apple-29.0.0 \
		wgpu-core-deps-emscripten-29.0.0 \
		wgpu-core-deps-wasm-29.0.0 \
		wgpu-core-deps-windows-linux-android-29.0.0 \
		wgpu-hal-29.0.0 \
		wgpu-naga-bridge-29.0.0 \
		wgpu-types-29.0.0 \
		which-4.4.2 \
		wide-0.7.32 \
		widestring-1.1.0 \
		win-sys-0.3.1 \
		winapi-0.3.9 \
		winapi-i686-pc-windows-gnu-0.4.0 \
		winapi-util-0.1.9 \
		winapi-x86_64-pc-windows-gnu-0.4.0 \
		windowfunctions-0.1.1 \
		windows-0.34.0 \
		windows-0.62.2 \
		windows-collections-0.3.2 \
		windows-core-0.62.2 \
		windows-future-0.3.2 \
		windows-implement-0.60.2 \
		windows-interface-0.59.3 \
		windows-link-0.2.1 \
		windows-numerics-0.3.1 \
		windows-registry-0.2.0 \
		windows-result-0.2.0 \
		windows-result-0.4.1 \
		windows-strings-0.1.0 \
		windows-strings-0.5.1 \
		windows-sys-0.45.0 \
		windows-sys-0.48.0 \
		windows-sys-0.52.0 \
		windows-sys-0.59.0 \
		windows-sys-0.60.2 \
		windows-sys-0.61.2 \
		windows-targets-0.42.2 \
		windows-targets-0.48.5 \
		windows-targets-0.52.6 \
		windows-targets-0.53.5 \
		windows-threading-0.2.1 \
		windows_aarch64_gnullvm-0.42.2 \
		windows_aarch64_gnullvm-0.48.5 \
		windows_aarch64_gnullvm-0.52.6 \
		windows_aarch64_gnullvm-0.53.1 \
		windows_aarch64_msvc-0.34.0 \
		windows_aarch64_msvc-0.42.2 \
		windows_aarch64_msvc-0.48.5 \
		windows_aarch64_msvc-0.52.6 \
		windows_aarch64_msvc-0.53.1 \
		windows_i686_gnu-0.34.0 \
		windows_i686_gnu-0.42.2 \
		windows_i686_gnu-0.48.5 \
		windows_i686_gnu-0.52.6 \
		windows_i686_gnu-0.53.1 \
		windows_i686_gnullvm-0.52.6 \
		windows_i686_gnullvm-0.53.1 \
		windows_i686_msvc-0.34.0 \
		windows_i686_msvc-0.42.2 \
		windows_i686_msvc-0.48.5 \
		windows_i686_msvc-0.52.6 \
		windows_i686_msvc-0.53.1 \
		windows_x86_64_gnu-0.34.0 \
		windows_x86_64_gnu-0.42.2 \
		windows_x86_64_gnu-0.48.5 \
		windows_x86_64_gnu-0.52.6 \
		windows_x86_64_gnu-0.53.1 \
		windows_x86_64_gnullvm-0.42.2 \
		windows_x86_64_gnullvm-0.48.5 \
		windows_x86_64_gnullvm-0.52.6 \
		windows_x86_64_gnullvm-0.53.1 \
		windows_x86_64_msvc-0.34.0 \
		windows_x86_64_msvc-0.42.2 \
		windows_x86_64_msvc-0.48.5 \
		windows_x86_64_msvc-0.52.6 \
		windows_x86_64_msvc-0.53.1 \
		winit-0.29.15 \
		winnow-0.7.2 \
		wit-bindgen-rt-0.33.0 \
		write16-1.0.0 \
		writeable-0.5.5 \
		x11-dl-2.21.0 \
		x11rb-0.13.1 \
		x11rb-protocol-0.13.1 \
		x25519-dalek-2.0.1 \
		x509-parser-0.16.0 \
		xattr-1.6.1 \
		xcursor-0.3.8 \
		xkbcommon-dl-0.4.2 \
		xkeysym-0.2.1 \
		xml-rs-0.8.25 \
		xmlparser-0.13.6 \
		xmlwriter-0.1.0 \
		yasna-0.5.2 \
		yazi-0.2.1 \
		yoke-0.7.5 \
		yoke-derive-0.7.5 \
		zeno-0.3.3 \
		zerocopy-0.7.35 \
		zerocopy-derive-0.7.35 \
		zerofrom-0.1.5 \
		zerofrom-derive-0.1.5 \
		zeroize-1.8.1 \
		zeroize_derive-1.4.2 \
		zerovec-0.10.4 \
		zerovec-derive-0.10.3 \
		zune-inflate-0.2.54 \
		mp4@git+https://github.com/smelter-labs/mp4-rust.git?branch=preserve-asc\#e0d3e9eb4b14b0ee127f3c44b578375d954c14d5 \
		glyphon@git+https://github.com/grovesNL/glyphon?rev=28f1cb9\#28f1cb92e120ab790eca9ecc6aeb0ed8c8336fc0

OPENSSLINC=	/usr/include
OPENSSLLIB=	/usr/lib

MAKE_ENV=	LIBCLANG_PATH=${LLVM_PREFIX}/lib

RUSTFLAGS+=	-C link-arg=-lc++

PLIST_FILES=	bin/${PORTNAME}

post-install:
	@${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/${PORTNAME}

.include <bsd.port.mk>
