summaryrefslogtreecommitdiff
path: root/packages
diff options
context:
space:
mode:
authorFlorian Boor <florian.boor@kernelconcepts.de>2008-10-18 01:22:56 +0200
committerFlorian Boor <florian.boor@kernelconcepts.de>2008-10-18 01:22:56 +0200
commita55c96741eb4530e29c5aa8aed70a80d4ab2084a (patch)
tree55ab47620287e402566c5b299ce25d2293d17701 /packages
parent4c1483de8f519fe4af8b623ad091a0c447e7bfef (diff)
unicap 0.9.3: video data api framework
Diffstat (limited to 'packages')
-rw-r--r--packages/unicap/unicap-0.9.3/pkgconfig.patch9
-rw-r--r--packages/unicap/unicap_0.9.3.bb22
2 files changed, 31 insertions, 0 deletions
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.*"