2
1
Эх сурвалжийг харах

package/gstreamer1/gst1-plugins-good: add twolame plugin

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>
Adam Duskett 6 жил өмнө
parent
commit
3e11760c82

+ 6 - 0
package/gstreamer1/gst1-plugins-good/Config.in

@@ -389,6 +389,12 @@ config BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_TAGLIB
 comment "taglib needs a toolchain w/ C++, wchar"
 comment "taglib needs a toolchain w/ C++, wchar"
 	depends on !BR2_INSTALL_LIBSTDCPP || !BR2_USE_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
 config BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_VPX
 	bool "vpx (webm)"
 	bool "vpx (webm)"
 	depends on BR2_TOOLCHAIN_HAS_THREADS # libvpx
 	depends on BR2_TOOLCHAIN_HAS_THREADS # libvpx

+ 7 - 0
package/gstreamer1/gst1-plugins-good/gst1-plugins-good.mk

@@ -429,6 +429,13 @@ else
 GST1_PLUGINS_GOOD_CONF_OPTS += --disable-taglib
 GST1_PLUGINS_GOOD_CONF_OPTS += --disable-taglib
 endif
 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)
 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_VPX),y)
 GST1_PLUGINS_GOOD_CONF_OPTS += --enable-vpx
 GST1_PLUGINS_GOOD_CONF_OPTS += --enable-vpx
 GST1_PLUGINS_GOOD_DEPENDENCIES += libvpx
 GST1_PLUGINS_GOOD_DEPENDENCIES += libvpx