diff options
author | Jesse Gilles <jgilles@multitech.com> | 2011-08-18 14:25:47 -0500 |
---|---|---|
committer | Jesse Gilles <jgilles@multitech.com> | 2011-08-18 14:25:47 -0500 |
commit | 4460fa015b296d1381bca689c16b0b3031d6a3eb (patch) | |
tree | bde1f586f44b5a279bd39699e4303894487eceb8 /multitech | |
parent | 5331a6b4866148dc3176178d42e8004168f4d477 (diff) |
add uvccapture utility
Diffstat (limited to 'multitech')
-rw-r--r-- | multitech/recipes/uvccapture/files/makefile.patch | 29 | ||||
-rw-r--r-- | multitech/recipes/uvccapture/uvccapture_0.5.bb | 12 |
2 files changed, 41 insertions, 0 deletions
diff --git a/multitech/recipes/uvccapture/files/makefile.patch b/multitech/recipes/uvccapture/files/makefile.patch new file mode 100644 index 0000000..4733154 --- /dev/null +++ b/multitech/recipes/uvccapture/files/makefile.patch @@ -0,0 +1,29 @@ +Index: uvccapture-0.5/Makefile +=================================================================== +--- uvccapture-0.5.orig/Makefile 2011-08-18 14:02:17.757628553 -0500 ++++ uvccapture-0.5/Makefile 2011-08-18 14:10:09.627899608 -0500 +@@ -1,8 +1,8 @@ +-CC=gcc +-CPP=g++ ++#CC=gcc ++#CPP=g++ + APP_BINARY=uvccapture +-VERSION = 0.4 +-PREFIX=/usr/local/bin ++VERSION = 0.5 ++PREFIX=/usr/bin + + WARNINGS = -Wall + +@@ -20,8 +20,9 @@ + rm -f *.a *.o $(APP_BINARY) core *~ log errlog + + install: +- install $(APP_BINARY) $(PREFIX) ++ install -d $(DESTDIR)$(PREFIX) ++ install -m755 $(APP_BINARY) $(DESTDIR)$(PREFIX) + + # Applications: + uvccapture: $(OBJECTS) +- $(CC) $(OBJECTS) $(XPM_LIB) $(MATH_LIB) -ljpeg -o $(APP_BINARY) ++ $(CC) $(OBJECTS) $(XPM_LIB) $(MATH_LIB) -ljpeg $(LDFLAGS) -o $(APP_BINARY) diff --git a/multitech/recipes/uvccapture/uvccapture_0.5.bb b/multitech/recipes/uvccapture/uvccapture_0.5.bb new file mode 100644 index 0000000..184721f --- /dev/null +++ b/multitech/recipes/uvccapture/uvccapture_0.5.bb @@ -0,0 +1,12 @@ +DESCRIPTION = "Command-line tool to capture webcam images" +DEPENDS = "jpeg virtual/kernel" +PR = "r0" + +inherit autotools + +SRC_URI = "http://staticwave.ca/source/uvccapture/${PN}-${PV}.tar.bz2 \ + file://makefile.patch \ + " + +SRC_URI[md5sum] = "2ac901069a35b8954c11b11f6e036989" +SRC_URI[sha256sum] = "b7c262d2428f23a4c64feddd2c37c43fb39ce4c92a5a6ae0dddf28e3adc5b60e" |