From a55c96741eb4530e29c5aa8aed70a80d4ab2084a Mon Sep 17 00:00:00 2001 From: Florian Boor Date: Sat, 18 Oct 2008 01:22:56 +0200 Subject: unicap 0.9.3: video data api framework --- packages/unicap/unicap-0.9.3/pkgconfig.patch | 9 +++++++++ packages/unicap/unicap_0.9.3.bb | 22 ++++++++++++++++++++++ 2 files changed, 31 insertions(+) create mode 100644 packages/unicap/unicap-0.9.3/pkgconfig.patch create mode 100644 packages/unicap/unicap_0.9.3.bb (limited to 'packages') diff --git a/packages/unicap/unicap-0.9.3/pkgconfig.patch b/packages/unicap/unicap-0.9.3/pkgconfig.patch new file mode 100644 index 0000000000..ce5ac2085f --- /dev/null +++ b/packages/unicap/unicap-0.9.3/pkgconfig.patch @@ -0,0 +1,9 @@ +--- unicap-0.9.3/libucil/libucil.pc.in~ 2008-10-17 21:40:01.000000000 +0200 ++++ unicap-0.9.3/libucil/libucil.pc.in 2008-10-17 21:40:01.000000000 +0200 +@@ -5,5 +5,5 @@ + Description: Unicap Imaging Library is a set of simple image processing functions + Version: @dist_version@ + Libs: -L@libdir@ -lucil @GLIB_PACKAGE_LIBS@ @PANGO_PACKAGE_LIBS@ @AVCODEC_PACKAGE_LIBS@ @THEORA_PACKAGE_LIBS@ @PNG_PACKAGE_LIBS@ -lm +-Cflags: -I@includedir@/unicap @GLIB_PACKAGE_CFLAGS@ @PANGO_PACKAGE_CFLAGS@ @AVCODEC_PACKAGE_CFLAGS@ @THEORA_PACKAGE_CFLAGS@ @PNG_PACKAGE_CFLAGS@ ++Cflags: -I@includedir@/unicap + Requires: libunicap pangoft2 glib-2.0 diff --git a/packages/unicap/unicap_0.9.3.bb b/packages/unicap/unicap_0.9.3.bb new file mode 100644 index 0000000000..c527c80819 --- /dev/null +++ b/packages/unicap/unicap_0.9.3.bb @@ -0,0 +1,22 @@ +DESCRIPTION = "A uniform interface to video capture devices." +SECTION = "graphics" +LICENSE = "GPL" +DEPENDS = "intltool-native gtk+ libpng libxv" +PR = "r0" + +SRC_URI = "http://www.unicap-imaging.org/downloads/unicap-${PV}.tar.gz \ + file://pkgconfig.patch;patch=1" + +inherit autotools pkgconfig + +do_stage () { + autotools_stage_all +} + +PACKAGES += "libucil libunicapgtk" + +FILES_${PN} = "${libdir}/libunicap.*so.* ${libdir}/unicap2/cpi/lib*.*so.*" +FILES_${PN}-dev += " ${libdir}/unicap2/cpi/lib*.*so ${libdir}/unicap2/cpi/lib*.*a" +FILES_${PN}-dbg += " ${libdir}/unicap2/cpi/.debug" +FILES_libucil = "${libdir}/libucil*so.*" +FILES_libunicapgtk = "${libdir}/libunicapgtk*so.*" -- cgit v1.2.3