gstreamer: add xorg support
PATCH 1/1 gstreamer: add xorg support
From: Simon Dawson <[email protected]>
GStreamer requires xorg support in order for the ximagesink and xvimagesink plugins to be available.
--- .../gst-plugins-base/gst-plugins-base.mk | 16 +++++++++++++--- .../gst-plugins-good/gst-plugins-good.mk | 16 +++++++++++++--- 2 files changed, 26 insertions(+), 6 deletions(-)
package/multimedia/gst-plugins-base/gst-plugins-base.mk +13 -3
@@ -17,15 +17,25 @@ GST_PLUGINS_BASE_CONF_ENV = GST_PLUGINS_BASE_CONF_OPT = \ --disable-examples \ - --disable-x \ - --disable-xvideo \ - --disable-xshm \ --disable-oggtest \ --disable-vorbistest \ --disable-freetypetest GST_PLUGINS_BASE_DEPENDENCIES = gstreamer +ifeq ($(BR2_PACKAGE_XORG7),y) +GST_PLUGINS_BASE_DEPENDENCIES += xserver_xorg-server +GST_PLUGINS_BASE_CONF_OPT += \ + --enable-x \ + --enable-xshm \ + --enable-xvideo +else +GST_PLUGINS_BASE_CONF_OPT += \ + --disable-x \ + --disable-xshm \ + --disable-xvideo +endif + ifeq ($(BR2_PACKAGE_ORC),y) GST_PLUGINS_BASE_DEPENDENCIES += orc endif
package/multimedia/gst-plugins-good/gst-plugins-good.mk +13 -3
@@ -14,9 +14,6 @@ GST_PLUGINS_GOOD_CONF_OPT = \ --disable-sunaudio \ --disable-osx_audio \ --disable-osx_video \ - --disable-x \ - --disable-xshm \ - --disable-xvideo \ --disable-aalib \ --disable-aalibtest \ --disable-esd \
@@ -25,6 +22,19 @@ GST_PLUGINS_GOOD_CONF_OPT = \ GST_PLUGINS_GOOD_DEPENDENCIES = gstreamer gst-plugins-base +ifeq ($(BR2_PACKAGE_XORG7),y) +GST_PLUGINS_GOOD_DEPENDENCIES += xserver_xorg-server +GST_PLUGINS_GOOD_CONF_OPT += \ + --enable-x \ + --enable-xshm \ + --enable-xvideo +else +GST_PLUGINS_GOOD_CONF_OPT += \ + --disable-x \ + --disable-xshm \ + --disable-xvideo +endif + ifeq ($(BR2_PACKAGE_GST_PLUGINS_GOOD_JPEG),y) GST_PLUGINS_GOOD_CONF_OPT += --enable-jpeg GST_PLUGINS_GOOD_DEPENDENCIES += jpeg
Signature · 1 line
1.7.9.5
PATCH 1/1 gstreamer: add xorg support
Le Sun, 3 Jun 2012 13:29:52 +0100,
spdawson at gmail.com a ?crit :
package/multimedia/gst-plugins-base/gst-plugins-base.mk GST_PLUGINS_BASE_CONF_ENV = · line 37
Quoted 12 lines
package/multimedia/gst-plugins-base/gst-plugins-base.mk +12
-0+ifeq ($(BR2_PACKAGE_XORG7),y) +GST_PLUGINS_BASE_DEPENDENCIES += xserver_xorg-server +GST_PLUGINS_BASE_CONF_OPT += \ + --enable-x \ + --enable-xshm \ + --enable-xvideo +else +GST_PLUGINS_BASE_CONF_OPT += \ + --disable-x \ + --disable-xshm \ + --disable-xvideo +endif
Are you sure that the dependency is on xserver_xorg-server? I would rather suspect that the real dependency is on a certain set of X11 client libraries (libX11 for the core protocol, libXv fdor the Xvideo extension, etc.).
Thomas
Signature · 4 lines
Thomas Petazzoni, Free Electrons Kernel, drivers, real-time and embedded Linux development, consulting, training and support. http://free-electrons.com
PATCH 1/1 gstreamer: add xorg support
Quoted 4 lines
Are you sure that the dependency is on xserver_xorg-server? I would rather suspect that the real dependency is on a certain set of X11 client libraries (libX11 for the core protocol, libXv fdor the Xvideo extension, etc.).
Right you are, thanks; I'll fix this and resubmit.
Simon.