aboutsummaryrefslogtreecommitdiff
path: root/package/libopenh264/Config.in
diff options
context:
space:
mode:
Diffstat (limited to 'package/libopenh264/Config.in')
-rw-r--r--package/libopenh264/Config.in22
1 files changed, 22 insertions, 0 deletions
diff --git a/package/libopenh264/Config.in b/package/libopenh264/Config.in
new file mode 100644
index 0000000000..2b77578a83
--- /dev/null
+++ b/package/libopenh264/Config.in
@@ -0,0 +1,22 @@
+config BR2_PACKAGE_LIBOPENH264_ARCH_SUPPORTS
+ bool
+ default y if BR2_arm || BR2_armeb || BR2_aarch64 || BR2_i386 || \
+ BR2_mips || BR2_mipsel || BR2_mips64 || BR2_mips64el || \
+ BR2_x86_64
+
+config BR2_PACKAGE_LIBOPENH264
+ bool "libopenh264"
+ depends on BR2_INSTALL_LIBSTDCPP
+ depends on !BR2_STATIC_LIBS
+ depends on BR2_TOOLCHAIN_HAS_THREADS
+ depends on BR2_PACKAGE_LIBOPENH264_ARCH_SUPPORTS
+ help
+ OpenH264 is a codec library which supports H.264 encoding and
+ decoding.
+
+ http://www.openh264.org
+
+comment "libopenh264 needs a toolchain w/ C++, dynamic library, threads"
+ depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS || \
+ BR2_STATIC_LIBS
+ depends on BR2_PACKAGE_LIBOPENH264_ARCH_SUPPORTS