Package Details: pulseaudio-module-xrdp 0.7-1

Git Clone URL: https://aur.archlinux.org/pulseaudio-module-xrdp.git (read-only, click to copy)
Package Base: pulseaudio-module-xrdp
Description: PulseAudio modules for xrdp
Upstream URL: https://github.com/neutrinolabs/pulseaudio-module-xrdp
Licenses: LGPL
Submitter: kballen
Maintainer: Jat
Last Packager: Jat
Votes: 3
Popularity: 0.000018
First Submitted: 2019-10-16 19:53 (UTC)
Last Updated: 2023-04-23 03:51 (UTC)

Latest Comments

« First ‹ Previous 1 2 3 4 Next › Last »

captaincoder commented on 2022-01-18 08:31 (UTC)

This build can break when using aurutils with the container option. The container host does not have pulseaudio installed, nor does it have a need for it. The _pulseaudio_ver variable then gets set to an empty string. I suggest something like the following to obtain the version number from pacman instead of relying on makedeps that might not have been installed yet.

_pulseaudio_ver=$(pacman -Ss pulseaudio | grep "extra/pulseaudio " | sed -r -e 's/^.*pulseaudio ([0-9]+\.[0-9]+).*$/\1/g')

Probably awk can do a better job but I'm no hero with that language.

Jat commented on 2022-01-14 21:11 (UTC) (edited on 2022-01-14 21:11 (UTC) by Jat)

@Ta180m

pacman -Ql pulseaudio-module-xrdp

pulseaudio-module-xrdp /etc/
pulseaudio-module-xrdp /etc/xdg/
pulseaudio-module-xrdp /etc/xdg/autostart/
pulseaudio-module-xrdp /etc/xdg/autostart/pulseaudio-xrdp.desktop
pulseaudio-module-xrdp /usr/
pulseaudio-module-xrdp /usr/lib/
pulseaudio-module-xrdp /usr/lib/pulse-15.0/
pulseaudio-module-xrdp /usr/lib/pulse-15.0/modules/
pulseaudio-module-xrdp /usr/lib/pulse-15.0/modules/module-xrdp-sink.so
pulseaudio-module-xrdp /usr/lib/pulse-15.0/modules/module-xrdp-source.so
pulseaudio-module-xrdp /usr/libexec/
pulseaudio-module-xrdp /usr/libexec/pulseaudio-module-xrdp/
pulseaudio-module-xrdp /usr/libexec/pulseaudio-module-xrdp/load_pa_modules.sh

dodecahedron commented on 2022-01-14 21:07 (UTC)

The /libexec directory in this package should be moved to /usr/libexec.

Jat commented on 2021-11-05 09:11 (UTC)

@nergar this is a module for xrdp, not bluetooth.

bermudi commented on 2021-10-31 16:55 (UTC)

Build fails with BlueZ requires SBC support.

Adding sbc to make dependencies should fix it

sshaikh commented on 2021-08-27 14:58 (UTC) (edited on 2021-08-27 15:01 (UTC) by sshaikh)

I'm seeing the following while trying to build 0.5-2 in chroot:

:: Running post-transaction hooks...
(1/3) Arming ConditionNeedsUpdate...
(2/3) Warn about old perl modules
(3/3) Updating the info directory file...
==> Retrieving sources...
  -> Found pulseaudio-module-xrdp-0.5.tar.gz
  -> Downloading pulseaudio-.tar.xz...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0   278    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
curl: (22) The requested URL returned error: 404
==> ERROR: Failure while downloading https://freedesktop.org/software/pulseaudio/releases/pulseaudio-.tar.xz
    Aborting...

I believe the _pulseaudio_ver=$(pulseaudio --version | awk '{print $NF}') line is returning empty due to the chroot, so perhaps pulseaudio should be a makedepends?

dodecahedron commented on 2021-08-10 20:53 (UTC)

If anyone's trying to debug why sound isn't working, I added some fixes to the wiki.

kevinro commented on 2021-07-31 23:44 (UTC)

Here is fix.

# Maintainer: kballen <ken@kballentine.net>

pkgname=pulseaudio-module-xrdp
pkgver=0.5
pkgrel=1
pkgdesc="PulseAudio modules for xrdp"
arch=('i686' 'x86_64')
url="https://github.com/neutrinolabs/pulseaudio-module-xrdp"
license=('Apache')
depends=('pulseaudio' 'xrdp')
makedepends=('libasyncns' 'libcap' 'attr' 'libxtst' 'libsm' 'libsndfile' 'rtkit' 'libsoxr'
    'speexdsp' 'tdb' 'systemd' 'dbus' 'avahi' 'bluez' 'bluez-libs' 'jack2' 'sbc' 
    'lirc' 'openssl' 'fftw' 'orc' 'gtk3' 'webrtc-audio-processing' 'check' 'git' 'meson'
    'xmltoman' 'valgrind' 'doxygen')

source=("${pkgname}-${pkgver}.tar.gz::https://github.com/neutrinolabs/${pkgname}/archive/v${pkgver}.tar.gz"
        "git+https://github.com/pulseaudio/pulseaudio.git"
        "xrdp-script.conf")
sha256sums=('2fdda7b21293941dd671ee2a3557b904e3137eec062f4655a247fe60a4f7b0d1'
            'SKIP'
            '4c6e9c0b1eaf66ea6b8574570d89b292b8554d318ad324f3763f837013b9f44f')

prepare() {
    cd "$srcdir/pulseaudio"
    git checkout v`pkg-config libpulse --modversion|sed 's/[^0-9.]*\([0-9.]*\).*/\1/'`

    cd "$srcdir"

    local meson_options=(
      -D stream-restore-clear-old-devices=true
      -D pulsedsp-location='/usr/\$LIB/pulseaudio'
      -D udevrulesdir=/usr/lib/udev/rules.d
      -D bluez5-gstreamer=disabled
      -D elogind=disabled
      -D tcpwrap=disabled
    )

    arch-meson pulseaudio "$srcdir"/pulseaudio/build "${meson_options[@]}"
    meson compile -C "$srcdir"/pulseaudio/build

    cp -a "$srcdir"/pulseaudio/src/. "$srcdir"/pulseaudio/build/src/
}

build() {
    cd "$srcdir/${pkgname}-${pkgver}"
    ./bootstrap
    ./configure "PULSE_DIR=$srcdir/pulseaudio/build"
    make
}

package() {
    cd "$srcdir/${pkgname}-${pkgver}"
    make DESTDIR="$pkgdir" install

    # This package installs a global drop-in conf for pulseaudio.service to use the xrdp default.pa script instead of
    # the script from the pulseaudio package. If your only desktop sessions will be via xrdp, this should be fine. But
    # if you want to start local sessions too, this will prevent the real audio devices from being detected. If this is
    # a problem for you, delete the drop-in conf file and roll your own solution for loading the xrdp modules for xrdp
    # sessions only (maybe add PULSE_SCRIPT to the user systemd's environment in startwm.sh and create a drop-in for
    # pulseaudio.service that adds PassEnvironment=PULSE_SCRIPT).
    install -Dm644 "$srcdir"/xrdp-script.conf "$pkgdir"/usr/lib/systemd/user/pulseaudio.service.d/xrdp-script.conf
}

kyckl1ng commented on 2021-01-11 18:16 (UTC)

sha256sum for v0.5 is: 2fdda7b21293941dd671ee2a3557b904e3137eec062f4655a247fe60a4f7b0d1

please update