Patchwork [v4,1/2] Yavta: new package

login
register
mail settings
Submitter kpa_info@yahoo.fr
Date Jan. 22, 2013, 10:09 a.m.
Message ID <1358849373-20243-1-git-send-email-kpa_info@yahoo.fr>
Download mbox | patch
Permalink /patch/214488/
State Accepted
Headers show

Comments

kpa_info@yahoo.fr - Jan. 22, 2013, 10:09 a.m.
Signed-off-by: Patrick Gerber <kpa_info@yahoo.fr>
---
 package/multimedia/Config.in       |    1 +
 package/multimedia/yavta/Config.in |    6 ++++++
 package/multimedia/yavta/yavta.mk  |   20 ++++++++++++++++++++
 3 files changed, 27 insertions(+)
 create mode 100644 package/multimedia/yavta/Config.in
 create mode 100644 package/multimedia/yavta/yavta.mk
Peter Korsgaard - Jan. 22, 2013, 8:37 p.m.
>>>>> "Patrick" == Patrick Gerber <kpa_info@yahoo.fr> writes:

 Patrick> Signed-off-by: Patrick Gerber <kpa_info@yahoo.fr>
 Patrick> ---
 Patrick>  package/multimedia/Config.in       |    1 +
 Patrick>  package/multimedia/yavta/Config.in |    6 ++++++
 Patrick>  package/multimedia/yavta/yavta.mk  |   20 ++++++++++++++++++++
 Patrick>  3 files changed, 27 insertions(+)
 Patrick>  create mode 100644 package/multimedia/yavta/Config.in
 Patrick>  create mode 100644 package/multimedia/yavta/yavta.mk

 Patrick> diff --git a/package/multimedia/Config.in b/package/multimedia/Config.in
 Patrick> index e50eda9..5b2d1ad 100644
 Patrick> --- a/package/multimedia/Config.in
 Patrick> +++ b/package/multimedia/Config.in
 Patrick> @@ -25,4 +25,5 @@ source "package/multimedia/pulseaudio/Config.in"
 Patrick>  source "package/multimedia/tidsp-binaries/Config.in"
 Patrick>  source "package/multimedia/vorbis-tools/Config.in"
 Patrick>  source "package/multimedia/wavpack/Config.in"
 Patrick> +source "package/multimedia/yavta/Config.in"

Long term I would like to get rid of the multimedia subdir, so I took
the liberty to move it up to package.

 Patrick> +++ b/package/multimedia/yavta/yavta.mk
 Patrick> @@ -0,0 +1,20 @@
 Patrick> +#############################################################
 Patrick> +#
 Patrick> +# yavta
 Patrick> +#
 Patrick> +#############################################################
 Patrick> +
 Patrick> +YAVTA_VERSION = 82ff2efdb9787737b9f21b6f4759f077c827b238
 Patrick> +YAVTA_SITE = git://git.ideasonboard.org/yavta.git
 Patrick> +YAVTA_LICENSE = GPLv2

License is GPLv2+ according to the header in yavta.c, so I've changed
that.

Committed with these changes, thanks.

Patch

diff --git a/package/multimedia/Config.in b/package/multimedia/Config.in
index e50eda9..5b2d1ad 100644
--- a/package/multimedia/Config.in
+++ b/package/multimedia/Config.in
@@ -25,4 +25,5 @@  source "package/multimedia/pulseaudio/Config.in"
 source "package/multimedia/tidsp-binaries/Config.in"
 source "package/multimedia/vorbis-tools/Config.in"
 source "package/multimedia/wavpack/Config.in"
+source "package/multimedia/yavta/Config.in"
 endmenu
diff --git a/package/multimedia/yavta/Config.in b/package/multimedia/yavta/Config.in
new file mode 100644
index 0000000..6a42a94
--- /dev/null
+++ b/package/multimedia/yavta/Config.in
@@ -0,0 +1,6 @@ 
+config BR2_PACKAGE_YAVTA
+	bool "yavta"
+	help
+	  Yet Another V4L2 Test Application
+
+	  http://git.ideasonboard.org/yavta.git
diff --git a/package/multimedia/yavta/yavta.mk b/package/multimedia/yavta/yavta.mk
new file mode 100644
index 0000000..0778217
--- /dev/null
+++ b/package/multimedia/yavta/yavta.mk
@@ -0,0 +1,20 @@ 
+#############################################################
+#
+# yavta
+#
+#############################################################
+
+YAVTA_VERSION = 82ff2efdb9787737b9f21b6f4759f077c827b238
+YAVTA_SITE = git://git.ideasonboard.org/yavta.git
+YAVTA_LICENSE = GPLv2
+YAVTA_LICENSE_FILES = COPYING.GPL
+
+define YAVTA_BUILD_CMDS
+	$(MAKE) $(TARGET_CONFIGURE_OPTS) -C $(@D)
+endef
+
+define YAVTA_INSTALL_TARGET_CMDS
+	$(INSTALL) -m 0755 -D $(@D)/yavta $(TARGET_DIR)/usr/bin/yavta
+endef
+
+$(eval $(generic-package))