void-packages/srcpkgs/gst-plugins-rs1/template
2025-05-11 14:28:21 -04:00

26 lines
1.1 KiB
Bash

# Template file for 'gst-plugins-rs1'
pkgname=gst-plugins-rs1
version=0.13.4
revision=2
build_style=meson
build_helper=rust
configure_args="-Ddoc=disabled"
hostmakedepends="pkg-config gettext glib-devel cargo cargo-c"
makedepends="rust-std gstreamer1-devel gst-plugins-base1-devel gst-plugins-bad1-devel
openssl-devel libsodium-devel gtk4-devel pango-devel libwebp-devel libdav1d-devel"
short_desc="GStreamer plugins and elements written in the Rust programming language"
maintainer="oreo639 <oreo6391@gmail.com>"
license="LGPL-2.1-or-later, MIT, Apache-2.0, MPL-2.0"
homepage="https://gstreamer.freedesktop.org"
distfiles="https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/-/archive/${version}/gst-plugins-rs-${version}.tar.gz"
checksum=547ac671c3c5ac4b7ee0b3c7ae5c89084abe15848ba4d15967f0fc38746bc06b
make_check=no # TODO: Meson check times-out while tests are compiling
pre_configure() {
# Otherwise results in --sysroot being duplicated on cross-compile, which we don't want
vsed -i cargo_wrapper.py -e "s/env\['RUSTFLAGS'\] =.*//g"
}
post_install() {
vlicense LICENSE-MIT
}