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>
This commit is contained in:
Cliff Brake 2013-10-15 22:43:26 +00:00 committed by Martin Jansa
parent cd8755253e
commit 01019bf50f
2 changed files with 34 additions and 0 deletions

View File

@ -0,0 +1,14 @@
Index: libdc1394/examples/Makefile.am
===================================================================
--- libdc1394.orig/examples/Makefile.am 2012-06-30 17:50:46.000000000 -0700
+++ libdc1394/examples/Makefile.am 2012-06-30 19:02:13.822646430 -0700
@@ -36,8 +36,7 @@
AM_LDFLAGS = -framework CoreFoundation -framework Carbon
endif
-noinst_PROGRAMS = $(A)
-bin_PROGRAMS = $(B)
+bin_PROGRAMS = $(A) $(B)
LDADD = ../dc1394/libdc1394.la

View File

@ -0,0 +1,20 @@
DESCRIPTION = "Capture and control API for IIDC compliant cameras"
HOMEPAGE = "http://sourceforge.net/projects/libdc1394/"
SECTION = "libs"
LICENSE = "LGPL-2.0"
LIC_FILES_CHKSUM = "file://COPYING;md5=c848e78d9a4a5cc69906178e4d6fbd64"
DEPENDS += "libxv virtual/libsdl virtual/libx11 libusb1 libraw1394"
PV = "2.2.1+gitr${SRCPV}"
SRCREV = "b90342933b4b48634b98b73805f47bd25ed5857e"
SRC_URI = "git://git.code.sf.net/p/libdc1394/code;branch=master;protocol=git \
file://install_examples.patch \
"
S = "${WORKDIR}/git/${PN}"
inherit autotools pkgconfig sdl
EXTRA_OECONF += "--disable-doxygen-doc"