Package Details: gst-plugins-rs 0.9.8-1

Git Clone URL: (read-only, click to copy)
Package Base: gst-plugins-rs
Description: GStreamer plugins written in Rust
Upstream URL:
Keywords: gstreamer rust
Licenses: MIT, Apache, LGPL2.1, MPL2
Submitter: oktopod11
Maintainer: FabioLolix
Last Packager: FabioLolix
Votes: 0
Popularity: 0.000000
First Submitted: 2019-07-02 09:36 (UTC)
Last Updated: 2023-02-07 23:52 (UTC)

Latest Comments

FabioLolix commented on 2023-01-11 23:58 (UTC)

@Saancreed I had a build failure since a while which was:

Updating index
/usr/bin/python /home/fabio/Dev/Github/PKGBUILD-AUR_fix/g/gst-plugins-rs-git/src/gst-plugins-rs/ build /home/fabio/Dev/Github/PKGBUILD-AUR_fix/g/gst-plugins-rs-git/src/gst-plugins-rs/build /home/fabio/Dev/Github/PKGBUILD-AUR_fix/g/gst-plugins-rs-git/src/gst-plugins-rs /home/fabio/Dev/Github/PKGBUILD-AUR_fix/g/gst-plugins-rs-git/src/gst-plugins-rs/build release /usr lib --packages gst-plugin-audiofx gst-plugin-claxon gst-plugin-lewton gst-plugin-spotify gst-plugin-file gst-plugin-threadshare gst-plugin-mp4 gst-plugin-fmp4 gst-plugin-aws gst-plugin-hlssink3 gst-plugin-ndi gst-plugin-onvif gst-plugin-raptorq gst-plugin-reqwest gst-plugin-rtp gst-plugin-webrtchttp gst-plugin-webrtc gst-plugin-textahead gst-plugin-json gst-plugin-regex gst-plugin-textwrap gst-plugin-fallbackswitch gst-plugin-livesync gst-plugin-togglerecord gst-plugin-tracers gst-plugin-uriplaylistbin gst-plugin-cdg gst-plugin-closedcaption gst-plugin-dav1d gst-plugin-ffv1 gst-plugin-flavors gst-plugin-gif gst-plugin-hsv gst-plugin-png gst-plugin-rav1e gst-plugin-videofx gst-plugin-webp gst-plugin-sodium gst-plugin-gtk4 --features glib/v2_74 gio/v2_74 gst-plugin-rav1e/asm gtk gio gst-plugin-gtk4 gtk gio gst-plugin-gtk4 gtk gio gst-plugin-gtk4 clap serde serde_json clap wayland x11egl x11glx --depfile gst-plugins-rs.dep --lib-suffixes so
ninja: build stopped: subcommand failed.

and fixed it using your cargo fetch line thanks

Saancreed commented on 2023-01-02 18:25 (UTC)

Okay, I got it to build in a mostly clean chroot, still 0.8.4 because anything newer requires GStreamer 1.21 which is not stable yet.

diff --git a/PKGBUILD b/PKGBUILD
index b31c0a9..33744db 100644
@@ -8,14 +8,20 @@ pkgdesc="GStreamer plugins written in Rust"
 license=(Apache LGPL2.1 MIT MPL2)
-depends=(gstreamer gtk4 dav1d libsodium libwebp)
-makedepends=(git rust meson cargo-c clang)
+depends=(gstreamer gtk3 gtk4 csound dav1d libsodium libwebp)
+makedepends=(git rust meson cargo-c clang nasm ca-certificates-mozilla)

+prepare() {
+  cargo add 'dav1d@0.8' --manifest-path "${srcdir}/${pkgname}/video/dav1d/Cargo.toml"
+  cargo fetch --target x86_64-unknown-linux-gnu --manifest-path "${srcdir}/${pkgname}/Cargo.toml"
 build() {
   cd "${srcdir}/${pkgname}"
-  arch-meson build -D csound=disabled -D sodium=system
+  export CSOUND_LIB_DIR=/usr/lib
+  arch-meson build -D sodium=system
   ninja -C build

Adding csound is probably not necessary but I went for the full plugin set anyway. Once GStreamer 1.21 hits Arch repos and this package is updated, the manual dav1d bump won't be required anymore (crate versions older than 0.8 can't handle dav1d 1.0 which is what previously broke the build).

FabioLolix commented on 2022-12-11 22:19 (UTC)

@Saancreed some update broke the compiling of dav1d module after the release, it was possible to build disabling that but now all is failing for:

Error: CliError { error: Some(failed to download from ``

Caused by:
    [77] Problem with the SSL CA cert (path? access rights?) (error setting certificate file: /etc/ssl/certs/ca-certificates.crt)), exit_code: 101 }
/usr/bin/python /home/fabio/Dev/Github/PKGBUILD-AUR_fix/g/gst-plugins-rs/src/gst-plugins-rs/ build /home/fabio/Dev/Github/PKGBUILD-AUR_fix/g/gst-plugins-rs/src/gst-plugins-rs/build /home/fabio/Dev/Github/PKGBUILD-AUR_fix/g/gst-plugins-rs/src/gst-plugins-rs /home/fabio/Dev/Github/PKGBUILD-AUR_fix/g/gst-plugins-rs/src/gst-plugins-rs/build release gst-plugin-audiofx,gst-plugin-aws,gst-plugin-cdg,gst-plugin-claxon,gst-plugin-closedcaption,gst-plugin-fallbackswitch,gst-plugin-ffv1,gst-plugin-file,gst-plugin-flavors,gst-plugin-fmp4,gst-plugin-gif,gst-plugin-gtk4,gst-plugin-hlssink3,gst-plugin-hsv,gst-plugin-json,gst-plugin-lewton,gst-plugin-mp4,gst-plugin-ndi,gst-plugin-onvif,gst-plugin-png,gst-plugin-raptorq,gst-plugin-rav1e,gst-plugin-regex,gst-plugin-reqwest,gst-plugin-rtp,gst-plugin-sodium,gst-plugin-spotify,gst-plugin-textahead,gst-plugin-textwrap,gst-plugin-threadshare,gst-plugin-togglerecord,gst-plugin-tracers,gst-plugin-uriplaylistbin,gst-plugin-videofx,gst-plugin-webp,gst-plugin-webrtc,gst-plugin-webrtchttp SODIUM_USE_PKG_CONFIG:1 /usr lib --depfile gst-plugins-rs.dep --exts so
ninja: build stopped: subcommand failed.

Saancreed commented on 2022-09-05 20:46 (UTC)

Hi, this package doesn't build for me because of something that looks like a Rust compilation error, full build log is here. Is upstream currently broken or am I missing something obvious?

FabioLolix commented on 2022-01-30 19:23 (UTC)

updated to v0.8.0

dreieck commented on 2022-01-29 18:31 (UTC)

Please download the specific version's sources by using

source=("${pkgname}/-/archive/${pkgver}/${pkgname}-${pkgver}.tar.gz") (this actually works)

and also add appropriate integrity checksum then.

Thanks for maintaining!

dreieck commented on 2022-01-29 18:13 (UTC) (edited on 2022-01-29 18:32 (UTC) by dreieck)

Version 0.8.0 is out.

But it fails to build for me with gst-plugins-rs-0.8.0/ ERROR: Unknown options: "package-name, package-origin":

==> Starting build()...
+ exec meson setup --prefix /usr --libexecdir lib --sbindir bin --buildtype plain --auto-features enabled --wrap-mode nodownload -D b_lto=true -D b_pie=true gst-plugins-rs-0.8.0 build -D 'package-name=GStreamer Rust Plugins (Arch Linux)' -D package-origin=
The Meson build system
Version: 0.61.1
Source dir: /[...]/gst-plugins-rs/src/gst-plugins-rs-0.8.0
Build dir: /[...]/gst-plugins-rs/src/build
Build type: native build

gst-plugins-rs-0.8.0/ ERROR: Unknown options: "package-name, package-origin"

A full log can be found at /[...]/gst-plugins-rs/src/build/meson-logs/meson-log.txt
==> ERROR: A failure occurred in build().

Similar with version 0.7.2 or 0.6.0.

(Build carried out with the PKGBUILD suggested by @robertfoster in 2020-11-16.)

robertfoster commented on 2020-11-16 10:53 (UTC) (edited on 2020-11-16 10:58 (UTC) by robertfoster)

Please update with something working, as example:

# Maintainer: Nikola Hadžić <>
# Contributor: robertfoster

pkgdesc="GStreamer plugins written in Rust"
license=(LGPL MIT Apache)
depends=(csound gstreamer libsodium)
makedepends=(rust git meson)

build() {
  arch-meson $pkgname-$pkgver build \
    -D package-name="GStreamer Rust Plugins (Arch Linux)" \
    -D package-origin=""
  meson compile -C build

#check() {
#  cd $srcdir/$pkgname-$pkgver
#  meson test -C build --print-errorlogs

package() {
  install -d "$pkgdir"/usr/lib/gstreamer-1.0
  install -m 755 build/*.so "$pkgdir"/usr/lib/gstreamer-1.0