Commit Graph

122 Commits

Author SHA1 Message Date
Saul Wold
82b05d21a2 pulseaudio: use lib_package bbclass
This is a clean-up following the recent addition of PN-bin
to bitbake.conf and lib_package

(From OE-Core rev: 42dfedc01beb90adfa222a0c671ca8876849f938)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-07-04 17:40:34 +01:00
Saul Wold
faf1a72ce3 pulseaudio: disable tcpwrap by default
This ensures that tcpwrapper usage is always disabled, this was
inconsistent because it would test for libwrap and sometimes enable
and sometimes not.

This ensures consistent build reproducibility.

(From OE-Core rev: afa0efc3473fb5ba88d95594e382da2e03145c3b)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-05-03 15:48:08 +01:00
Paul Eggleton
4992d99b15 pulseaudio: add X library dependencies
PulseAudio requires libxtst, libice, libsm and libxcb when X11 is
enabled (in our case, when x11 is in DISTRO_FEATURES), so conditionally
add those to DEPENDS.

(From OE-Core rev: a758df3d72942f985fe46455aa075e52100a1156)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-03-14 13:17:40 +00:00
Richard Purdie
b1aeaa8b0d meta: Replace bb.data.expand(xxx, d) -> d.expand(xxx)
sed \
 -e 's:bb.data.\(expand([^,()]*\), *\([^) ]*\) *):\2.\1):g' \
 -i `grep -ril bb.data.expand *`

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-03-05 10:23:53 -08:00
Eric Bénard
21f2c0b5cd pulseaudio: Really disable orc support
If orc is detected the compilation fails with missing headers which
should have been generated by orc (using meta-angstrom + meta-openembedded
and and armv7 target)

[RP: add RP bump, fix typos]
(From OE-Core rev: 8f72d9e4ecf495646af3c5cebe7f08ca01bbbb99)

Signed-off-by: Eric Bénard <eric@eukrea.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-02-26 11:56:05 +00:00
Koen Kooi
4c763002dd pulseaudio 1.1: add filter-apply and filter-heuristics to pulseaudio-server RDEPENDS, it won't start without
(From OE-Core rev: 6ef79ede361c42e11e78d4afcff11295a3144055)

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-12-01 10:53:36 +00:00
Koen Kooi
5615998223 pulseaudio 1.1: convert to useradd.bbclass
The only thing that got lost in the conversion is the "Pulse Audio daemon" description:

root@beagleboard:~# grep pulse /etc/passwd /etc/group
/etc/passwd:pulse:x:999:1000::/var/run/pulse:/bin/false
/etc/group:audio:x:29:pulse
/etc/group:pulse:x:1000:pulse

(From OE-Core rev: 2e5c7566a4b76bf3e783844cc69fd1313c6d97a4)

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-12-01 10:53:36 +00:00
Koen Kooi
4217c91aba pulseaudio 1.1: replace hardcoded /etc with ${sysconfdir}
(From OE-Core rev: 82414933a98b30f48507858e7fc22b349a4f8dab)

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-11-30 15:38:29 +00:00
Koen Kooi
9922ac7b80 pulseaudio 1.1: only run volatiles script when populate-volatile.sh exists
Volatiles are handled differently in a systemd world make the postinst fail:

//var/lib/opkg/info/pulseaudio-server.postinst: line 10: /etc/init.d/populate-volatile.sh: No such file or directory
Collected errors:
 * pkg_run_script: package "pulseaudio-server" postinst script returned status 127.
 * opkg_configure: pulseaudio-server.postinst returned 127.

(From OE-Core rev: d911635bdcb84bb162b49bca32c7c7867e56a023)

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-11-30 15:38:29 +00:00
Koen Kooi
5369fb3422 pulseaudio: update to 1.1, delete 0.9.x
(From OE-Core rev: d48a99dc8d92e65dc7618d61187138830d85a850)

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-11-29 11:22:04 +00:00
Richard Purdie
c8dee9b92d Convert to use direct access to the data store (instead of bb.data.*Var*())
This is the result of running the following over the metadata:

sed \
-e 's:bb.data.\(setVar([^,()]*,[^,()]*\), *\([^ )]*\) *):\2.\1):g' \
-e 's:bb.data.\(setVarFlag([^,()]*,[^,()]*,[^,()]*\), *\([^) ]*\) *):\2.\1):g' \
-e 's:bb.data.\(getVar([^,()]*\), *\([^(), ]*\) *,\([^)]*\)):\2.\1,\3):g' \
-e 's:bb.data.\(getVarFlag([^,()]*,[^,()]*\), *\([^(), ]*\) *,\([^)]*\)):\2.\1,\3):g' \
-e 's:bb.data.\(getVarFlag([^,()]*,[^,()]*\), *\([^() ]*\) *):\2.\1):g' \
-e 's:bb.data.\(getVar([^,()]*\), *\([^) ]*\) *):\2.\1):g' \
-i `grep -ril bb.data *`

(From OE-Core rev: b22831fd63164c4db9c0b72934d7d734a6585251)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-11-10 11:51:19 +00:00
Joshua Lock
55a738ea0c pulseaudio: make X11 dependencies optional and add gtk+
Use the x11 distro feature to determine whether --with-x should be
passed. Further, if we're using X11 add gtk+ to DEPENDS (it's required
to build).

(From OE-Core rev: a37ed5b42717463cf1a836fd011132b16938765f)

Signed-off-by: Joshua Lock <josh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-11-08 14:32:55 +00:00
Paul Eggleton
07e9877856 pulseaudio: make bluetooth support conditional upon DISTRO_FEATURES
If "bluetooth" is in DISTRO_FEATURES then enable bluetooth and depend on
bluez4, otherwise disable it.

(From OE-Core rev: f53d70bdeed989e031e06b8851a9706ff7ab9855)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-10-17 14:10:42 +01:00
Khem Raj
a0dc330b4a recipes: Delete patch=1, its default and replace pnum with striplevel
Some place pnum=1 is used which is removed as well since
striplevel=1 is default

(From OE-Core rev: 4e108857e0d40105f7ecbc55e99bd6c367bb7386)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-08-23 18:23:30 -07:00
Koen Kooi
1a19f82789 pulseaudio: enable bluetooth support
(From OE-Core rev: 366286262ef78061f37f691a1014becd75096b3d)

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-07-13 12:34:29 +01:00
Koen Kooi
0c17ea177e pulseaudio: make it work out of the box
* reuse 'audio' group as access group

  The current failure is:

  root@usrp-e1xx:/etc/pulse# pulseaudio --system
   [..]
  W: protocol-native.c: Failed to get GID of group 'pulse-access'
  W: protocol-native.c: Failed to check group membership.
  W: protocol-native.c: Denied access to client with invalid authorization data.

* add more required modules

(From OE-Core rev: 756e5fb08ee65cf459d88f97ae51adc86af75a70)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-07-12 15:08:21 +01:00
Koen Kooi
0be4b5b580 pulseaudio: try harder to disable HAL
This disables linking against (lib)hal but enables the udev-hal compat layer so the hal-detect plugin keeps working. The hal-detect plugin is removed from the default dependencies to discourage its usage, but can be installed manually if needed.

(From OE-Core rev: e9fedfac0d8ff8213a142a7cfab9b83c840aef4f)

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-07-12 15:00:45 +01:00
Koen Kooi
2c79c9eb7e pulseaudio: add 0.9.23
Older version have been retained to allow more testing of this release

(From OE-Core rev: f1fc6d084b079dea21ff1a30b815496452042490)

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-07-07 13:45:32 +01:00
Koen Kooi
760eace4a5 pulseaudio: disable HAL support and enable udev support
HAL is deprecated and udev should be used with pulseaudio 0.9.22. THe .23 release from 2 weeks ago already removed HAL support.

(From OE-Core rev: 8579edc2f3f06cbe27ebfae52f8daff4ac6972f4)

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-07-07 13:45:32 +01:00
Koen Kooi
98e8faa2f5 pulseaudio: package udev rules
(From OE-Core rev: bfeba6a42f4de99a543f1eaa21ddcfde6dc34338)

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-05-25 15:50:54 +01:00
Dongxiao Xu
192c44e205 pulseaudio: Fix LICENSE and LIC_FILES_CHKSUM info
Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
2010-12-02 05:24:56 -08:00
Saul Wold
cfe12efb5e Meta: Recipe Reogranization
This is the next stage of recipe reorganization, in this stage
many recipes where moved to a new meta-demoapps layer since this
is more appropriate for demo usage then the core. Additional some
recipes were moved to meta-extras to indicate they may be depercated
at a future time.

A number of recipes were modified since dependencies need to be
corrected.

Signed-off-by: Saul Wold <Saul.Wold@intel.com>
2010-11-22 13:57:13 +00:00