gst1-plugins-bad: add x265 plugin
authorThijs Vermeir <thijsvermeir@gmail.com>
Sat, 24 Oct 2015 19:50:29 +0000 (21:50 +0200)
committerPeter Korsgaard <peter@korsgaard.com>
Sun, 25 Oct 2015 21:30:34 +0000 (22:30 +0100)
Signed-off-by: Thijs Vermeir <thijsvermeir@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/gstreamer1/gst1-plugins-bad/Config.in
package/gstreamer1/gst1-plugins-bad/gst1-plugins-bad.mk

index a28243b8f320c904dc4055331c0fb1e11eb9272b..26a963eb1311fa018b0f1910973fd59fbb3b74f9 100644 (file)
@@ -635,7 +635,12 @@ config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_HLS
 
 config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_X265
        bool "x265"
+       depends on BR2_INSTALL_LIBSTDCPP
+       select BR2_PACKAGE_X265
        help
-         x265 plugin
+         x265 encoding plugin
+
+comment "x265 needs a toolchain w/ C++"
+       depends on !BR2_INSTALL_LIBSTDCPP
 
 endif
index fe5f2427cf52f7b8128b1cef06cb228ff18d7566..1c42a60e34d2ea00dd9a0a94e688db783317ec6c 100644 (file)
@@ -760,6 +760,8 @@ endif
 
 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_X265),y)
 GST1_PLUGINS_BAD_CONF_OPTS += --enable-x265
+GST1_PLUGINS_BAD_DEPENDENCIES += x265
+GST1_PLUGINS_BAD_HAS_GPL_LICENSE = y
 else
 GST1_PLUGINS_BAD_CONF_OPTS += --disable-x265
 endif