Package Details: gst-plugins-rs 1.24.2-1

Git Clone URL: https://aur.archlinux.org/gst-plugins-rs.git (read-only, click to copy)
Package Base: gst-plugins-rs
Description: GStreamer plugins written in Rust (dav1d disabled when fail to build)
Upstream URL: https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs
Keywords: gstreamer rust
Licenses: MIT, Apache, LGPL2.1, MPL2
Conflicts: gst-plugin-gtk4
Provides: gst-plugin-gtk4
Submitter: oktopod11
Maintainer: FabioLolix
Last Packager: FabioLolix
Votes: 3
Popularity: 0.155329
First Submitted: 2019-07-02 09:36 (UTC)
Last Updated: 2024-04-09 12:52 (UTC)

Latest Comments

« First ‹ Previous 1 2 3 Next › Last »

yochananmarqos commented on 2023-09-21 22:18 (UTC)

@FabioLolix: This should now match GStreamer release versions; i.e, 1.22.6 for the current release.

yochananmarqos commented on 2023-06-07 17:12 (UTC)

@FabioLolix: The docs issue is resolved with 0.10.8. See my updated and improved PKGBUILD.

FabioLolix commented on 2023-04-23 09:56 (UTC) (edited on 2023-04-23 10:07 (UTC) by FabioLolix)

In the upcoming update documentation will be disabled for an error it give, suggestions are welcome

Program hotdoc found: YES (/usr/bin/hotdoc)
Program hotdoc found: YES (/usr/bin/hotdoc)

docs/meson.build:73:12: ERROR: Problem encountered: Documentation enabled but gst-extension missing

Adding gstreamer-docs to makedepends did not help

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

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

Updating crates.io index
FAILED: libgstrsaudiofx.so libgstclaxon.so libgstlewton.so libgstspotify.so libgstrsfile.so libgstthreadshare.so libgstmp4.so libgstfmp4.so libgstaws.so libgsthlssink3.so libgstndi.so libgstrsonvif.so libgstraptorq.so libgstreqwest.so libgstrsrtp.so libgstwebrtchttp.so libgstrswebrtc.so libgsttextahead.so libgstjson.so libgstregex.so libgsttextwrap.so libgstfallbackswitch.so libgstlivesync.so libgsttogglerecord.so libgstrstracers.so libgsturiplaylistbin.so libgstcdg.so libgstrsclosedcaption.so libgstdav1d.so libgstffv1.so libgstrsflv.so libgstgif.so libgsthsv.so libgstrspng.so libgstrav1e.so libgstrsvideofx.so libgstrswebp.so libgstsodium.so libgstgtk4.so 
/usr/bin/python /home/fabio/Dev/Github/PKGBUILD-AUR_fix/g/gst-plugins-rs-git/src/gst-plugins-rs/cargo_wrapper.py 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
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -8,14 +8,20 @@ pkgdesc="GStreamer plugins written in Rust"
 arch=(x86_64)
 url="https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs"
 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)
 source=("git+https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs.git#tag=${pkgver}")
 sha256sums=(SKIP)

+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 `https://crates.io/api/v1/crates/aho-corasick/0.7.20/download`

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 }
FAILED: libgstrsaudiofx.so libgstclaxon.so libgstlewton.so libgstspotify.so libgstrsfile.so libgstthreadshare.so libgstmp4.so libgstfmp4.so libgstaws.so libgsthlssink3.so libgstndi.so libgstraptorq.so libgstreqwest.so libgstrsrtp.so libgstwebrtchttp.so libgstrswebrtc.so libgsttextahead.so libgstjson.so libgstregex.so libgsttextwrap.so libgstfallbackswitch.so libgsttogglerecord.so libgstrstracers.so libgsturiplaylistbin.so libgstcdg.so libgstffv1.so libgstrsflv.so libgstgif.so libgsthsv.so libgstrspng.so libgstrav1e.so libgstrswebp.so libgstrsvideofx.so libgstrsclosedcaption.so libgstrsonvif.so libgstsodium.so libgstgtk4.so 
/usr/bin/python /home/fabio/Dev/Github/PKGBUILD-AUR_fix/g/gst-plugins-rs/src/gst-plugins-rs/cargo_wrapper.py 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=("https://gitlab.freedesktop.org/gstreamer/${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/meson.build:1: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=https://www.archlinux.org/
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/meson.build:1: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.)