Skip to contentSkip to conversation

Adding yavta (Yet Another V4L2 Test Application) as a package

PATCH Superseded kpa_info at yahoo.fr 2 participants 3 messages Jan 10, 2013

v2 of 3 Superseded Latest is v3 →

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/2 Adding yavta (Yet Another V4L2 Test Application) as a package

From: Patrick Gerber <[email protected]>

---
 package/multimedia/Config.in       |    1 +
 package/multimedia/yavta/Config.in |    6 ++++++
 package/multimedia/yavta/yavta.mk  |   21 +++++++++++++++++++++
 3 files changed, 26 insertions(+)
 create mode 100644 package/multimedia/yavta/Config.in
 create mode 100644 package/multimedia/yavta/yavta.mk
package/multimedia/Config.in +1 -0
index 273d9bc..da558ca 100644
@@ -24,4 +24,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
package/multimedia/yavta/Config.in new file +6 -0
new file mode 100644
index 0000000..3cca5c1
@@ -0,0 +1,6 @@
+config BR2_PACKAGE_YAVTA
+	bool "yavta"
+	help
+	  Yet Another V4L2 Test Application
+
+     http://git.ideasonboard.org/yavta.git  
package/multimedia/yavta/yavta.mk new file +20 -0
new file mode 100644
index 0000000..1aa5574
@@ -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)) 
Signature · 1 line
1.7.9.5
#1 lore raw

PATCH v2 2/2 Adding media-ctl as a package

From: Patrick Gerber <[email protected]>

---
 package/Config.in              |    1 +
 package/media-ctl/Config.in    |    6 ++++++
 package/media-ctl/media-ctl.mk |   17 ++++++++++++++++++
 3 files changed, 23 insertions(+)
 create mode 100644 package/media-ctl/Config.in
 create mode 100644 package/media-ctl/media-ctl.mk
package/Config.in +1 -0
index bd1db6b..2f3b601 100644
@@ -245,6 +245,7 @@ source "package/lshw/Config.in"
 source "package/lsuio/Config.in"
 source "package/lvm2/Config.in"
 source "package/mdadm/Config.in"
+source "package/media-ctl/Config.in"
 source "package/memtester/Config.in"
 source "package/minicom/Config.in"
 source "package/nanocom/Config.in"
package/media-ctl/Config.in new file +6 -0
new file mode 100644
index 0000000..9fb888c
@@ -0,0 +1,6 @@
+config BR2_PACKAGE_MEDIA_CTL
+	bool "media-ctl"
+	help
+	  Media controller control application
+
+     http://git.ideasonboard.org/media-ctl.git 
package/media-ctl/media-ctl.mk new file +17 -0
new file mode 100644
index 0000000..3c35278
@@ -0,0 +1,17 @@
+#############################################################
+#
+# media-ctl
+#
+#############################################################
+
+MEDIA_CTL_VERSION = ac40b79f002a2315f909548614ccd2d408da25b7
+MEDIA_CTL_SITE = git://git.ideasonboard.org/media-ctl.git
+MEDIA_CTL_INSTALL_STAGING = YES
+MEDIA_CTL_LICENSE = LGPLv2.1+ 
+MEDIA_CTL_LICENSE_FILES = COPYING.LIB
+
+MEDIA_CTL_AUTORECONF = YES
+MEDIA_CTL_CONF_OPT = --with-kernel-headers=$(STAGING_DIR)/usr/include
+MEDIA_CTL_DEPENDENCIES = host-pkgconf
+
+$(eval $(autotools-package))
Signature · 1 line
1.7.9.5
#2 lore raw

PATCH v2 1/2 Adding yavta (Yet Another V4L2 Test Application) as a package

In reply to kpa_info at yahoo.fr

Dear kpa_info at yahoo.fr,

package/multimedia/yavta/Config.in line 6

Quoted 6 lines · kpa_info at yahoo.fr
package/multimedia/yavta/Config.in new file +6 -0
+config BR2_PACKAGE_YAVTA
+	bool "yavta"
+	help
+	  Yet Another V4L2 Test Application
+
+     http://git.ideasonboard.org/yavta.git  

The indentation is wrong for the URL, and it confuses menuconfig, which does not even start. Can you fix this indentation? I.e:

- http://git.ideasonboard.org/media-ctl.git
+ http://git.ideasonboard.org/media-ctl.git

Also, your URL line had trailing spaces.

Same problem on your media-ctl package.

Once this is fixed, for both packages:

Thanks!

Thomas

Signature · 4 lines
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com