Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=gcc6.git;a=commitdiff;h=12e9778512cb336f77d1cc0b0193bde22d55da5e

commit 12e9778512cb336f77d1cc0b0193bde22d55da5e
Author: crazy <cr...@frugalware.org>
Date:   Mon Sep 19 15:16:25 2016 +0200

pulseaudio-9.0-2-x86_64
* rebuild with tc
* added $USE for lirc , gconf , esd , jack , avahi and disabled these by default
* removed this readme.fw .. telling folks to symlink stuff around is ..

diff --git a/source/xmultimedia/pulseaudio/FrugalBuild 
b/source/xmultimedia/pulseaudio/FrugalBuild
index 56a0142..b0bf087 100644
--- a/source/xmultimedia/pulseaudio/FrugalBuild
+++ b/source/xmultimedia/pulseaudio/FrugalBuild
@@ -1,12 +1,20 @@
# Compiling Time: 0.96 SBU
# Maintainer: DeX77 <de...@frugalware.org>

+
+USE_ESD=${USE_ESD:-"n"}
+USE_JACK=${USE_JACK:-"n"}
+USE_GCONF=${USE_GCONF:-"n"}
+USE_AVAHI=${USE_AVAHI:-"n"}
+USE_LIRC=${USE_LIRC:-"n"}
+
+
pkgname=pulseaudio
pkgver=9.0
-pkgrel=1
+pkgrel=2
pkgdesc="PulseAudio is a sound server with an advanced plugin system"
url="http://www.freedesktop.org/wiki/Software/PulseAudio/";
-depends=('libtool>=2.4.6-4' 'dbus>=1.10.6-5' 'libsndfile>=1.0.26-2')
+depends=('libtool>=2.4.6-5' 'dbus>=1.10.10-4' 'libsndfile>=1.0.26-3')
rodepends=('libpulse')
makedepends=('x11-protos' 'intltool')
groups=('xmultimedia')
@@ -15,10 +23,8 @@ conflicts=('pulseaudio-hal')
provides=('puseaudio-hal')
archs=('i686' 'x86_64')
up2date="Flasttar $url"
-source=(http://freedesktop.org/software/$pkgname/releases/$pkgname-$pkgver.tar.xz
 \
-       README.Frugalware default.pa)
+source=(http://freedesktop.org/software/$pkgname/releases/$pkgname-$pkgver.tar.xz
 default.pa)
sha1sums=('d9a9d7cb667ed95ee1de4b6544d5c7444c5a0064' \
-          '2a29c451c32e7335831067d3cc0d7bb4f5e7460e' \
'6e673306a0fdf60f6c59f8c09f3d8049769c0632')


@@ -28,24 +34,28 @@ subrodepends+=('')
subgroups+=('xmultimedia')
subarchs+=('i686 x86_64')
subbackup+=('etc/pulse/client.conf')
-subdepends+=('json-c>=0.12-7 dbus>=1.10.6-5 libsndfile>=1.0.26-2 
libasyncns>=0.8-3
-       libtool>=2.4.6-4 libx11>=1.6.3-3 orc>=0.4.24-2 tdb>=1.3.8-2 
speexdsp>=1.2rc3-2 fftw>=3.3.4-3')
-
-subpkgs+=('pulseaudio-lirc')
-subdescs+=('lirc module for PulseAudio sound server')
-subrodepends+=("$pkgname>=$pkgver")
-subgroups+=('xmultimedia-extra')
-subarchs+=('i686 x86_64')
-subbackup+=('')
-subdepends+=('liblirc>=0.9.1-2')
-
-subpkgs+=('pulseaudio-esd')
-subdescs+=('PulseAudio ESD compatibility layer.')
-subrodepends+=("$pkgname>=$pkgver")
-subgroups+=('xmultimedia-extra')
-subarchs+=('i686 x86_64')
-subbackup+=('')
-subdepends+=('glibc>=2.22-7')
+subdepends+=('json-c>=0.12.1-2 dbus>=1.10.10-4 libsndfile>=1.0.26-2 
libasyncns>=0.8-3
+       libtool>=2.4.6-4 libx11>=1.6.3-4 orc>=0.4.24-2 tdb>=1.3.10-2 
speexdsp>=1.2rc3-3 fftw>=3.3.4-4')
+
+if Fuse $USE_LIRC; then
+       subpkgs+=('pulseaudio-lirc')
+       subdescs+=('lirc module for PulseAudio sound server')
+       subrodepends+=("$pkgname>=$pkgver")
+       subgroups+=('xmultimedia-extra')
+       subarchs+=('i686 x86_64')
+       subbackup+=('')
+       subdepends+=('liblirc>=0.9.1-2')
+fi
+
+if Fuse $USE_ESD; then
+       subpkgs+=('pulseaudio-esd')
+       subdescs+=('PulseAudio ESD compatibility layer.')
+       subrodepends+=("$pkgname>=$pkgver")
+       subgroups+=('xmultimedia-extra')
+       subarchs+=('i686 x86_64')
+       subbackup+=('')
+       subdepends+=('glibc>=2.22-7')
+fi

subpkgs+=('pulseaudio-bluetooth')
subdescs+=('bluetooth module for PulseAudio sound server')
@@ -53,7 +63,7 @@ subrodepends+=("$pkgname>=$pkgver")
subgroups+=('xmultimedia-extra')
subarchs+=('i686 x86_64')
subbackup+=('')
-subdepends+=('sbc>=1.3-3 dbus>=1.10.6-5')
+subdepends+=('sbc>=1.3-4 dbus>=1.10.10-4')

subpkgs+=('pulseaudio-x11')
subdescs+=('x11 module for PulseAudio sound server')
@@ -61,31 +71,37 @@ subrodepends+=("$pkgname>=$pkgver")
subgroups+=('xmultimedia')
subarchs+=('i686 x86_64')
subbackup+=('')
-subdepends+=('libsm>=1.2.2-2 libxtst>=1.2.2-2')
-
-subpkgs+=('pulseaudio-avahi')
-subdescs+=('avahi module for PulseAudio sound server')
-subrodepends+=("$pkgname>=$pkgver")
-subgroups+=('xmultimedia-extra')
-subarchs+=('i686 x86_64')
-subbackup+=('')
-subdepends+=('avahi>=0.6.31-7 openssl>=1.0.2-5')
-
-subpkgs+=('pulseaudio-jack')
-subdescs+=('jack module for PulseAudio sound server')
-subrodepends+=("$pkgname>=$pkgver")
-subgroups+=('xmultimedia-extra')
-subarchs+=('i686 x86_64')
-subbackup+=('')
-subdepends+=('dbus>=1.10.6-5 jack>=0.124.1-3')
-
-subpkgs+=('pulseaudio-gconf')
-subdescs+=('gconf module for PulseAudio sound server')
-subrodepends+=("$pkgname>=$pkgver")
-subgroups+=('gnome-extra')
-subarchs+=('i686 x86_64')
-subbackup+=('')
-subdepends+=('gconf>=3.2.6-3')
+subdepends+=('libsm>=1.2.2-3 libxtst>=1.2.2-3')
+
+if Fuse $USE_AVAHI; then
+       subpkgs+=('pulseaudio-avahi')
+       subdescs+=('avahi module for PulseAudio sound server')
+       subrodepends+=("$pkgname>=$pkgver")
+       subgroups+=('xmultimedia-extra')
+       subarchs+=('i686 x86_64')
+       subbackup+=('')
+       subdepends+=('avahi>=0.6.31-7 openssl>=1.0.2-5')
+fi
+
+if Fuse $USE_JACK; then
+       subpkgs+=('pulseaudio-jack')
+       subdescs+=('jack module for PulseAudio sound server')
+       subrodepends+=("$pkgname>=$pkgver")
+       subgroups+=('xmultimedia-extra')
+       subarchs+=('i686 x86_64')
+       subbackup+=('')
+       subdepends+=('dbus>=1.10.6-5 jack>=0.124.1-3')
+fi
+
+if Fuse $USE_GCONF; then
+       subpkgs+=('pulseaudio-gconf')
+       subdescs+=('gconf module for PulseAudio sound server')
+       subrodepends+=("$pkgname>=$pkgver")
+       subgroups+=('gnome-extra')
+       subarchs+=('i686 x86_64')
+       subbackup+=('')
+       subdepends+=('gconf>=3.2.6-3')
+fi


Fconfopts+="    --prefix=/usr \
@@ -125,15 +141,19 @@ build() {
Fln pulseaudio/libpulsecommon-${soname}.la /usr/lib/libpulsecommon-${soname}.la
Fln pulseaudio/libpulsecommon-${soname}.so /usr/lib/libpulsecommon-${soname}.so

-       Fsplit $pkgname-lirc usr/lib/pulse-$pkgver/modules/module-lirc.so
+       if Fuse $USE_LIRC; then
+               Fsplit $pkgname-lirc 
usr/lib/pulse-$pkgver/modules/module-lirc.so
+       fi

-       Fsplit $pkgname-esd usr/bin/esdcompat
-       Fsplit $pkgname-esd usr/lib/pulse-$pkgver/modules/libprotocol-esound.so
-       Fsplit $pkgname-esd 
usr/lib/pulse-$pkgver/modules/module-esound-compat-spawnfd.so
-       Fsplit $pkgname-esd 
usr/lib/pulse-$pkgver/modules/module-esound-compat-spawnpid.so
-       Fsplit $pkgname-esd 
usr/lib/pulse-$pkgver/modules/module-esound-protocol-tcp.so
-       Fsplit $pkgname-esd 
usr/lib/pulse-$pkgver/modules/module-esound-protocol-unix.so
-       Fsplit $pkgname-esd usr/lib/pulse-$pkgver/modules/module-esound-sink.so
+       if Fuse $USE_ESD; then
+               Fsplit $pkgname-esd usr/bin/esdcompat
+               Fsplit $pkgname-esd 
usr/lib/pulse-$pkgver/modules/libprotocol-esound.so
+               Fsplit $pkgname-esd 
usr/lib/pulse-$pkgver/modules/module-esound-compat-spawnfd.so
+               Fsplit $pkgname-esd 
usr/lib/pulse-$pkgver/modules/module-esound-compat-spawnpid.so
+               Fsplit $pkgname-esd 
usr/lib/pulse-$pkgver/modules/module-esound-protocol-tcp.so
+               Fsplit $pkgname-esd 
usr/lib/pulse-$pkgver/modules/module-esound-protocol-unix.so
+               Fsplit $pkgname-esd 
usr/lib/pulse-$pkgver/modules/module-esound-sink.so
+       fi

Fsplit $pkgname-bluetooth 
usr/lib/pulse-$pkgver/modules/module-bluetooth-discover.so*
Fsplit $pkgname-bluetooth 
usr/lib/pulse-$pkgver/modules/module-bluetooth-policy.so*
@@ -149,19 +169,25 @@ build() {
Fsplit $pkgname-x11 usr/bin/start-pulseaudio-x11
Fsplit $pkgname-x11 etc/xdg

-       Fsplit $pkgname-avahi usr/lib/pulse-$pkgver/modules/libavahi-wrap.so
-       Fsplit $pkgname-avahi 
usr/lib/pulse-$pkgver/modules/module-zeroconf-discover.so
-       Fsplit $pkgname-avahi 
usr/lib/pulse-$pkgver/modules/module-zeroconf-publish.so
-       Fsplit $pkgname-avahi usr/lib/pulse-$pkgver/modules/libraop.so
-       Fsplit $pkgname-avahi 
usr/lib/pulse-$pkgver/modules/module-raop-discover.so
-       Fsplit $pkgname-avahi usr/lib/pulse-$pkgver/modules/module-raop-sink.so
-
-       Fsplit $pkgname-jack usr/lib/pulse-$pkgver/modules/module-jack-sink.so
-       Fsplit $pkgname-jack usr/lib/pulse-$pkgver/modules/module-jack-source.so
-       Fsplit $pkgname-jack 
usr/lib/pulse-$pkgver/modules/module-jackdbus-detect.so
-
-       Fsplit $pkgname-gconf usr/lib/pulse-$pkgver/modules/module-gconf.so
-       Fsplit $pkgname-gconf usr/libexec/pulse/gconf-helper
+       if Fuse $USE_AVAHI; then
+               Fsplit $pkgname-avahi 
usr/lib/pulse-$pkgver/modules/libavahi-wrap.so
+               Fsplit $pkgname-avahi 
usr/lib/pulse-$pkgver/modules/module-zeroconf-discover.so
+               Fsplit $pkgname-avahi 
usr/lib/pulse-$pkgver/modules/module-zeroconf-publish.so
+               Fsplit $pkgname-avahi usr/lib/pulse-$pkgver/modules/libraop.so
+               Fsplit $pkgname-avahi 
usr/lib/pulse-$pkgver/modules/module-raop-discover.so
+               Fsplit $pkgname-avahi 
usr/lib/pulse-$pkgver/modules/module-raop-sink.so
+       fi
+
+       if Fuse $USE_JACK; then
+               Fsplit $pkgname-jack 
usr/lib/pulse-$pkgver/modules/module-jack-sink.so
+               Fsplit $pkgname-jack 
usr/lib/pulse-$pkgver/modules/module-jack-source.so
+               Fsplit $pkgname-jack 
usr/lib/pulse-$pkgver/modules/module-jackdbus-detect.so
+       fi
+
+       if Fuse $USE_GCONF; then
+               Fsplit $pkgname-gconf 
usr/lib/pulse-$pkgver/modules/module-gconf.so
+               Fsplit $pkgname-gconf usr/libexec/pulse/gconf-helper
+       fi

Fsplit libpulse usr/{lib,share/man/man5}
Fsplit libpulse etc/pulse/client.conf
diff --git a/source/xmultimedia/pulseaudio/README.Frugalware 
b/source/xmultimedia/pulseaudio/README.Frugalware
deleted file mode 100644
index 69f88d9..0000000
--- a/source/xmultimedia/pulseaudio/README.Frugalware
+++ /dev/null
@@ -1,10 +0,0 @@
-Because PulseAudio can be used as drop-in replacement
-for ESD you can fool GNOME into loading the PulseAudio
-daemon just like the traditional ESD daemon. To achieve
-this use the esdcompat script shipped with PulseAudio.
-Install pulseaudio-esd : `pacman-g2 -S pulseaudio-esd`
-Create a symlink from /usr/bin/esd to /usr/bin/esdcompat
-For more information on `pulseaudio`, please
-refer to http://www.pulseaudio.org/wiki/PerfectSetup
-
-// vim: ft=asciidoc
_______________________________________________
Frugalware-git mailing list
Frugalware-git@frugalware.org
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to