Package Base Details: pipewire-git

Git Clone URL: https://aur.archlinux.org/pipewire-git.git (read-only, click to copy)
Submitter: sl1pkn07
Maintainer: sl1pkn07
Last Packager: sl1pkn07
Votes: 14
Popularity: 1.98
First Submitted: 2017-09-19 15:57 (UTC)
Last Updated: 2022-10-21 18:40 (UTC)

Pinned Comments

Latest Comments

1 2 3 4 5 6 .. 12 Next › Last »

Quackdoc commented on 2022-05-23 00:36 (UTC) (edited on 2022-05-27 09:13 (UTC) by Quackdoc)

I have a simple pkgbuild https://github.com/Quackdoc/libLC3plus for LC3plus, only issue with it is that you need to manually rename /usr/include/lc3.h to lc3plus.h

I have it setup to install the float instead of fixed. but if fixed is needed the person who I forked it from has the cmake file for it, or it's in the git history

EDIT: it should work with pipewire now with additional kerfuffle.

souravdas142 commented on 2022-05-07 13:47 (UTC)

lc3plus codec is here (If any packager wants to package) : https://www.etsi.org/deliver/etsi_ts/103600_103699/103634/01.03.01_60/

pbo commented on 2022-05-06 06:59 (UTC)

@Nohan worked, thank you!

Nohan commented on 2022-05-05 17:05 (UTC)

@pbo Had the same problem, I built without it by adding


-D bluez5-codec-lc3plus=disabled

in the PKGBUILD, which then disables the lc3plus codec in the meson.options file by changing it from "auto" to "disabled".

This is what my current build options look like in the PKGBUILD now


build() {
  cd "${srcdir}/build"

  arch-meson ../pipewire \
    -D udevrulesdir=/usr/lib/udev/rules.d \
    -D docs=enabled \
    -D gstreamer=disabled \
    -D gstreamer-device-provider=disabled \
    -D roc=enabled \
    -D ffmpeg=enabled \
    -D vulkan=enabled \
    -D jack-devel=true \
    -D libjack-path=/usr/lib \
    -D session-managers=[] \
    -D bluez5-codec-lc3plus=disabled

  ninja
}

pbo commented on 2022-05-05 09:13 (UTC) (edited on 2022-05-05 09:26 (UTC) by pbo)

pipewire added support for LC3plus, cannot build:

Run-time dependency lc3plus found: NO (tried pkgconfig and cmake)

../pipewire/spa/meson.build:59:6: ERROR: C header 'lc3plus.h' not found

sl1pkn07 commented on 2022-04-12 13:28 (UTC)

imo, sounds a pipewire package issue. that files should be part of pupewire-pulse

try to fill a issue in the arch bugtracker

FreddieChopin commented on 2022-04-12 11:23 (UTC) (edited on 2022-04-12 11:24 (UTC) by FreddieChopin)

Any ideas how to solve this:

(1/1) checking for file conflicts                                               [#############################################] 100%
error: failed to commit transaction (conflicting files)
pipewire-pulse-git: /usr/share/man/man1/pipewire-pulse.1.gz exists in filesystem (owned by pipewire)
pipewire-pulse-git: /usr/share/pipewire/pipewire-pulse.conf exists in filesystem (owned by pipewire)
Errors occurred, no packages were upgraded.

?

nyanpasu64 commented on 2021-12-14 09:07 (UTC) (edited on 2021-12-14 09:27 (UTC) by nyanpasu64)

libcamera-git r3017.39c2d5dc-1 here and build ok

sl1pkn07, you're using a 3 month old libcamera-git package. libcamera broke their API on 2021-12-04 (https://git.linuxtv.org/libcamera.git/commit/?id=560f5cf998646ddc54a20dc1c7326012834d3204) and pipewire hasn't adapted yet. I reported this to pipewire at https://gitlab.freedesktop.org/pipewire/pipewire/-/issues/1904, and hopefully the build will be fixed soon.

For the time being you can replace .fd() with .get().

Alternatively, Arch's official pipewire package has -D libcamera=disabled (link). The pipewire lead developer recommends we enable that flag in pipewire-git for now (to remove the dependency on unstable libcamera and make the build more stable for end users), and possibly remove it when libcamera makes a release.

sl1pkn07 commented on 2021-12-12 18:27 (UTC) (edited on 2021-12-12 18:27 (UTC) by sl1pkn07)

libcamera-git r3017.39c2d5dc-1 here and build ok

cvolton commented on 2021-12-12 18:07 (UTC)

also I seem to be unable to build the package due to libspa-libcamera issues? This is using the latest libcamera-git package, which is also available in the AUR

[232/724] Compiling C++ object spa/plugins/libcamera/libspa-libcamera.so.p/libcamera-source.cpp.o
FAILED: spa/plugins/libcamera/libspa-libcamera.so.p/libcamera-source.cpp.o 
c++ -Ispa/plugins/libcamera/libspa-libcamera.so.p -Ispa/plugins/libcamera -I../pipewire/spa/plugins/libcamera -Ispa/include -I../pipewire/spa/include -I/usr/include/libcamera -I/usr/include/libdrm -flto=auto -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wnon-virtual-dtor -Wextra -Wpedantic -fvisibility=hidden -Werror=suggest-attribute=format -Wsign-compare -Wpointer-arith -Wformat -Wformat-security -Wimplicit-fallthrough -Wmissing-braces -Wtype-limits -Wvariadic-macros -Wno-missing-field-initializers -Wno-unused-parameter -Wno-pedantic -Wunused-result -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -Wp,-D_GLIBCXX_ASSERTIONS -fPIC -pthread -MD -MQ spa/plugins/libcamera/libspa-libcamera.so.p/libcamera-source.cpp.o -MF spa/plugins/libcamera/libspa-libcamera.so.p/libcamera-source.cpp.o.d -o spa/plugins/libcamera/libspa-libcamera.so.p/libcamera-source.cpp.o -c ../pipewire/spa/plugins/libcamera/libcamera-source.cpp
In file included from ../pipewire/spa/plugins/libcamera/libcamera-source.cpp:175:
../pipewire/spa/plugins/libcamera/libcamera-utils.cpp: In function ‘int mmap_init(impl*, port*, spa_buffer**, uint32_t)’:
../pipewire/spa/plugins/libcamera/libcamera-utils.cpp:561:67: error: ‘const class libcamera::SharedFD’ has no member named ‘fd’; did you mean ‘std::shared_ptr<libcamera::SharedFD::Descriptor> libcamera::SharedFD::fd_’? (not accessible from this context)
  561 |                                 d[j].fd = bufs[i]->planes()[j].fd.fd();
      |                                                                   ^~
In file included from /usr/include/libcamera/libcamera/framebuffer.h:16,
                 from /usr/include/libcamera/libcamera/stream.h:15,
                 from /usr/include/libcamera/libcamera/camera.h:21,
                 from ../pipewire/spa/plugins/libcamera/libcamera-source.cpp:54:
/usr/include/libcamera/libcamera/base/shared_fd.h:46:37: note: declared private here
   46 |         std::shared_ptr<Descriptor> fd_;
      |                                     ^~~
In file included from ../pipewire/spa/plugins/libcamera/libcamera-source.cpp:175:
../pipewire/spa/plugins/libcamera/libcamera-utils.cpp:571:73: error: ‘const class libcamera::SharedFD’ has no member named ‘fd’; did you mean ‘std::shared_ptr<libcamera::SharedFD::Descriptor> libcamera::SharedFD::fd_’? (not accessible from this context)
  571 |                                                 bufs[i]->planes()[j].fd.fd(),
      |                                                                         ^~
In file included from /usr/include/libcamera/libcamera/framebuffer.h:16,
                 from /usr/include/libcamera/libcamera/stream.h:15,
                 from /usr/include/libcamera/libcamera/camera.h:21,
                 from ../pipewire/spa/plugins/libcamera/libcamera-source.cpp:54:
/usr/include/libcamera/libcamera/base/shared_fd.h:46:37: note: declared private here
   46 |         std::shared_ptr<Descriptor> fd_;
      |                                     ^~~
[249/724] Linking target spa/plugins/alsa/libspa-alsa.so
ninja: build stopped: subcommand failed.
==> ERROR: A failure occurred in build().
    Aborting...