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.000000
First Submitted: 2019-10-16 19:53 (UTC)
Last Updated: 2024-04-23 08:40 (UTC)

Latest Comments

« First ‹ Previous 1 2 3 4

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

Excalibur commented on 2020-11-16 05:08 (UTC)

"yay --editmenu -Syu pulseaudio-module-xrdp" to install, then update the first sha256sum to:e504d90676c0dd9b9f069b60790f8feb0cc929e2ab1cb1f864c3a49850bed93b

hina commented on 2020-01-07 07:25 (UTC)

checksum is not updated!