summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCliff Brake <cbrake@bec-systems.com>2013-10-15 22:43:26 +0000
committerMartin Jansa <Martin.Jansa@gmail.com>2013-10-17 21:36:59 +0200
commitc4ac7a6595ca2875dca4b7f6bc79fd636e902d56 (patch)
treeee155316a7a6e6266d3add8dcd92250d1ec7f466
parent309eb8a5ff0e7ecbeaf191a9dc906b618d40dd94 (diff)
downloadmeta-openembedded-c4ac7a6595ca2875dca4b7f6bc79fd636e902d56.tar.gz
libdc1394: add recipe
Initial recipe created by Khem Raj Signed-off-by: Cliff Brake <cbrake@bec-systems.com> Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
-rwxr-xr-xmeta-multimedia/recipes-multimedia/libdc1394/files/install_examples.patch14
-rwxr-xr-xmeta-multimedia/recipes-multimedia/libdc1394/libdc1394_git.bb20
2 files changed, 34 insertions, 0 deletions
diff --git a/meta-multimedia/recipes-multimedia/libdc1394/files/install_examples.patch b/meta-multimedia/recipes-multimedia/libdc1394/files/install_examples.patch
new file mode 100755
index 000000000..89133adec
--- /dev/null
+++ b/meta-multimedia/recipes-multimedia/libdc1394/files/install_examples.patch
@@ -0,0 +1,14 @@
1Index: libdc1394/examples/Makefile.am
2===================================================================
3--- libdc1394.orig/examples/Makefile.am 2012-06-30 17:50:46.000000000 -0700
4+++ libdc1394/examples/Makefile.am 2012-06-30 19:02:13.822646430 -0700
5@@ -36,8 +36,7 @@
6 AM_LDFLAGS = -framework CoreFoundation -framework Carbon
7 endif
8
9-noinst_PROGRAMS = $(A)
10-bin_PROGRAMS = $(B)
11+bin_PROGRAMS = $(A) $(B)
12
13 LDADD = ../dc1394/libdc1394.la
14
diff --git a/meta-multimedia/recipes-multimedia/libdc1394/libdc1394_git.bb b/meta-multimedia/recipes-multimedia/libdc1394/libdc1394_git.bb
new file mode 100755
index 000000000..87a12bdbc
--- /dev/null
+++ b/meta-multimedia/recipes-multimedia/libdc1394/libdc1394_git.bb
@@ -0,0 +1,20 @@
1DESCRIPTION = "Capture and control API for IIDC compliant cameras"
2HOMEPAGE = "http://sourceforge.net/projects/libdc1394/"
3SECTION = "libs"
4LICENSE = "LGPL-2.0"
5LIC_FILES_CHKSUM = "file://COPYING;md5=c848e78d9a4a5cc69906178e4d6fbd64"
6DEPENDS += "libxv virtual/libsdl virtual/libx11 libusb1 libraw1394"
7
8PV = "2.2.1+gitr${SRCPV}"
9
10SRCREV = "b90342933b4b48634b98b73805f47bd25ed5857e"
11
12SRC_URI = "git://git.code.sf.net/p/libdc1394/code;branch=master;protocol=git \
13 file://install_examples.patch \
14 "
15
16S = "${WORKDIR}/git/${PN}"
17
18inherit autotools pkgconfig sdl
19
20EXTRA_OECONF += "--disable-doxygen-doc"