Skip to contentSkip to conversation

Gstreamer 1.X Patches

Buildroot Superseded Spenser Gilliland 4 participants 15 messages May 10, 2013 – May 13, 2013

v3 of 4 Superseded Latest is v4 →

lore
Share & tools
lore
#0 lore raw

The subsequent patches add Gstreamer 1.X to Buildroot. Gstreamer has many dependencies which can be disabled or enabled as plugins. For an example of adding a plugin which requires a dependent library, see patches 6 and 7 of the series.

v2 -> v3:
fixes after running build all/none plugin components changed naming from gst-plugins-<blah>1 to gst1-plugins-<blah> options which require currently unpackged libraries are disabled

v1 -> v2:
completed patch series by adding good, bad, and ugly plugins

#1 lore raw

PATCH v3 1/7 gstreamer1: Add gstreamer version 1.0.7 package

This patch adds the gstreamer version 1.x series to buildroot.

---
 package/multimedia/Config.in                |    1 +
 package/multimedia/gstreamer1/Config.in     |   37 +++++++++++++++++++++++++++
 package/multimedia/gstreamer1/gstreamer1.mk |   36 ++++++++++++++++++++++++++
 3 files changed, 74 insertions(+)
 create mode 100644 package/multimedia/gstreamer1/Config.in
 create mode 100644 package/multimedia/gstreamer1/gstreamer1.mk
package/multimedia/Config.in +1 -0
index 931e6d3..f6a5fd7 100644
@@ -6,6 +6,7 @@ source "package/multimedia/faad2/Config.in"
 source "package/multimedia/flac/Config.in"
 source "package/multimedia/ffmpeg/Config.in"
 source "package/multimedia/gstreamer/Config.in"
+source "package/multimedia/gstreamer1/Config.in"
 source "package/multimedia/gst-ffmpeg/Config.in"
 source "package/multimedia/gst-dsp/Config.in"
 source "package/multimedia/gst-fsl-plugins/Config.in"
package/multimedia/gstreamer1/Config.in new file +37 -0
new file mode 100644
index 0000000..b1fd8b1
@@ -0,0 +1,37 @@
+config BR2_PACKAGE_GSTREAMER1
+	bool "gstreamer1"
+	depends on BR2_USE_WCHAR # glib2
+	depends on BR2_TOOLCHAIN_HAS_THREADS
+	select BR2_PACKAGE_LIBGLIB2
+	help
+	  GStreamer is an open source multimedia framework.
+
+	  http://gstreamer.freedesktop.org/
+
+config BR2_PACKAGE_GSTREAMER1_GST_DEBUG
+	bool "enable gst-debug trace support"
+	default y
+	depends on BR2_PACKAGE_GSTREAMER1
+	help
+	  Enable support for the gst-debug tracing functionality in gstreamer.
+	  This has limited CPU overhead, but does increase the rootfs size
+	  somewhat.
+
+config BR2_PACKAGE_GSTREAMER1_PLUGIN_REGISTRY
+	bool "enable plugin registry"
+	default y
+	depends on BR2_PACKAGE_GSTREAMER1
+	help
+	  Enable support for the GStreamer plugin registry. This may increase
+	  the launch-time for a GStreamer application.
+
+config BR2_PACKAGE_GSTREAMER1_INSTALL_TOOLS
+	bool "install gst-launch gst-inspect"
+	default y
+	depends on BR2_PACKAGE_GSTREAMER1
+	help
+	  Install the gst-launch and gst-inspect tools. This will take up
+	  additional space on the target
+
+comment "gstreamer requires a toolchain with WCHAR and threads support"
+	depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS
package/multimedia/gstreamer1/gstreamer1.mk new file +36 -0
new file mode 100644
index 0000000..7abdc09
@@ -0,0 +1,36 @@
+#############################################################
+#
+# gstreamer1
+#
+#############################################################
+
+GSTREAMER1_VERSION = 1.0.7
+GSTREAMER1_SOURCE = gstreamer-$(GSTREAMER1_VERSION).tar.xz
+GSTREAMER1_SITE = http://gstreamer.freedesktop.org/src/gstreamer
+GSTREAMER1_INSTALL_STAGING = YES
+
+# Checking if unaligned memory access works correctly cannot be done when cross
+# compiling. For the following architectures there is no information available
+# in the configure script.
+ifeq ($(BR2_avr32),y)
+GSTREAMER1_CONF_ENV = as_cv_unaligned_access=no
+endif
+ifeq ($(BR2_aarch64),y)
+GSTREAMER1_CONF_ENV = as_cv_unaligned_access=yes
+endif
+
+GSTREAMER1_CONF_OPT = \
+		--disable-examples \
+		--disable-tests \
+		--disable-failing-tests \
+		--disable-debug \
+		--disable-valgrind \
+		--disable-benchmarks \
+		--disable-check \
+		$(if $(BR2_PACKAGE_GSTREAMER1_GST_DEBUG),,--disable-gst-debug) \
+		$(if $(BR2_PACKAGE_GSTREAMER1_PLUGIN_REGISTRY),,--disable-registry) \
+		$(if $(BR2_PACKAGE_GSTREAMER1_INSTALL_TOOLS),,--disable-tools) \
+
+GSTREAMER1_DEPENDENCIES = libglib2 host-pkgconf host-bison host-flex
+
+$(eval $(autotools-package))
Signature · 1 line
1.7.9.5
#2 lore raw

PATCH v3 1/7 gstreamer1: Add gstreamer version 1.0.7 package

Hi Spenser,

Very quick first review...

First of all, a comment that is not so much directed at you but at the
rest of the BR developers: the naming issue.

We have a tendency to make a copy of a package when there is a major
version change, cfr. python3 and qt5. However, in this case, I don't think it's a good idea. At this time, many (most?) gstreamer downstreams have already moved to 1.x. Also, no more patches will be made the the 0.10 series (though distro's may still make patches). So we can expect the old gstreamer stuff to die out relatively quickly. But if we call the new thing gstreamer1 now, we're essentially stuck with that name for all eternity.

So instead I'd try to make 0.10 or 1.0 a choice in the gstreamer
package itself. For me it's fine if inside the Config.in and the .mk files we basically have the two versions in a big ifeq() construct, but at least we can keep on using the BR2_PACKAGE_GST* symbols.

Obviously, there will be some packages that break down when gstreamer
1.0 is used, but we'll have to discover that at some point anyway.

Quoted 33 lines · Spenser Gilliland

This patch adds the gstreamer version 1.x series to buildroot.

---
  package/multimedia/Config.in                |    1 +
  package/multimedia/gstreamer1/Config.in     |   37 +++++++++++++++++++++++++++
  package/multimedia/gstreamer1/gstreamer1.mk |   36 ++++++++++++++++++++++++++
  3 files changed, 74 insertions(+)

create mode 100644 package/multimedia/gstreamer1/Config.in create mode 100644 package/multimedia/gstreamer1/gstreamer1.mk

package/multimedia/Config.in +1 -0
index 931e6d3..f6a5fd7 100644
@@ -6,6 +6,7 @@ source "package/multimedia/faad2/Config.in"
  source "package/multimedia/flac/Config.in"
  source "package/multimedia/ffmpeg/Config.in"
  source "package/multimedia/gstreamer/Config.in"
+source "package/multimedia/gstreamer1/Config.in"
  source "package/multimedia/gst-ffmpeg/Config.in"
  source "package/multimedia/gst-dsp/Config.in"
  source "package/multimedia/gst-fsl-plugins/Config.in"
package/multimedia/gstreamer1/Config.in new file +4 -0
new file mode 100644
index 0000000..b1fd8b1
@@ -0,0 +1,37 @@
+config BR2_PACKAGE_GSTREAMER1
+	bool "gstreamer1"
+	depends on BR2_USE_WCHAR # glib2
+	depends on BR2_TOOLCHAIN_HAS_THREADS

package/multimedia/gstreamer1/Config.in line 14

Quoted 10 lines
package/multimedia/gstreamer1/Config.in new file +10 -0
+	select BR2_PACKAGE_LIBGLIB2
+	help
+	  GStreamer is an open source multimedia framework.
+
+	  http://gstreamer.freedesktop.org/
+
+config BR2_PACKAGE_GSTREAMER1_GST_DEBUG
+	bool "enable gst-debug trace support"
+	default y
+	depends on BR2_PACKAGE_GSTREAMER1

We nowadays prefer to put sub-options inside an if...endif construct
instead of with 'depends on'.

Regards,
Arnout

Quoted 23 lines
package/multimedia/gstreamer1/Config.in new file +23 -0
+	help
+	  Enable support for the gst-debug tracing functionality in gstreamer.
+	  This has limited CPU overhead, but does increase the rootfs size
+	  somewhat.
+
+config BR2_PACKAGE_GSTREAMER1_PLUGIN_REGISTRY
+	bool "enable plugin registry"
+	default y
+	depends on BR2_PACKAGE_GSTREAMER1
+	help
+	  Enable support for the GStreamer plugin registry. This may increase
+	  the launch-time for a GStreamer application.
+
+config BR2_PACKAGE_GSTREAMER1_INSTALL_TOOLS
+	bool "install gst-launch gst-inspect"
+	default y
+	depends on BR2_PACKAGE_GSTREAMER1
+	help
+	  Install the gst-launch and gst-inspect tools. This will take up
+	  additional space on the target
+
+comment "gstreamer requires a toolchain with WCHAR and threads support"
+	depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS

[snip]

Signature · 6 lines
Arnout Vandecappelle                          arnout at mind be
Senior Embedded Software Architect            +32-16-286500
Essensium/Mind                                http://www.mind.be
G.Geenslaan 9, 3001 Leuven, Belgium           BE 872 984 063 RPR Leuven
LinkedIn profile: http://www.linkedin.com/in/arnoutvandecappelle
GPG fingerprint:  7CB5 E4CC 6C2E EFD4 6E3D A754 F963 ECAB 2450 2F1F
#3 lore raw

PATCH v3 1/7 gstreamer1: Add gstreamer version 1.0.7 package

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Arnout" == Arnout Vandecappelle <[email protected]> writes:

Arnout> Hi Spenser,
Arnout> Very quick first review...

Arnout> First of all, a comment that is not so much directed at you but at Arnout> the rest of the BR developers: the naming issue.

Arnout> We have a tendency to make a copy of a package when there is a major Arnout> version change, cfr. python3 and qt5. However, in this case, I don't Arnout> think it's a good idea. At this time, many (most?) gstreamer Arnout> downstreams have already moved to 1.x. Also, no more patches will be Arnout> made the the 0.10 series (though distro's may still make patches). So Arnout> we can expect the old gstreamer stuff to die out relatively Arnout> quickly. But if we call the new thing gstreamer1 now, we're Arnout> essentially stuck with that name for all eternity.

I'm not so sure. If you look at the other recent major version upgrades (python/qt/gtk), it seems to me like people aren't jumping on the new version right away. I had several people asking me if qt4 would still be available once qt5 got added.

I think the nicest thing we can do for our users is just to add the new package next to the existing when these incompatible major version upgrades happen, so they can chose themselves when/if they want to upgrade. I agree that gstreamer1 perhaps isn't the nicest name, but it isn't too bad either, and for python/qt/gtk the names are commonly used.

Arnout> So instead I'd try to make 0.10 or 1.0 a choice in the gstreamer Arnout> package itself. For me it's fine if inside the Config.in and the .mk Arnout> files we basically have the two versions in a big ifeq() construct, Arnout> but at least we can keep on using the BR2_PACKAGE_GST* symbols.

What would the advantage be? Just that people could move from gstreamer 0.10 to 1.0 without adjusting their config?

Arnout> Obviously, there will be some packages that break down when Arnout> gstreamer 1.0 is used, but we'll have to discover that at some Arnout> point anyway.

Like the closed source imx stuff.

Signature · 1 line
Bye, Peter Korsgaard
#4 lore raw

PATCH v3 1/7 gstreamer1: Add gstreamer version 1.0.7 package

Dear Peter Korsgaard,

Quoted 9 lines · Peter Korsgaard

Arnout> We have a tendency to make a copy of a package when there is a major Arnout> version change, cfr. python3 and qt5. However, in this case, I don't Arnout> think it's a good idea. At this time, many (most?) gstreamer Arnout> downstreams have already moved to 1.x. Also, no more patches will be Arnout> made the the 0.10 series (though distro's may still make patches). So Arnout> we can expect the old gstreamer stuff to die out relatively Arnout> quickly. But if we call the new thing gstreamer1 now, we're Arnout> essentially stuck with that name for all eternity.

Quoted 4 lines

I'm not so sure. If you look at the other recent major version upgrades (python/qt/gtk), it seems to me like people aren't jumping on the new version right away. I had several people asking me if qt4 would still be available once qt5 got added.

I agree. I recently had a customer using Buildroot, with a fairly important stack of custom/proprietary software written on top of gstreamer 0.10. Having the possibility to continue to use gstreamer 0.10 is very important to allow such users to migrate to newer Buildroot versions. The migration to gstreamer 1.x will not happen overnight for such users who have a large body of software written against gstreamer 0.10.

Similarly for Qt4 vs. Qt5, as Peter mentioned.

Quoted 5 lines

I think the nicest thing we can do for our users is just to add the new package next to the existing when these incompatible major version upgrades happen, so they can chose themselves when/if they want to upgrade. I agree that gstreamer1 perhaps isn't the nicest name, but it isn't too bad either, and for python/qt/gtk the names are commonly used.

Right. Ideally, we would have preferred to have 'gstreamer' be the latest available version, and 'gstreamer0.10' be the name for the old packages. But that doesn't work, because we can't predict the future.

We had the same for Gtk. In the past we had package/libgtk and package/libgtk2, and now package/libgtk is gone. And presumably, we'll gain package/libgtk3 in the future.

Quoted 5 lines

Arnout> Obviously, there will be some packages that break down when Arnout> gstreamer 1.0 is used, but we'll have to discover that at some Arnout> point anyway.

Like the closed source imx stuff.

Hum, not sure to get your point here, though.

Best regards,

Thomas

Signature · 4 lines
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com
#5 lore raw

PATCH v3 1/7 gstreamer1: Add gstreamer version 1.0.7 package

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Thomas" == Thomas Petazzoni <[email protected]> writes:

Hi,

Arnout> Obviously, there will be some packages that break down when Arnout> gstreamer 1.0 is used, but we'll have to discover that at some Arnout> point anyway.

Quoted 1 line
Quoted 1 line

Like the closed source imx stuff.

Thomas> Hum, not sure to get your point here, though.

Well, it was late when I wrote this ;) I just meant packages like gst-fsl-plugins probably won't work with gstreamer 1.x

Signature · 1 line
Bye, Peter Korsgaard
#6 lore raw

PATCH v3 1/7 gstreamer1: Add gstreamer version 1.0.7 package

Dear Peter Korsgaard,

Quoted 10 lines · Peter Korsgaard

Arnout> Obviously, there will be some packages that break down when Arnout> gstreamer 1.0 is used, but we'll have to discover that at some Arnout> point anyway.

Quoted 1 line
Quoted 1 line

Like the closed source imx stuff.

Thomas> Hum, not sure to get your point here, though.

Well, it was late when I wrote this ;) I just meant packages like gst-fsl-plugins probably won't work with gstreamer 1.x

Ah, yes, indeed. Makes sense now :)

Thomas

Signature · 4 lines
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com
#7 lore raw

PATCH v3 1/7 gstreamer1: Add gstreamer version 1.0.7 package

In reply to Thomas Petazzoni
Quoted 23 lines · Thomas Petazzoni
Quoted 9 lines · Peter Korsgaard
Quoted 9 lines

Arnout> We have a tendency to make a copy of a package when there is a major Arnout> version change, cfr. python3 and qt5. However, in this case, I don't Arnout> think it's a good idea. At this time, many (most?) gstreamer Arnout> downstreams have already moved to 1.x. Also, no more patches will be Arnout> made the the 0.10 series (though distro's may still make patches). So Arnout> we can expect the old gstreamer stuff to die out relatively Arnout> quickly. But if we call the new thing gstreamer1 now, we're Arnout> essentially stuck with that name for all eternity.

Quoted 4 lines
Quoted 4 lines

I'm not so sure. If you look at the other recent major version upgrades (python/qt/gtk), it seems to me like people aren't jumping on the new version right away. I had several people asking me if qt4 would still be available once qt5 got added.

I agree. I recently had a customer using Buildroot, with a fairly important stack of custom/proprietary software written on top of gstreamer 0.10. Having the possibility to continue to use gstreamer 0.10 is very important to allow such users to migrate to newer Buildroot versions. The migration to gstreamer 1.x will not happen overnight for such users who have a large body of software written against gstreamer 0.10.

Quoted 1 line

Similarly for Qt4 vs. Qt5, as Peter mentioned.

Fair enough. I guess Peter's right, having the 1 in the name doesn't hurt.

Regards,
Arnout

Signature · 6 lines
Arnout Vandecappelle                          arnout at mind be
Senior Embedded Software Architect            +32-16-286500
Essensium/Mind                                http://www.mind.be
G.Geenslaan 9, 3001 Leuven, Belgium           BE 872 984 063 RPR Leuven
LinkedIn profile: http://www.linkedin.com/in/arnoutvandecappelle
GPG fingerprint:  7CB5 E4CC 6C2E EFD4 6E3D A754 F963 ECAB 2450 2F1F
#8 lore raw

PATCH v3 1/7 gstreamer1: Add gstreamer version 1.0.7 package

In reply to Arnout Vandecappelle
Quoted 15 lines · Arnout Vandecappelle

Hi Spenser,

Very quick first review...

First of all, a comment that is not so much directed at you but at the rest
of the BR developers: the naming issue.

We have a tendency to make a copy of a package when there is a major
version change, cfr. python3 and qt5. However, in this case, I don't think it's a good idea. At this time, many (most?) gstreamer downstreams have already moved to 1.x. Also, no more patches will be made the the 0.10 series (though distro's may still make patches). So we can expect the old gstreamer stuff to die out relatively quickly. But if we call the new thing gstreamer1 now, we're essentially stuck with that name for all eternity.

Quoted 8 lines

So instead I'd try to make 0.10 or 1.0 a choice in the gstreamer package
itself. For me it's fine if inside the Config.in and the .mk files we basically have the two versions in a big ifeq() construct, but at least we can keep on using the BR2_PACKAGE_GST* symbols.

Obviously, there will be some packages that break down when gstreamer 1.0
is used, but we'll have to discover that at some point anyway.

Per discussion will leave as gstreamer1.

Quoted 2 lines

We nowadays prefer to put sub-options inside an if...endif construct
instead of with 'depends on'.

Will fix.

Please continue to review these patches and let me know of any additional issues.

Regards,
Spenser

--
Spenser Gilliland
Computer Engineer
Doctoral Candidate

#9 lore raw

PATCH v3 2/7 gst1-plugins-base: add gstreamer1 base plugins

In reply to Spenser Gilliland

Adds gstreamer 1.X base plugins.

---
 package/multimedia/Config.in                       |    1 +
 package/multimedia/gst1-plugins-base/Config.in     |  106 +++++++++++
 .../gst1-plugins-base/gst1-plugins-base.mk         |  201 ++++++++++++++++++++
 3 files changed, 308 insertions(+)
 create mode 100644 package/multimedia/gst1-plugins-base/Config.in
 create mode 100644 package/multimedia/gst1-plugins-base/gst1-plugins-base.mk
package/multimedia/Config.in +1 -0
index f6a5fd7..e851187 100644
@@ -12,6 +12,7 @@ source "package/multimedia/gst-dsp/Config.in"
 source "package/multimedia/gst-fsl-plugins/Config.in"
 source "package/multimedia/gst-omapfb/Config.in"
 source "package/multimedia/gst-plugins-base/Config.in"
+source "package/multimedia/gst1-plugins-base/Config.in"
 source "package/multimedia/gst-plugins-good/Config.in"
 source "package/multimedia/gst-plugins-bad/Config.in"
 source "package/multimedia/gst-plugins-ugly/Config.in"
package/multimedia/gst1-plugins-base/Config.in new file +106 -0

106 lines not on this page · raw message

package/multimedia/gst1-plugins-base/gst1-plugins-base.mk new file +201 -0

201 lines not on this page · raw message

Signature · 1 line
1.7.9.5
#10 lore raw

PATCH v3 3/7 gst1-plugins-good: add gstreamer1 good plugins

In reply to Spenser Gilliland

Adds gstreamer 1.X good plugins.

---
 package/multimedia/Config.in                       |    1 +
 package/multimedia/gst1-plugins-good/Config.in     |  213 +++++++++++
 .../gst1-plugins-good/gst1-plugins-good.mk         |  400 ++++++++++++++++++++
 3 files changed, 614 insertions(+)
 create mode 100644 package/multimedia/gst1-plugins-good/Config.in
 create mode 100644 package/multimedia/gst1-plugins-good/gst1-plugins-good.mk
package/multimedia/Config.in +1 -0
index e851187..725a7b2 100644
@@ -14,6 +14,7 @@ source "package/multimedia/gst-omapfb/Config.in"
 source "package/multimedia/gst-plugins-base/Config.in"
 source "package/multimedia/gst1-plugins-base/Config.in"
 source "package/multimedia/gst-plugins-good/Config.in"
+source "package/multimedia/gst1-plugins-good/Config.in"
 source "package/multimedia/gst-plugins-bad/Config.in"
 source "package/multimedia/gst-plugins-ugly/Config.in"
 source "package/multimedia/lame/Config.in"
package/multimedia/gst1-plugins-good/Config.in new file +213 -0

213 lines not on this page · raw message

package/multimedia/gst1-plugins-good/gst1-plugins-good.mk new file +400 -0

400 lines not on this page · raw message

Signature · 1 line
1.7.9.5
#11 lore raw

PATCH v3 4/7 gst1-plugins-bad: add gstreamer1 bad plugins

In reply to Spenser Gilliland

Adds gstreamer 1.X bad plugins

---
 package/multimedia/Config.in                       |    1 +
 package/multimedia/gst1-plugins-bad/Config.in      |  325 ++++++++++
 .../gst1-plugins-bad/gst1-plugins-bad.mk           |  654 ++++++++++++++++++++
 3 files changed, 980 insertions(+)
 create mode 100644 package/multimedia/gst1-plugins-bad/Config.in
 create mode 100644 package/multimedia/gst1-plugins-bad/gst1-plugins-bad.mk
package/multimedia/Config.in +1 -0
index 725a7b2..ecdef5c 100644
@@ -16,6 +16,7 @@ source "package/multimedia/gst1-plugins-base/Config.in"
 source "package/multimedia/gst-plugins-good/Config.in"
 source "package/multimedia/gst1-plugins-good/Config.in"
 source "package/multimedia/gst-plugins-bad/Config.in"
+source "package/multimedia/gst1-plugins-bad/Config.in"
 source "package/multimedia/gst-plugins-ugly/Config.in"
 source "package/multimedia/lame/Config.in"
 source "package/multimedia/madplay/Config.in"
package/multimedia/gst1-plugins-bad/Config.in new file +325 -0

325 lines not on this page · raw message

package/multimedia/gst1-plugins-bad/gst1-plugins-bad.mk new file +654 -0

654 lines not on this page · raw message

Signature · 1 line
1.7.9.5
#12 lore raw

PATCH v3 5/7 gst1-plugins-ugly: add gstreamer1 ugly plugins

In reply to Spenser Gilliland

Adds gstreamer 1.X ugly plugins

---
 package/multimedia/Config.in                       |    1 +
 package/multimedia/gst1-plugins-ugly/Config.in     |   49 +++++++++++
 .../gst1-plugins-ugly/gst1-plugins-ugly.mk         |   89 ++++++++++++++++++++
 3 files changed, 139 insertions(+)
 create mode 100644 package/multimedia/gst1-plugins-ugly/Config.in
 create mode 100644 package/multimedia/gst1-plugins-ugly/gst1-plugins-ugly.mk
package/multimedia/Config.in +1 -0
index ecdef5c..d0594b9 100644
@@ -18,6 +18,7 @@ source "package/multimedia/gst1-plugins-good/Config.in"
 source "package/multimedia/gst-plugins-bad/Config.in"
 source "package/multimedia/gst1-plugins-bad/Config.in"
 source "package/multimedia/gst-plugins-ugly/Config.in"
+source "package/multimedia/gst1-plugins-ugly/Config.in"
 source "package/multimedia/lame/Config.in"
 source "package/multimedia/madplay/Config.in"
 source "package/multimedia/mpd/Config.in"
package/multimedia/gst1-plugins-ugly/Config.in new file +49 -0

49 lines not on this page · raw message

package/multimedia/gst1-plugins-ugly/gst1-plugins-ugly.mk new file +89 -0

89 lines not on this page · raw message

Signature · 1 line
1.7.9.5
#13 lore raw

PATCH v3 6/7 libvpx: new package libvpx

In reply to Spenser Gilliland

adds webm multimedia support and the VP8 encoder/decoder library.

http://www.webmproject.org/

---
 package/multimedia/Config.in        |    1 +
 package/multimedia/libvpx/Config.in |    6 ++++
 package/multimedia/libvpx/libvpx.mk |   52 +++++++++++++++++++++++++++++++++++
 3 files changed, 59 insertions(+)
 create mode 100644 package/multimedia/libvpx/Config.in
 create mode 100644 package/multimedia/libvpx/libvpx.mk
package/multimedia/Config.in +1 -0
index d0594b9..a0927e9 100644
@@ -20,6 +20,7 @@ source "package/multimedia/gst1-plugins-bad/Config.in"
 source "package/multimedia/gst-plugins-ugly/Config.in"
 source "package/multimedia/gst1-plugins-ugly/Config.in"
 source "package/multimedia/lame/Config.in"
+source "package/multimedia/libvpx/Config.in"
 source "package/multimedia/madplay/Config.in"
 source "package/multimedia/mpd/Config.in"
 source "package/multimedia/mpg123/Config.in"
package/multimedia/libvpx/Config.in new file +6 -0
new file mode 100644
index 0000000..2327971
@@ -0,0 +1,6 @@
+config BR2_PACKAGE_LIBVPX
+	bool "libvpx"
+	help
+	  a high-quality, open video format that's freely available to everyone.
+
+	  http://webmproject.org
package/multimedia/libvpx/libvpx.mk new file +52 -0

52 lines not on this page · raw message

Signature · 1 line
1.7.9.5
#14 lore raw

PATCH v3 7/7 gst1-plugins-good: add libvpx support

In reply to Spenser Gilliland

adds libvpx support to gst1-plugins-good

---
 package/multimedia/gst1-plugins-good/Config.in     |    4 ++++
 .../gst1-plugins-good/gst1-plugins-good.mk         |   10 ++++++++--
 2 files changed, 12 insertions(+), 2 deletions(-)
package/multimedia/gst1-plugins-good/Config.in +4 -0
index c339a45..7653ec4 100644
@@ -206,6 +206,10 @@ config BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_SPEEX
 	bool "speex"
 	select BR2_PACKAGE_SPEEX
 
+config BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_VPX
+	bool "vpx (webm)"
+	select BR2_PACKAGE_LIBVPX
+
 config BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_WAVPACK
 	bool "wavpack (*.wv audio)"
 	select BR2_PACKAGE_WAVPACK
package/multimedia/gst1-plugins-good/gst1-plugins-good.mk +8 -2
index 15e3b0e..297bb5e 100644
@@ -27,8 +27,7 @@ GST1_PLUGINS_GOOD_CONF_OPT += \
 		--disable-jack \
 		--disable-libdv \
 		--disable-dv1394 \
-		--disable-taglib \
-		--disable-vpx
+		--disable-taglib
 
 GST1_PLUGINS_GOOD_DEPENDENCIES = gstreamer1 gst1-plugins-base
 
@@ -390,6 +389,13 @@ else
 GST1_PLUGINS_GOOD_CONF_OPT += --disable-speex
 endif
 
+ifeq ($(BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_VPX),y)
+GST1_PLUGINS_GOOD_CONF_OPT += --enable-vpx
+GST1_PLUGINS_GOOD_DEPENDENCIES += libvpx
+else
+GST1_PLUGINS_GOOD_CONF_OPT += --disable-vpx
+endif
+
 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_WAVPACK),y)
 GST1_PLUGINS_GOOD_CONF_OPT += --enable-wavpack
 GST1_PLUGINS_GOOD_DEPENDENCIES += wavpack
Signature · 1 line
1.7.9.5