Commit Graph

124 Commits

Author SHA1 Message Date
Peter Korsgaard
bff8651864 gst1-plugins-bad: fix egl detection
Some egl implementations needs special compiler flags or defines (E.G.
mesa3d for wayland needs to pass -DMESA_EGL_NO_X11_HEADERS to not try to
include X11 headers).  This is correctly included in the .pc file, but the
configure logic doesn't use pkg-config so help it along.

Likewise, some implementations may need to link against other libraries, so
also pass LIBS.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2015-06-22 22:13:33 +02:00
Benoît Thébaudeau
962ffda68c gst1-plugins-bad: add support for opengl
Commit 83e29f2656 "gst1-plugins-bad: bump
version" (from 1.2.4 to 1.4.1) removed the configuration option for the
eglglessink plugin as a consequence of its removal in 1.3.1. However,
that commit did not add support for glimagesink, the plugin element to
be used as a replacement, which broke support for the EGL/GLES video
sink feature in Buildroot.

This new commit adds support for the OpenGL library and the
corresponding gl plugin, including the glimagesink element among others.

The plugin needs the library, but the library can also be used
separately in order to link custom plugins or applications against it.

The library needs at least one OpenGL API, one OpenGL platform and one
compatible window system. The implementations of these requirements that
Buildroot can currently provide are:
 - APIs: OpenGL, OpenGL ES 2.X,
 - platforms: GLX, EGL,
 - window systems: X11, Wayland, Dispmanx.

The wayland configure feature switch is shared between the corresponding
OpenGL library window system and the waylandsink plugin.

This has been tested with videotestsrc/omxmpeg4videodec/omxh264dec and
glimagesink on the Raspberry Pi, using OpenGL ES 2.X, EGL and Dispmanx.

Signed-off-by: Benoît Thébaudeau <benoit@wsystem.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2015-06-22 21:46:49 +02:00
Peter Korsgaard
cddaae8229 Merge branch 'next'
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2015-06-01 23:52:57 +02:00
Benoît Thébaudeau
fa5619143d gst1-plugins-bad: remove obsolete make rules
Commit 83e29f2656 "gst1-plugins-bad: bump
version" (from 1.2.4 to 1.4.1) removed the configuration options for the
cdaudio and eglglessink plugins as a consequence of their removal in
1.3.1. However, that commit did not remove the corresponding make rules,
so remove them now.

Signed-off-by: Benoît Thébaudeau <benoit@wsystem.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2015-05-17 21:59:09 +02:00
Peter Korsgaard
3ed9137fee pulseaudio: needs dynamic library support
Fixes:
http://autobuild.buildroot.net/results/75a/75a3380fdcce88f1f9f2a77c4f059787623919d7/
http://autobuild.buildroot.net/results/f4a/f4a22344bd5c8f59e6f8cacb6a549f8d8fe99af2/

Pulseaudio uses dlfcn.h, so it cannot work in a pure static environment.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2015-05-17 09:22:49 +02:00
Gustavo Zacarias
757e9c4c2a package: kill pointless text justification
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2015-04-23 09:47:08 +02:00
Gary Bisson
6aceb89b55 gst1-imx: add package
Open-source GStreamer 1.0 plugins for i.MX6 platforms.
More info at https://github.com/Freescale/gstreamer-imx

[Peter: add upstream URL to help text]
Signed-off-by: Gary Bisson <bisson.gary@gmail.com>
Reviewed-by: Luca Ceresoli <luca@lucaceresoli.net>
Tested-by: Luca Ceresoli <luca@lucaceresoli.net>
Tested-by: Rostislav Lisovy <lisovy@jablotron.cz>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2015-04-06 00:25:08 +02:00
Gustavo Zacarias
f4716f79a0 packages: remove (non-)lfs dependencies and tweaks
Now that largefile is mandatory removes package dependencies and
conditionals.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2015-04-01 22:47:22 +02:00
Peter Korsgaard
7403ea730d Merge branch 'next'
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2015-03-02 23:26:20 +01:00
Julien Boibessot
752dd650b5 package/gstreamer[0/1]: rename BR2_PACKAGE_GST_PLUGINS_GOOD_PLUGIN_QTDEMUX config option.
1] BR2_PACKAGE_GST_PLUGINS_GOOD_PLUGIN_QTDEMUX is not defined anywhere
 2] qtdemux is not a plugin by itself but belongs to isomp4

Signed-off-by: Julien Boibessot <julien.boibessot@armadeus.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2015-02-25 17:12:52 +01:00
Yann E. MORIN
9863553fe8 packages: all salute the passing of avr32
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2015-02-14 17:43:11 +01:00
Arnout Vandecappelle
08c763b539 gst1-plugins-base: add missing indirect dependency on atomics for pango
Also removed the redundant indirect dependencies on wchar, threads, mmu
(gstreamer depends on libglib2 so this indirect dependency is obvious).

[Peter: drop wchar+threads from comment as suggested by Jerzy Grzegorek]
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2015-02-07 21:04:06 +01:00
Arnout Vandecappelle
d890524aab gst1-plugins-bad: add missing indirect dependency on atomics for rsvg
Also removed the redundant indirect dependencies on wchar, threads
(gstreamer depends on libglib2 so this indirect dependency is obvious).

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2015-02-07 20:48:54 +01:00
Peter Korsgaard
298cd8eaa2 package/*: rename patches according to the new policy
Autogenerated from rename-patch.py (http://patchwork.ozlabs.org/patch/403345)

Signed-off-by: Samuel Martin <s.martin49@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2015-02-03 14:52:56 +01:00
Peter Korsgaard
869027653a gst1-libav: bump version
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2014-12-29 15:21:00 +01:00
Peter Korsgaard
3e0d2e18be gst1-plugins-ugly: bump version
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2014-12-29 15:19:45 +01:00
Peter Korsgaard
8874c71d3c gst1-plugins-bad: bump version
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2014-12-29 15:18:41 +01:00
Peter Korsgaard
83058e3977 gst1-plugins-good: bump version
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2014-12-29 15:17:26 +01:00
Peter Korsgaard
8e856b8015 gst1-plugins-base: bump version
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2014-12-29 15:16:25 +01:00
Peter Korsgaard
64a448e808 gstreamer1: bump version
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2014-12-29 15:15:05 +01:00
Thomas Petazzoni
665e13c85e Rename BR2_PREFER_STATIC_LIB to BR2_STATIC_LIBS
Since a while, the semantic of BR2_PREFER_STATIC_LIB has been changed
from "prefer static libraries when possible" to "use only static
libraries". The former semantic didn't make much sense, since the user
had absolutely no control/idea of which package would use static
libraries, and which packages would not. Therefore, for quite some
time, we have been starting to enforce that BR2_PREFER_STATIC_LIB
should really build everything with static libraries.

As a consequence, this patch renames BR2_PREFER_STATIC_LIB to
BR2_STATIC_LIBS, and adjust the Config.in option accordingly.

This also helps preparing the addition of other options to select
shared, shared+static or just static.

Note that we have verified that this commit can be reproduced by
simply doing a global rename of BR2_PREFER_STATIC_LIB to
BR2_STATIC_LIBS plus adding BR2_PREFER_STATIC_LIB to Config.in.legacy.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
2014-12-11 22:48:13 +01:00
Peter Korsgaard
e9b6cf9746 gst1-libav: bump version
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2014-12-08 08:53:38 +01:00
Peter Korsgaard
9964db4b35 gst1-plugins-ugly: bump version
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2014-12-08 08:53:38 +01:00
Peter Korsgaard
13b4fc7f0a gst1-plugins-bad: bump version
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2014-12-08 08:53:38 +01:00
Peter Korsgaard
9b6cec1c24 gst1-plugins-good: bump version
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2014-12-08 08:53:38 +01:00
Peter Korsgaard
938ec17be2 gst1-plugins-base: bump version
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2014-12-08 08:53:38 +01:00
Peter Korsgaard
62f7a99c38 gstreamer1: bump version
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2014-12-08 08:53:38 +01:00
Peter Seiderer
c3c6fa297a gst1-validate: needs python
If host installed python version is < 2.7.0 gst1-validate compile will fail with

	checking for a Python interpreter with version >= 2.7.0... none
	configure: error: no suitable Python interpreter found

Fixed by adding host-python dependency.

Target tool /usr/bin/gst-validate-launcher is a python2 script

	$ head -1 /usr/bin/gst-validate-launcher
	#!/usr/bin/env python2

(and not easily upgradable to python3) so add python2 dependency and to fix
the following runtime error

	$ gst-validate-launcher
	Traceback (most recent call last):
	  File "/usr/bin/gst-validate-launcher", line 44, in <module>
	    from launcher.main import main
	  File "/usr/lib/gst-validate-launcher/python/launcher/main.py", line 26, in <module>
	    import reporters
	  File "/usr/lib/gst-validate-launcher/python/launcher/reporters.py", line 29, in <module>
	    from xml.sax import saxutils
	ImportError: No module named xml.sax

add additional BR2_PACKAGE_PYTHON_PYEXPAT select.

Fixes:
 http://autobuild.buildroot.net/results/e8c/e8c27db2a0935c2daef173d5650f6a2b3a219493/
 http://autobuild.buildroot.net/results/723/723fe3036e8f0af2a90ff9e98173387466655000/

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2014-11-22 20:18:59 +01:00
Thomas Petazzoni
f284e4b8b5 gst1-libav: allow usage of ARMv6 optimizations on ARMv7 platforms
Contrary to the ffmpeg package, the gst1-libav package was only
allowing ARMv6 optimizations on ARMv6 platforms. This commit also
allows ARMv6 optimizations on ARMv7 platforms, like the ffmpeg package
does.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2014-11-06 23:28:03 +01:00
Thomas Petazzoni
2cb7b9fe1e gst1-libav: use the new BR2_ARM_CPU_ARM* options
Instead of using the Config.in options for each individual ARM core,
use the newly introduced BR2_ARM_CPU_ARM* options, which exist per ARM
architecture.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2014-11-06 23:05:51 +01:00
Peter Seiderer
d3cc980903 gst1-validate: new package
Example usages can be found at [1].

[1] http://blogs.gnome.org/tsaunier/2014/04/21/gst-validate-a-suite-of-tools-to-run-integration-tests-for-gstreamer-2/

Signed-off-by: Peter Seiderer <ps.report@gmx.net>

Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Tested-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
 [build test on minimal internal x86_64 toolchain]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2014-10-22 22:57:42 +02:00
Bernd Kuhls
822a757456 infra: Move --enable/--disable-debug to package/Makefile.in
A lot of packages ignored BR2_ENABLE_DEBUG. This patch simplifies the handling of
this option by adding the corresponding configure option to the global Makefile
for target packages.

For host packages --disable-debug is added to the global Makefile.

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2014-10-19 17:07:14 +02:00
Thomas De Schampheleire
ed8338b868 packages: rename misc. occurrences of _OPT into _OPTS
To be consistent with the recent change of FOO_MAKE_OPT into FOO_MAKE_OPTS,
change remaining occurrences of _OPT into _OPTS.

Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2014-10-04 18:56:25 +02:00
Thomas De Schampheleire
aaffd209fa packages: rename FOO_CONF_OPT into FOO_CONF_OPTS
To be consistent with the recent change of FOO_MAKE_OPT into FOO_MAKE_OPTS,
make the same change for FOO_CONF_OPT.

Sed command used:
   find * -type f | xargs sed -i 's#_CONF_OPT\>#&S#g'

Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2014-10-04 18:54:16 +02:00
Thomas De Schampheleire
1d2574ac6f packages: rename FOO_AUTORECONF_OPT into FOO_AUTORECONF_OPTS
To be consistent with the recent change of FOO_MAKE_OPT into FOO_MAKE_OPTS,
make the same change for FOO_AUTORECONF_OPT.

Sed command used:
    find * -type f | xargs sed -i 's#_AUTORECONF_OPT\>#&S#g'

Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2014-10-04 18:53:25 +02:00
Peter Korsgaard
248e0f1c46 gst1-libav: bump version
And add tarball hash from release announcement.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2014-09-29 17:32:28 +02:00
Peter Korsgaard
d096bf0143 gst1-plugins-ugly: bump version
And add tarball hash from release announcement.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2014-09-29 17:01:32 +02:00
Peter Korsgaard
1632be8e0d gst1-plugins-bad: bump version
And add tarball hash from release announcement.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2014-09-29 16:55:46 +02:00
Peter Korsgaard
99f85b80d7 gst1-plugins-good: bump version
And add tarball hash from release announcement. Also drop v4l2 patch as it
is now upstream.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2014-09-29 16:52:35 +02:00
Peter Korsgaard
a5e912cd8b gst1-plugins-base: bump version
And add tarball hash from release announcement.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2014-09-29 16:47:10 +02:00
Peter Korsgaard
ff494d8874 gstreamer1: bump version
And add tarball hash from release announcement.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2014-09-29 16:44:40 +02:00
Bernd Kuhls
155a48bac2 package/wayland: requires shared library
Fixes
  CC       src/libwayland_server_la-wayland-server.lo
src/wayland-server.c:36:19: error: dlfcn.h: No such file or directory

using this defconfig
http://autobuild.buildroot.net/results/dfd/dfd81f1f1f0f315317b2a85d24b286a277ac7c16/

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2014-09-28 22:17:34 +02:00
Peter Korsgaard
0112fcfa8c gst1-plugins-bad: fix sndfile comment
The package is not called gst-plugins-bad, and the other comments in the
file are of the "foo plugin needs a toolchain w/.." form, so use that for
sndfile as well.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2014-09-16 23:05:12 +02:00
Jérôme Pouiller
1f54420bdc gst-plugins-bad-plugin-sndfile: Fix comment display
Signed-off-by: Jérôme Pouiller <jezz@sysmic.org>
Reviewed-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2014-09-16 23:03:26 +02:00
Peter Korsgaard
117e864a53 gst1-plugins-good: gstv4l2allocator: O_CLOEXEC needs _GNU_SOURCE
Fixes http://autobuild.buildroot.net/results/ee9/ee985d94da6a7115b6e62cf407e3c6a90eb3e4bf/

On some systems (E.G. uClibc and older Glibc versions), O_CLOEXEC is only
defined when _GNU_SOURCE is specified, so do so.

Patch submitted upstream: https://bugzilla.gnome.org/show_bug.cgi?id=736670

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2014-09-15 15:02:36 +02:00
Peter Korsgaard
e3a7f3f3ad gst-omx: bump version
Adjust configuration file library paths in a post-patch hook instead of a
patch as that is more robust / makes it easier to bump the version.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2014-09-09 22:17:17 +02:00
Peter Korsgaard
9c92ce6d00 gst1-libav: bump version
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2014-09-09 21:48:08 +02:00
Peter Korsgaard
2cb13667b7 gst1-plugins-ugly: bump version
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2014-09-09 21:46:29 +02:00
Peter Korsgaard
83e29f2656 gst1-plugins-bad: bump version
Patch is now upstream.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2014-09-09 21:43:24 +02:00
Peter Korsgaard
dfa666265d gst1-plugins-good: bump version
And cleanup X11 handling while we're at it.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2014-09-07 23:03:58 +02:00