package/gstreamer1/gst1-plugins-good: add twolame plugin
authorAdam Duskett <Aduskett@gmail.com>
Thu, 9 May 2019 22:46:19 +0000 (18:46 -0400)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Sun, 26 May 2019 19:06:11 +0000 (21:06 +0200)
This plugin was introduced in 1.16.0. It depends on the twolame
package and allows a user to encode MP2s with TwoLAME.

Signed-off-by: Adam Duskett <Aduskett@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
package/gstreamer1/gst1-plugins-good/Config.in
package/gstreamer1/gst1-plugins-good/gst1-plugins-good.mk

index 30a4876ee7843b989e10b7344afb6d773ea3ca85..3af05ba6b486937ee223c725554f53c7c6464d9a 100644 (file)
@@ -389,6 +389,12 @@ config BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_TAGLIB
 comment "taglib needs a toolchain w/ C++, wchar"
        depends on !BR2_INSTALL_LIBSTDCPP || !BR2_USE_WCHAR
 
+config BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_TWOLAME
+       bool "twolame"
+       select BR2_PACKAGE_TWOLAME
+       help
+         twolame mp2 audio encoder plugin
+
 config BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_VPX
        bool "vpx (webm)"
        depends on BR2_TOOLCHAIN_HAS_THREADS # libvpx
index 4ef128229af881f414742d3d568216de5cfec5a2..462d5e1307e76608f17eb62c0e1576dc013aa86f 100644 (file)
@@ -429,6 +429,13 @@ else
 GST1_PLUGINS_GOOD_CONF_OPTS += --disable-taglib
 endif
 
+ifeq ($(BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_TWOLAME),y)
+GST1_PLUGINS_GOOD_CONF_OPTS += --enable-twolame
+GST1_PLUGINS_GOOD_DEPENDENCIES += twolame
+else
+GST1_PLUGINS_GOOD_CONF_OPTS += --disable-twolame
+endif
+
 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_VPX),y)
 GST1_PLUGINS_GOOD_CONF_OPTS += --enable-vpx
 GST1_PLUGINS_GOOD_DEPENDENCIES += libvpx