summaryrefslogtreecommitdiffstats
path: root/meta/recipes-multimedia/libav
Commit message (Collapse)AuthorAgeFilesLines
* ffmpeg: add a recipe, and remove the libav recipeAlexander Kanavin2016-01-304-307/+0
| | | | | | | | | | | | | | | | | | | | | | | | The reasons for the switch are here: http://lists.openembedded.org/pipermail/openembedded-core/2015-July/107091.html http://lists.openembedded.org/pipermail/openembedded-core/2016-January/116007.html Changes made to libav recipe: - drop libav-fix-CVE-2014-9676.patch, the fix is available upstream - merge .inc into .bb, only one upstream version (latest one) is provided - drop separate libpostproc recipe, the library is provided directly from ffmpeg source tree - drop ARM tweaks; they date to classic-OE, need to be retested against the new code and probably haven't been relevant for a long time - drop PACKAGECONFIG options that are no longer provided upstream - drop build and packaging tweaks that don't seem to do anything useful and also date back to classic OE; if you run into issues, please report - explicitly enable PIC and disable stripping of binaries (From OE-Core rev: 77dbf07293df15cd5473422abd678930d6277bb0) Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libpostproc: duplicate armv7a over-rides for armv7veAndre McCurdy2016-01-151-0/+2
| | | | | | | | (From OE-Core rev: 66b657e8295cb856b3a50b3a8b656b3655238291) Signed-off-by: Andre McCurdy <armccurdy@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libav.inc: duplicate armv7a over-rides for armv7veAndre McCurdy2016-01-151-0/+2
| | | | | | | | (From OE-Core rev: 342a42643d9f80e325624b5166a3a2f23b10ffbd) Signed-off-by: Andre McCurdy <armccurdy@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Add "CVE:" tag to current patches in OE-coreMariano Lopez2016-01-111-0/+1
| | | | | | | | | | | | | | The currnet patches in OE-core doesn't have the "CVE:" tag, now part of the policy of the patches. This is patch add this tag to several patches. There might be patches that I miss; the tag can be added in the future. (From OE-Core rev: 065ebeb3e15311d0d45385e15bf557b1c95b1669) Signed-off-by: Mariano Lopez <mariano.lopez@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* meta: Drop now pointless manual -dbg packagingRichard Purdie2015-12-161-2/+1
| | | | | | | | | With the autodebug package generation logic, specifically setting FILES_${PN}-dbg isn't needed in most cases, we can remove them. (From OE-Core rev: 3ab59d49dd7c18e194b58d1248b4b87709b5a738) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libav: Correctly handle prefix=""Mike Crowe2015-12-081-1/+5
| | | | | | | | | | | | libav's build system seems to think that prefix="" means that it should use its default of /usr/local. Setting a prefix of "/" appears to be sufficient to make it do the right thing. (From OE-Core rev: e43a394d6758c95d187ed48f33f9404f2e1dee26) Signed-off-by: Mike Crowe <mac@mcrowe.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libav: Add PACKAGECONFIG options: avdevice, avfilter, avplay, gplMike Crowe2015-12-081-5/+8
| | | | | | | | (From OE-Core rev: 896c27d45d77a2bb57b3cd350b60f1bd97dd13dc) Signed-off-by: Mike Crowe <mac@mcrowe.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libav: Remove deprecated --disable-avserverMike Crowe2015-12-081-1/+0
| | | | | | | | | | | | ./configure --help says: --disable-avserver deprecated, does nothing (From OE-Core rev: a31313ae36822af1eef303cfbd34487267f62def) Signed-off-by: Mike Crowe <mac@mcrowe.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libav: update i586 TARGET_ARCH test to also handle i686Andre McCurdy2015-07-081-1/+1
| | | | | | | | (From OE-Core rev: 0dd6690fea182a23a1fc2b0667af67ddc1f5d1e9) Signed-off-by: Andre McCurdy <armccurdy@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libpostproc: pass correct libdirRobert Yang2015-06-111-0/+1
| | | | | | | | | | | | | | | | | | | | | When MACHINE=qemux86-64 and enable multilib: ERROR: QA Issue: libpostproc: Files/directories were installed but not shipped in any package: /usr/lib /usr/lib/libpostproc.so.52.3.0 /usr/lib/libpostproc.so /usr/lib/libpostproc.so.52 /usr/lib/.debug /usr/lib/.debug/libpostproc.so.52.3.0 Please set FILES such that these items are packaged. Alternatively if they are unneeded, avoid installing them or delete them within do_install. [installed-vs-shipped] Pass the right libdir to configure as otherwise it assumes $prefix/lib which may be wrong. (From OE-Core rev: 7cb4ca779a01c3ce935682373fe2a5b02abc91a2) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libav: upgrade to 9.18Kai Kang2015-06-034-6/+104
| | | | | | | | | | | Upgrade libav from version 9.16 to 9.18. Remove unused var INC_PR and backport patch to fix CVE-2014-9676. (From OE-Core rev: 1cac4dea1dd4a335752539feefc72372fb78a41d) Signed-off-by: Kai Kang <kai.kang@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libav: fix floating dependency on libasoundAndreas Oberritter2015-03-251-1/+1
| | | | | | | (From OE-Core rev: 8c6cb85745ca580f7b0e7ff98006c76a85534de0) Signed-off-by: Andreas Oberritter <obi@opendreambox.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libav: add PACKAGECONFIG for VA-APIRoss Burton2015-03-221-0/+1
| | | | | | | | | | Intel BSPs want to enable VA-API support so add a PACKAGECONFIG statement to enable it if required. (From OE-Core rev: 1e737fb0c032cb9f8f9869eeda80850bea05ad50) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libav: drop older 0.8.* and use libav-9 by defaultMartin Jansa2015-01-294-55/+8
| | | | | | | (From OE-Core rev: 4ceff7d0a1f28eb1ce5d288111015bff8d5e9a7e) Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libpostproc: import from meta-oeMartin Jansa2015-01-291-0/+46
| | | | | | | (From OE-Core rev: bb6f073adb1613930a14c9c6f9d7d9ae2e7b59c0) Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libav: drop unused FFMPEG_LIBS and move libpostproc only to 0.8.11Martin Jansa2015-01-233-5/+5
| | | | | | | | | | * standalone libpostproc recipe depends on libav, but current PACKAGES_DYNAMIC indicated that libav-9.13 also provides libpostproc (From OE-Core rev: b142504d4e4e83d030c45e48ea333c387e8f5c88) Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libav: update 9.x version to 9.16Paul Eggleton2014-08-151-2/+2
| | | | | | | (From OE-Core rev: 32e95316db40d20bb2aa7dd48e35114f3ea7a0ee) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libav: update 0.8 version to 0.8.15Paul Eggleton2014-08-151-2/+2
| | | | | | | (From OE-Core rev: 1bfa027e4667248eeb74ee12fad84e82415efc4b) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libav: fix PACKAGECONFIG for theora and libvorbisMatthieu Crapet2014-07-291-2/+0
| | | | | | | | | | Switches must not be in EXTRA_OECONF anymore. (From OE-Core rev: 251a5cc8c940f54f058588977734fd0ede664c3c) Signed-off-by: Matthieu Crapet <Matthieu.Crapet@ingenico.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libav: add PACKAGECONFIG for theora, libvorbis, speex and opensslMatthieu Crapet2014-07-031-8/+22
| | | | | | | | | | | | | | | | | | | | | Dropped libvorvis dependency because there is already a (better) builtin vorbis codec. Don't confuse codec names: "vorbis" (builtin) and "libvorbis" (using external library). Changes: - add --enable-nonfree when faac or openssl are used - add DESCRIPTION - sort PACKAGECONFIG entries Tested with libav-0.8.11 & libav-9.13. Note: Be sure to have a recent version of bitbake (2014-06-11 or better) including this: http://cgit.openembedded.org/bitbake/commit/?id=2e742c03e8dfdfa67899e7f5d579ed14bd87e139 It affects behavior of bb.utils.contains_any (From OE-Core rev: 62eede9de6fa1c76fa97ca5c6ba2d31309759b10) Signed-off-by: Matthieu Crapet <Matthieu.Crapet@ingenico.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libav: upgrade 9.x version to 9.13Paul Eggleton2014-05-211-2/+2
| | | | | | | | (From OE-Core rev: 937a0da0861abb7656762b2a3fb69eb275dd4a9a) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libav: upgrade 0.8.x version to 0.8.11Paul Eggleton2014-05-211-2/+2
| | | | | | | | (From OE-Core rev: 206f34ac0c0b65768ec2b553a0cb8b93fe7e5ae3) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Globally replace 'base_contains' calls with 'bb.utils.contains'Otavio Salvador2014-04-251-1/+1
| | | | | | | | | | | The base_contains is kept as a compatibility method and we ought to not use it in OE-Core so we can remove it from base metadata in future. (From OE-Core rev: d83b16dbf0862be387f84228710cb165c6d2b03b) Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libav: Add libsdl to DEPENDS only when x11 is enabledKhem Raj2014-04-231-2/+2
| | | | | | | | | | | | | | | | | | | | | When we have opengl in distro features but not x11 and try to build libav then it calls out to build libsdl which inturn has depependency on libglu and libglu fails to build ld: error: cannot find -lGL | collect2: error: ld returned 1 exit status | make: *** [libGLU.la] Error 1 | ERROR: oe_runmake failed since libglu wants glx enabled in mesa and glx in mesa is (righly) enabled only when x11 is in distro features. This breaks the dependency chain leading to this problem (From OE-Core rev: fe9fe5ca5039743fc80d14f0518b95929c458b1a) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* recipes: convert remaining SUMMARY/DESCRIPTION cosmetic issues (part 2)Matthieu Crapet2014-02-201-1/+1
| | | | | | | | | | | | | | | | | | Completes previous commit b5292d4115a4555a66b5e35acdc67dd71fb8577f. Updates SUMMARY[doc] (meta/conf/documentation.conf). Changes: - rename DESCRIPTION with length < 80 to (non present tag) SUMMARY - drop final point character at the end of SUMMARY string - remove trailing whitespace of SUMMARY line Note: don't bump PR (From OE-Core rev: ad17dfd31a2b97b3e610a0ea0889f5ecb2a63b97) Signed-off-by: Matthieu Crapet <Matthieu.Crapet@ingenico.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libav: add libpostproc to PROVIDES (for 0.8.x version only)Paul Eggleton2013-12-211-0/+2
| | | | | | | | | | | | | | | | | | | There is a separate libpostproc recipe in meta-oe for use with 9.x and later versions of libav for those few that need libpostproc; however if you just add meta-oe and try to build libpostproc without selecting the libav 9.x version recipe, you'll be building the libpostproc recipe together with libav 0.8.x, which provides its own libpostproc; this leads to confusing errors at packaging time. In order to flag up that these conflict more appropriately, add libpostproc to PROVIDES explicitly so that you at least get a multiple providers error at the start of the build. Fixes [YOCTO #5335]. (From OE-Core rev: e8f9420fe901675fc1a8d4e41302c2faa4a7dc4a) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libav: Use "BP" and "libav" patch directoryAndrei Gherzan2013-12-142-1/+1
| | | | | | | | (From OE-Core rev: 176d0557b97bc60c38f0ebf6592b89864e76807e) Signed-off-by: Andrei Gherzan <andrei@gherzan.ro> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libav: Add v9.10Andrei Gherzan2013-12-101-7/+4
| | | | | | | | | | | | This version includes libavresample needed for packages like xbmc. To use this version add: PREFERRED_VERSION_libav = "9.10". Removed git version as being an older version of a 9.X release. (From OE-Core rev: d142fcea02438e06338a1d1a5644667fdda59172) Signed-off-by: Andrei Gherzan <andrei@gherzan.ro> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libav: Update to v0.8.9Andrei Gherzan2013-12-052-5/+3
| | | | | | | (From OE-Core rev: a3c906102d19924ad3b38ef1cd3d8094dd35aa64) Signed-off-by: Andrei Gherzan <andrei@gherzan.ro> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libav: install libraries to right directory when multilib is enabledNick D'Ademo2013-11-291-0/+2
| | | | | | | | | Explicitly set libdir and shlibdir to ${libdir} in EXTRA_OECONF. Otherwise, default library path of ${prefix}/lib is used which is incorrect in a multilib build. (From OE-Core rev: e16b6bab8d5286cdf58d808ef4c195127d69a8c8) Signed-off-by: Nick D'Ademo <nickdademo@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libav: use CCLD as ldRobert Yang2013-11-271-0/+1
| | | | | | | | | | | | | | | | | | | | | | | The libav uses gcc as the ld, but it doesn't use CCLD, it may have problems when target arch is 64 bit since it doesn't use the "-m64", the poky's toolchain is fine since use "x86_64-poky-linux-gcc" without "-m64" is default to 64 bit, but external toolchain *may* default to 32 bit (for example, when multilib is enabled and both 64 and 32 bit use the same gcc, then the default arch can be either of them), then there would be errors, the error is just like we run this in poky: $ x86_64-poky-linux-gcc -m32 <file.c> ld: skipping incompatible /path/to/sysroot/usr/lib64/x86_64-poky-linux/4.8.2/libgcc.a when searching for -lgcc Use CCLD as the ld will fix the problem since CCLD has been set correctly. (From OE-Core rev: 7afbc62be0e4720fb7cd2e44ec9e438a7e4ff78f) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libav: Add libswscale to PACKAGES_DYNAMICDiego Rondini2013-10-141-1/+1
| | | | | | | | | | Add libswscale to PACKAGES_DYNAMIC because it was missing. Adding it also allows libswscale to get included in an image using IMAGE_INSTALL. (From OE-Core rev: b57e7fa8b35cfcf9af6ca72d51bdf67e49254ac2) Signed-off-by: Diego Rondini <diego.ml@zoho.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libav: make X11 dependencies dependent on DISTRO_FEATURESPaul Eggleton2013-09-241-1/+1
| | | | | | | | | | This enables building libav when x11 is not in DISTRO_FEATURES. (From OE-Core rev: 9b7131e855293064e044cd79259eb350a14f319b) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libav: add from meta-oe, update and tweakPaul Eggleton2013-08-134-0/+186
Changes from the meta-oe recipe: * Update stable recipe to 0.8.8 * Update git recipe to the tag for 9.8 (for now) * Switch over to a tarball for the release version recipe * Add LICENSE_FLAGS = "commercial" * Set SUMMARY instead of DESCRIPTION * Add yasm-native to DEPENDS since there is now a recipe for it * Remove libvpx from DEPENDS and add a PACKAGECONFIG option for it, disabled by default since it wasn't actually being enabled * Add a PACKAGECONFIG option for x11 to enable/disable x11grab, and add the proper DEPENDS if so (still defaults to enabled) * Add a number of other PACKAGECONFIG options, replacing some old comments as well as offering the ability to disable x264. * Hide text relocation warning when building for i586 (PIC can't be enabled for 32-bit x86). * Drop PR Notes for the git recipe: * This hasn't been able to be built recently in meta-oe since there was a circular dependency between libav and libpostproc. libpostproc is part of libav 0.8.x but was split out in 9+ and is not needed at all anymore by libav itself, so this dependency was removed. * Additionally the recipe was filtering out the option to enable libpostproc but this option wasn't being added by the inc file and thus the filter wasn't doing anything, so I dropped this as well. (From OE-Core rev: 9a670f780b1f1204d426017ff9a95842ad85800e) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>