diff options
author | Javier Jardón <jjardon@gnome.org> | 2016-07-03 21:34:00 +0100 |
---|---|---|
committer | Javier Jardón <jjardon@gnome.org> | 2016-07-19 15:02:54 +0100 |
commit | 9b5d457c60cb23a0ff31b30a382618f54d26fdff (patch) | |
tree | ed1b99b5d23dac902213f82b1ed93032850977ab /strata/sound-server-pulseaudio | |
parent | 4ba91e4ea8fa995de0cbf876bdec382da6610c9e (diff) | |
download | definitions-9b5d457c60cb23a0ff31b30a382618f54d26fdff.tar.gz |
Split bluetooth and audio-server (pulseaudio) in different stratareview/javier_jardón/split_bluez_audio
Change-Id: I5bd5d79581ed59833002f27f10b596202d8d06bb
Diffstat (limited to 'strata/sound-server-pulseaudio')
-rw-r--r-- | strata/sound-server-pulseaudio/alsa-utils.morph | 7 | ||||
-rw-r--r-- | strata/sound-server-pulseaudio/avahi.morph | 16 | ||||
-rw-r--r-- | strata/sound-server-pulseaudio/json-c.morph | 7 | ||||
-rw-r--r-- | strata/sound-server-pulseaudio/libsndfile.morph | 5 | ||||
-rw-r--r-- | strata/sound-server-pulseaudio/pulseaudio.morph | 18 | ||||
-rw-r--r-- | strata/sound-server-pulseaudio/webrtc-audio-processing.morph | 14 |
6 files changed, 67 insertions, 0 deletions
diff --git a/strata/sound-server-pulseaudio/alsa-utils.morph b/strata/sound-server-pulseaudio/alsa-utils.morph new file mode 100644 index 00000000..a6a1e041 --- /dev/null +++ b/strata/sound-server-pulseaudio/alsa-utils.morph @@ -0,0 +1,7 @@ +name: alsa-utils +kind: chunk +description: ALSA utilities +build-system: autotools +configure-commands: +- autoreconf -ifv +- ./configure --prefix="$PREFIX" --disable-xmlto diff --git a/strata/sound-server-pulseaudio/avahi.morph b/strata/sound-server-pulseaudio/avahi.morph new file mode 100644 index 00000000..a255ce1e --- /dev/null +++ b/strata/sound-server-pulseaudio/avahi.morph @@ -0,0 +1,16 @@ +name: avahi +kind: chunk +build-system: autotools +configure-commands: +- | + ./autogen.sh --prefix="$PREFIX" --sysconfdir=/etc --localstatedir=/var --disable-werror \ + --with-distro=none --disable-qt3 --disable-qt4 --disable-gtk --disable-gtk3 \ + --disable-pygtk --disable-python-dbus --disable-mono --disable-manpages +system-integration: + avahi-misc: + 00-add-avahi-user: + - groupadd -fg 86 netdev + - groupadd -fg 84 avahi + - useradd -c "Avahi Daemon Owner" -d /var/run/avahi-daemon -u 84 -g avahi -s /bin/false avahi + 00-enable-avahi-service: + - systemctl enable avahi-daemon diff --git a/strata/sound-server-pulseaudio/json-c.morph b/strata/sound-server-pulseaudio/json-c.morph new file mode 100644 index 00000000..c3d9243c --- /dev/null +++ b/strata/sound-server-pulseaudio/json-c.morph @@ -0,0 +1,7 @@ +name: json-c +kind: chunk +description: JSON C Library +build-system: autotools +install-commands: +- make DESTDIR="$DESTDIR" install +- install -m755 json_object_iterator.h "$DESTDIR/usr/include/json" diff --git a/strata/sound-server-pulseaudio/libsndfile.morph b/strata/sound-server-pulseaudio/libsndfile.morph new file mode 100644 index 00000000..8d6c2fe0 --- /dev/null +++ b/strata/sound-server-pulseaudio/libsndfile.morph @@ -0,0 +1,5 @@ +name: libsndfile +kind: chunk +build-system: autotools +configure-commands: +- ./configure --prefix="$PREFIX" --disable-external-libs diff --git a/strata/sound-server-pulseaudio/pulseaudio.morph b/strata/sound-server-pulseaudio/pulseaudio.morph new file mode 100644 index 00000000..dfaa9b0d --- /dev/null +++ b/strata/sound-server-pulseaudio/pulseaudio.morph @@ -0,0 +1,18 @@ +name: pulseaudio +kind: chunk +description: PulseAudio System +build-system: autotools +pre-configure-commands: +- NOCONFIGURE=1 ./bootstrap.sh +configure-commands: +- ./configure --prefix="$PREFIX" --localstatedir=/var --sysconfdir=/etc --with-database=simple + --with-systemduserunitdir=/usr/lib/systemd/user + --with-system-user=pulse --with-system-group=pulse --with-access-group=pulse-access + --enable-webrtc-aec +system-integration: + pulseaudio-misc: + 00-add-pulse-users: + - groupadd -rf pulse-access + - groupadd -rf pulse-rt + - groupadd -f -g 171 -r pulse + - useradd -r -g pulse -d /var/run/pulse -s /bin/false -c "PulseAudio System Daemon" pulse || exit 0 diff --git a/strata/sound-server-pulseaudio/webrtc-audio-processing.morph b/strata/sound-server-pulseaudio/webrtc-audio-processing.morph new file mode 100644 index 00000000..ea8cd4e0 --- /dev/null +++ b/strata/sound-server-pulseaudio/webrtc-audio-processing.morph @@ -0,0 +1,14 @@ +name: webrtc-audio-processing +kind: chunk +build-system: autotools +configure-commands: +- | + NOCONFIGURE=1 ./autogen.sh + + case "$MORPH_ARCH" in + x86_32) + sed -i -e "s/-O2/& -msse2/" configure + ;; + esac + + ./configure --prefix="$PREFIX" --sysconfdir=/etc --localstatedir=/var |