Commit Graph

26 Commits

Author SHA1 Message Date
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
Andreas Oberritter 44c440e2b9 libav: library packages shouldn't rdepend on libav package
Otherwise the libav executables (avplay, ffmpeg etc.) get dragged
into the image, along with all their dependencies (e.g. SDL).

Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
Acked-by: Koen Kooi <koen@dominion.thruhere.net>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-03-13 17:22:07 +01:00
Martin Jansa 09c91dd7ed patches: update Upstream-Status to use capital 'S'
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-02-05 11:05:51 +01:00
Koen Kooi 6d7c4cc01f libav: enable x264 encoder support
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-01-27 23:54:10 +01:00
Marcin Juszkiewicz 54b1804c15 libav: add support for AArch64
Signed-off-by: Marcin Juszkiewicz <marcin.juszkiewicz@linaro.org>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-01-18 10:59:54 +01:00
Marcin Juszkiewicz c70093344e libav: move --enable-postproc to 0.8.4 recipe
libav 9.1 does not have this option.

Signed-off-by: Marcin Juszkiewicz <marcin.juszkiewicz@linaro.org>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-01-18 10:59:53 +01:00
Koen Kooi 61a5d633e9 libav: update to 0.8.4
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-01-18 10:59:53 +01:00
Martin Jansa 4b0a61a9b9 libav: remove trailing backslash from comments
* http://lists.linuxtogo.org/pipermail/bitbake-devel/2012-December/003954.html

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2012-12-16 21:10:58 +01:00
Paul Eggleton 3a30c56238 Replace bb.data.* with d.*
Used sed expression given here:

http://lists.linuxtogo.org/pipermail/openembedded-core/2011-November/012373.html

Plus an additional expression for .expand. Full expression is:

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' \
-e 's:bb.data.\(expand([^,]*\), \([^ )]*\) *):\2.\1):g' \
-i `grep -ril bb.data *`

Some minor correction in systemd.bbclass was needed for some expressions
that didn't quite match the regex in the desired way; additionally a few
instances were manually changed.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
2012-10-28 14:32:06 +00:00
Martin Jansa 8402b7ac0f PACKAGES_DYNAMIC: use regexp not glob
* bitbake uses PACKAGES_DYNAMIC as regexp
  ^ could make matching faster (and it will be more clear that we're expecting regexp not glob)
  * made all those last '-' optional, use .* (or nothing)
* use += instead of = in most cases to keep ${PN}-locale from
  bitbake.conf:PACKAGES_DYNAMIC = "^${PN}-locale-.*"

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2012-10-19 11:42:13 +02:00
Otavio Salvador 97350f5228 libav: Change the PACKAGES_DYNAMIC expression to be more restrict
Using 'lib*' we end having problem with every other package that
generate libraries dynamically thus we changed it to match the library
prefixes.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2012-10-10 12:33:44 +02:00
Otavio Salvador 26a4e5d05a libav: Update git version to 2012-10-04 snapshot
This package depends on libpostproc to ensure same set of libraries is
provided for runtime.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2012-10-10 12:33:43 +02:00
Otavio Salvador 65db44ac29 libav: Update to 0.8.3 version
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2012-10-05 11:27:00 +02:00
Otavio Salvador 84441954d0 libav: Drop 0.6.5 version
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2012-10-05 11:26:53 +02:00
Otavio Salvador 0c6871b1f6 libav: Convert to use dynamic packages to split libraries
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2012-10-05 11:26:49 +02:00
Martin Jansa dff45fb21c libav-0.7.4: fix build with gcc-4.7
A cmp instruction with two constants is invalid, therefore 'g'
constraint is not correct but must be "rm" instead.

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2012-05-04 10:05:32 +02:00
Koen Kooi 0abc68a631 libav: add 0.7.4, keep 0.6.5 for reference
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2012-01-24 13:20:51 +01:00
Koen Kooi d882255baa libav 0.6.5: reenable libavfilter
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2012-01-24 13:20:50 +01:00
Koen Kooi 1fd309ff9c libav: update to 0.6.5
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2012-01-23 16:23:12 +01:00
Martin Jansa d792afdefc libav, libvpx, mplayer2: drop work around for gcc-4.6 ICE, no need to pass -fno-tree-vectorize now
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2012-01-12 10:41:09 +01:00
Koen Kooi 6235a37941 libav, libsdl-image, mplayer2, xbmc: bump PR for libsdl packaging change in OE-core
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2011-12-19 19:34:06 +01:00
Martin Jansa 5c24a66ea7 pixman,libav,libvpx,fftwf: bump PR after arm OVERRIDES changes in oe-core
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2011-12-16 08:43:43 +01:00
Otavio Salvador d91b657ebe libav.inc: drop 'PRIORITY = "optional"' as it is the default
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2011-12-15 09:25:12 +01:00
Martin Jansa a947536101 libav: disable yasm for x86 and x86-64 builds, because we don't have recipe for that
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2011-11-07 17:20:36 +01:00
Koen Kooi 29bb5240c0 libav: enable libvpx
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2011-08-17 09:21:11 +02:00
Koen Kooi 61e4b696de libav git: import from OE .dev and clean up
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2011-08-11 09:25:23 +02:00