From: Michael Tretter <m.tretter@pengutronix.de>
To: ptxdist@pengutronix.de
Cc: Michael Tretter <m.tretter@pengutronix.de>
Subject: [ptxdist] [PATCH] uvc-gadget: add new package
Date: Fri, 5 Apr 2019 12:35:26 +0200 [thread overview]
Message-ID: <20190405103526.30210-1-m.tretter@pengutronix.de> (raw)
The uvc-gadget application is a test application for streaming video
data from a v4l2 capture device to a UVC gadget device that has been
configured in the ConfigFS.
Signed-off-by: Michael Tretter <m.tretter@pengutronix.de>
---
rules/uvc-gadget.in | 8 +++++++
rules/uvc-gadget.make | 55 +++++++++++++++++++++++++++++++++++++++++++
2 files changed, 63 insertions(+)
create mode 100644 rules/uvc-gadget.in
create mode 100644 rules/uvc-gadget.make
diff --git a/rules/uvc-gadget.in b/rules/uvc-gadget.in
new file mode 100644
index 000000000..9a69e40e5
--- /dev/null
+++ b/rules/uvc-gadget.in
@@ -0,0 +1,8 @@
+## SECTION=multimedia_tools
+
+config UVC_GADGET
+ tristate
+ select HOST_CMAKE
+ prompt "uvc-gadget"
+ help
+ UVC gadget userspace sample application
diff --git a/rules/uvc-gadget.make b/rules/uvc-gadget.make
new file mode 100644
index 000000000..900a6388b
--- /dev/null
+++ b/rules/uvc-gadget.make
@@ -0,0 +1,55 @@
+# -*-makefile-*-
+#
+# Copyright (C) 2019 by Michael Tretter <m.tretter@pengutronix.de>
+#
+# See CREDITS for details about who has contributed to this project.
+#
+# For further information about the PTXdist project and license conditions
+# see the README file.
+#
+
+#
+# We provide this package
+#
+PACKAGES-$(PTXCONF_UVC_GADGET) += uvc-gadget
+
+#
+# Paths and names
+#
+UVC_GADGET_VERSION := 2019-02-13-g58f5ddeb
+UVC_GADGET_MD5 := aabd91acafd035a85c2151b67e1491ca
+UVC_GADGET := uvc-gadget-$(UVC_GADGET_VERSION)
+UVC_GADGET_SUFFIX := tar.xz
+UVC_GADGET_URL := git://git.ideasonboard.org/uvc-gadget.git;tag=$(UVC_GADGET_VERSION)
+UVC_GADGET_SOURCE := $(SRCDIR)/$(UVC_GADGET).$(UVC_GADGET_SUFFIX)
+UVC_GADGET_DIR := $(BUILDDIR)/$(UVC_GADGET)
+UVC_GADGET_LICENSE := GPL-2.0-or-later AND LGPL-2.1-or-later AND MIT
+
+# ----------------------------------------------------------------------------
+# Prepare
+# ----------------------------------------------------------------------------
+
+UVC_GADGET_CONF_TOOL := cmake
+UVC_GADGET_CONF_OPT := \
+ $(CROSS_CMAKE_USR)
+
+# ----------------------------------------------------------------------------
+# Target-Install
+# ----------------------------------------------------------------------------
+
+$(STATEDIR)/uvc-gadget.targetinstall:
+ @$(call targetinfo)
+
+ @$(call install_init, uvc-gadget)
+ @$(call install_fixup, uvc-gadget,PRIORITY,optional)
+ @$(call install_fixup, uvc-gadget,SECTION,base)
+ @$(call install_fixup, uvc-gadget,AUTHOR,"Michael Tretter <m.tretter@pengutronix.de>")
+ @$(call install_fixup, uvc-gadget,DESCRIPTION,missing)
+
+ @$(call install_copy, uvc-gadget, 0, 0, 0755, -, /usr/bin/uvc-gadget)
+
+ @$(call install_finish, uvc-gadget)
+
+ @$(call touch)
+
+# vim: syntax=make
--
2.20.1
_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de
reply other threads:[~2019-04-05 10:35 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20190405103526.30210-1-m.tretter@pengutronix.de \
--to=m.tretter@pengutronix.de \
--cc=ptxdist@pengutronix.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox