summaryrefslogtreecommitdiffstats
path: root/sesman
diff options
context:
space:
mode:
authorDominik George <nik@naturalnet.de>2017-12-26 09:56:08 +0100
committermetalefty <meta@vmeta.jp>2017-12-26 19:06:36 +0900
commit53eccc93a29cc08a01ed8002631a9c539cfcc026 (patch)
tree79fda1620bd10a88d28835412cd8b7ed52d05f72 /sesman
parent001cb3e2c6d38f22a1d7611efbc66ba53b460d26 (diff)
downloadxrdp-proprietary-53eccc93a29cc08a01ed8002631a9c539cfcc026.tar.gz
xrdp-proprietary-53eccc93a29cc08a01ed8002631a9c539cfcc026.zip
Simplify pulseaudio module build instructions
Diffstat (limited to 'sesman')
-rw-r--r--sesman/chansrv/pulse/README.md38
1 files changed, 5 insertions, 33 deletions
diff --git a/sesman/chansrv/pulse/README.md b/sesman/chansrv/pulse/README.md
index a072df5d..dbc89242 100644
--- a/sesman/chansrv/pulse/README.md
+++ b/sesman/chansrv/pulse/README.md
@@ -56,36 +56,13 @@ current directory.
Enter into the directory and build the pulseaudio package.
cd pulseaudio-10.0
- dpkg-buildpackage -rfakeroot -uc -b
-
-Enter into pulse directory in xrdp source.
-
- cd ~/xrdp/sesman/chansrv/pulse
- nano Makefile
-
-Edit the `Makefile`. Replace `/tmp/pulseaudio-10.0` with your pulseaudio source
-directory.
-
-```diff
-diff --git a/sesman/chansrv/pulse/Makefile b/sesman/chansrv/pulse/Makefile
-index 74977221..395ef0a0 100644
---- a/sesman/chansrv/pulse/Makefile
-+++ b/sesman/chansrv/pulse/Makefile
-@@ -3,7 +3,7 @@
- #
-
- # change this to your pulseaudio source directory
--PULSE_DIR = /tmp/pulseaudio-10.0
-+PULSE_DIR = /home/debian/pulseaudio-10.0
- CFLAGS = -Wall -O2 -I$(PULSE_DIR) -I$(PULSE_DIR)/src -DHAVE_CONFIG_H -fPIC
-
- all: module-xrdp-sink.so module-xrdp-source.so
-```
+ ./configure
Finally, let's make. You'll have two .so files `module-xrdp-sink.so` and
`module-xrdp-source.so`.
- make
+ cd ~/xrdp/sesman/chansrv/pulse
+ make PULSE_DIR="~/pulseaudio-10.0"
## Other distro
@@ -105,16 +82,11 @@ directory, then run `./configure`.
If additional packages are required to run `./configure`, install requisite
packages depending on your environment.
-Next, enter into pulse directory in xrdp source and replace `/tmp/pulseaudio-10.0`
-in `Makefile` with your pulseaudio source directory.
-
- cd ~/xrdp/sesman/chansrv/pulse
- nano Makefile
-
Finally, let's make. You'll have two .so files `module-xrdp-sink.so` and
`module-xrdp-source.so`.
- make
+ cd ~/xrdp/sesman/chansrv/pulse
+ make PULSE_DIR="~/pulseaudio-10.0"
# Install