[Buildroot] [PATCH v2 1/1] gst1-vaapi: new package
Jesper Bækdahl
jbb at gamblify.com
Fri Dec 16 14:03:36 UTC 2016
Signed-off-by: Jesper Bækdahl <jbb at gamblify.com>
---
Changes v1 -> v2:
- fix incorrect references to libva and libdrm
- add dependency of threads and dynamic libraries
- fix license information
Signed-off-by: Jesper Bækdahl <jbb at gamblify.com>
---
package/gstreamer1/Config.in | 1 +
package/gstreamer1/gst1-vaapi/Config.in | 16 ++++++++++++++++
package/gstreamer1/gst1-vaapi/gst1-vaapi.hash | 2 ++
package/gstreamer1/gst1-vaapi/gst1-vaapi.mk | 14 ++++++++++++++
4 files changed, 33 insertions(+)
create mode 100644 package/gstreamer1/gst1-vaapi/Config.in
create mode 100644 package/gstreamer1/gst1-vaapi/gst1-vaapi.hash
create mode 100644 package/gstreamer1/gst1-vaapi/gst1-vaapi.mk
diff --git a/package/gstreamer1/Config.in b/package/gstreamer1/Config.in
index 23862bd..0297851 100644
--- a/package/gstreamer1/Config.in
+++ b/package/gstreamer1/Config.in
@@ -9,6 +9,7 @@ source "package/gstreamer1/gst1-plugins-ugly/Config.in"
source "package/gstreamer1/gst1-imx/Config.in"
source "package/gstreamer1/gst1-libav/Config.in"
source "package/gstreamer1/gst1-rtsp-server/Config.in"
+source "package/gstreamer1/gst1-vaapi/Config.in"
source "package/gstreamer1/gst1-validate/Config.in"
source "package/gstreamer1/gst-omx/Config.in"
endif
diff --git a/package/gstreamer1/gst1-vaapi/Config.in b/package/gstreamer1/gst1-vaapi/Config.in
new file mode 100644
index 0000000..fe60f3c
--- /dev/null
+++ b/package/gstreamer1/gst1-vaapi/Config.in
@@ -0,0 +1,16 @@
+config BR2_PACKAGE_GST1_VAAPI
+ bool "gst1-vaapi"
+ select BR2_PACKAGE_GST1_PLUGINS_BASE
+ select BR2_PACKAGE_GST1_PLUGINS_BAD
+ select BR2_PACKAGE_LIBVA
+ select BR2_PACKAGE_LIBDRM
+ depends on BR2_TOOLCHAIN_HAS_THREADS
+ depends on !BR2_STATIC_LIBS
+ help
+ gstreamer-vaapi consists in a collection of VA-API based plugins for
+ GStreamer and helper libraries.
+
+ http://gstreamer.freedesktop.org/
+
+comment "gst1-vaapi needs a toolchain w/ threads, dynamic library"
+ depends on !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS
diff --git a/package/gstreamer1/gst1-vaapi/gst1-vaapi.hash b/package/gstreamer1/gst1-vaapi/gst1-vaapi.hash
new file mode 100644
index 0000000..21032ca
--- /dev/null
+++ b/package/gstreamer1/gst1-vaapi/gst1-vaapi.hash
@@ -0,0 +1,2 @@
+# From https://gstreamer.freedesktop.org/src/gstreamer-vaapi/gstreamer-vaapi-1.10.2.tar.xz.sha256sum
+sha256 9e31d2b85b2f30caa6b0cc1c6be10b96e1376668f13faa6a0f577d3693547fa9 gstreamer-vaapi-1.10.2.tar.xz
diff --git a/package/gstreamer1/gst1-vaapi/gst1-vaapi.mk b/package/gstreamer1/gst1-vaapi/gst1-vaapi.mk
new file mode 100644
index 0000000..3dc4570
--- /dev/null
+++ b/package/gstreamer1/gst1-vaapi/gst1-vaapi.mk
@@ -0,0 +1,14 @@
+################################################################################
+#
+# gst1-vaapi
+#
+################################################################################
+
+GST1_VAAPI_VERSION = 1.10.2
+GST1_VAAPI_SOURCE = gstreamer-vaapi-$(GST1_VAAPI_VERSION).tar.xz
+GST1_VAAPI_SITE = https://gstreamer.freedesktop.org/src/gstreamer-vaapi
+GST1_VAAPI_DEPENDENCIES = gstreamer1 gst1-plugins-base gst1-plugins-bad libva libdrm
+GST1_VAAPI_LICENSE = LGPLv2.1+
+GST1_VAAPI_LICENSE_FILES = COPYING.LIB
+
+$(eval $(autotools-package))
--
2.7.4
More information about the buildroot
mailing list