Package Details: pipeswitchd 1.0.1-1

Git Clone URL: https://aur.archlinux.org/pipeswitchd.git (read-only, click to copy)
Package Base: pipeswitchd
Description: Daemon for PipeWire that automatically links audio inputs and outputs based on regular expressions, similar to patchbay.
Upstream URL: https://github.com/Teascade/pipeswitch
Keywords: pipewire
Licenses: GPL3
Submitter: teascade
Maintainer: teascade
Last Packager: teascade
Votes: 2
Popularity: 0.000000
First Submitted: 2022-12-02 21:03 (UTC)
Last Updated: 2022-12-02 22:21 (UTC)

Required by (0)

Sources (1)

Latest Comments

teascade commented on 2024-12-09 21:04 (UTC)

@dreieck this is just the output of cargo build. As cargo does not have native support for downloading dependencies separately to building (as far as I know), I don't think there is a way to fix this.

dreieck commented on 2024-12-09 13:20 (UTC)

Ahoj,

this PKGBUILD downloads stuff in build().
This should not happen.

Please download the rust-specific dependencies in prepare() (and into a sub-directory of ${srcdor}).

Regards and thanks for the package!

==> Starting build()...
[...]
    Updating crates.io index
  Downloaded shlex v1.1.0
  Downloaded peeking_take_while v0.1.2
  Downloaded dirs v4.0.0
  Downloaded dirs-sys v0.3.7
[...]
  Downloaded tokio v1.22.0
  Downloaded 57 crates (4.1 MB) in 2.13s

teascade commented on 2023-02-01 16:54 (UTC) (edited on 2023-02-01 17:01 (UTC) by teascade)

@dreieck Indeed the package is currently unable to build on latest versions. This is due to PipeWire version 0.3.64 and linking the rust bindings no longer work with the same version of the library as before. There hasn't also been a release from pipewire-rs which would fix this problem yet, so there is nothing I can do about this as of the moment. If someone needs to build this package manually, I would recommend rolling back to PipeWire 0.3.63 or earlier.

EDIT: Alternatively, what I would recommend for the time being, is for anyone who wants to use this package to simply use pipeswitchd-bin

dreieck commented on 2023-02-01 16:49 (UTC)

Fails to build for me:

   Compiling pipewire v0.5.0
error[E0425]: cannot find value `PW_KEY_NODE_TARGET` in crate `pw_sys`
   --> /home/[...]/.cargo/registry/src/github.com-1ecc6299db9ec823/pipewire-0.5.0/src/auto/keys.rs:164:28
    |
164 | key_constant!(NODE_TARGET, PW_KEY_NODE_TARGET,
    |                            ^^^^^^^^^^^^^^^^^^ help: a constant with a similar name exists: `PW_KEY_NODE_NAME`
    |
   ::: /home/[...]/.cache/yay/pipeswitchd/src/pipeswitchd/target/release/build/pipewire-sys-5f3f58624ffdd21a/out/bindings.rs:151:1
    |
151 | pub const PW_KEY_NODE_NAME: &[u8; 10usize] = b"node.name\0";
    | ------------------------------------------ similarly named constant `PW_KEY_NODE_NAME` defined here

For more information about this error, try `rustc --explain E0425`.
error: could not compile `pipewire` due to previous error

Regards!