Commit Graph

13 Commits

Author SHA1 Message Date
Peter Kjellerstedt
0c31f55bcf Make use of the new bb.utils.filter() function
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-03-07 13:30:26 +01:00
Ross Burton
21f10c11f3 meta-oe: use bb.utils.contains() instead of base_contains()
base_contains() is a compatibility wrapper and may warn in the future, so
replace all instances with bb.utils.contains().

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-04-28 10:38:38 +02:00
Jackie Huang
780333ce0d libcanberra: upgrade and add packageconfig for gstreamer and gtk
- GStreamer 0.10 has been removed meta-openembedded/meta-multimedia
  and 1.0 left in oe-core, so upgrade libcanberra to the version
  that support GStreamer 1.0

- GStreamer and gtk support for libcanberra are optional, add
  PACKAGECONFIG for them, and use x11 DISTRO_FEATURES to decide
  if gtk is needed, gstreamer is not enabled by default.

Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-06-23 12:40:09 +02:00
Robert Yang
2d4a6ccec4 libcanberra: fix installed-vs-shipped warning
When build libcanberra for powerpc64 bsp, it shows warning:

WARNING: QA Issue: libcanberra: Files/directories were installed but not shipped
  /lib
  /lib/systemd
  /lib/systemd/system
  /lib/systemd/system/canberra-system-shutdown.service
  /lib/systemd/system/canberra-system-shutdown-reboot.service
  /lib/systemd/system/canberra-system-bootup.service [installed-vs-shipped]

Update FILES_${PN}-systemd to fix it.

Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-12-09 11:34:42 +01:00
Richard Purdie
f6ecec16d7 recipes: add missing gtk-doc class dependencies
* These recipes all use gtk-doc m4 macros but were missing
  dependencies on the class.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-06-21 13:06:13 +02:00
Hongxu Jia
2112e618f2 libcanberra: fix QA Warning Files/directories were installed but not shipped
...
WARNING: QA Issue: lib32-libcanberra: Files/directories were installed but not shipped
  /usr/lib/libcanberra-0.29/libcanberra-gstreamer.so
  /usr/lib/libcanberra-0.29/libcanberra-multi.so
  /usr/lib/libcanberra-0.29/libcanberra-pulse.so
  /usr/lib/libcanberra-0.29/libcanberra-null.so
  /usr/lib/libcanberra-0.29/libcanberra-alsa.so
  /usr/lib/libcanberra-0.29/.debug
  /usr/lib/libcanberra-0.29/.debug/libcanberra-gstreamer.so
  /usr/lib/libcanberra-0.29/.debug/libcanberra-multi.so
  /usr/lib/libcanberra-0.29/.debug/libcanberra-pulse.so
  /usr/lib/libcanberra-0.29/.debug/libcanberra-null.so
  /usr/lib/libcanberra-0.29/.debug/libcanberra-alsa.so
...

The dynamic libraries were installed into '${BPN}-${PV}' rather than '${P}'.

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-05-03 20:45:02 +02:00
Andreas Müller
1c1541da53 libcanberra: move libtool librarties for modules to dev package
Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-10-05 12:36:13 +02:00
Andreas Müller
38c85c00b1 libcanberra avoid gtk3 dragged in at gtk2 environments
* build two versions of canberra-gtk-play for gtk2 and gtk3.
* move canberra-gtk-play to libcanberra-gtk2 and canberra-gtk3-play to
  libcanberra-gtk2.

Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-10-05 12:36:10 +02:00
Andreas Müller
7d458ae742 libcanberra: handle alsa and pulsaudio by PACKAGECONFIG - defaults based upon DISTRO_FEATURES
Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-09-19 13:56:57 +02:00
Andreas Müller
58b86f24a7 libcanberra: remove r0 - it is of no use
Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-09-19 13:56:57 +02:00
Andreas Müller
665752039e libcanberra: add PACKAGES_DYNAMIC so we use the splitted packages
Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-09-19 13:56:57 +02:00
Martin Jansa
a45830a39b recipes: Unify indentation
* This change is only aesthetic (unlike indentation in Python
  tasks).
* Some recipes were using tabs.
* Some were using 8 spaces.
* Some were using mix or different number of spaces.
* Make them consistently use 4 spaces everywhere.
* Yocto styleguide advises to use tabs (but the only reason to keep
  tabs is the need to update a lot of recipes). Lately this advice
  was also merged into the styleguide on the OE wiki.
* Using 4 spaces in both types of tasks is better because it's less
  error prone when someone is not sure if e.g.
  do_generate_toolchain_file() is Python or shell task and also allows
  to highlight every tab used in .bb, .inc, .bbappend, .bbclass as
  potentially bad (shouldn't be used for indenting of multiline
  variable assignments and cannot be used for Python tasks).
* Don't indent closing quote on multiline variables
  we're quite inconsistent wheater it's first character on line
  under opening quote or under first non-whitespace character in
  previous line.

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Acked-by: Koen Kooi <koen@dominion.thruhere.net>
2013-04-15 16:23:17 +02:00
Ross Burton
1274a964a4 libcanberra: upgrade and refresh packaging
Update to 0.29 (latest, 0.30, needs GStreamer 1.0) and refresh the package based
on the different recipes in oe-core and meta-oe.

Explicitly depend on GTK+ 2 and GTK+ 3, but split those dependencies into
different packages.

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-01-22 13:17:28 +01:00