Home | History | Annotate | Download | only in yocto
      1 SUMMARY = "Libxcam"
      2 DESCRIPTION = "Libxcam: Extended camera features and cross platform computer vision project"
      3 HOMEPAGE = "https://github.com/01org/libxcam/wiki"
      4 LICENSE = "Apache-2.0"
      5 
      6 PR = "r0"
      7 S = "${WORKDIR}/git"
      8 
      9 LIC_FILES_CHKSUM = "file://${S}/LICENSE;md5=a739187a9544e0731270d11a8f5be792"
     10 
     11 SRC_URI = "git://github.com/01org/libxcam.git;branch=master"
     12 SRCREV = "${AUTOREV}"
     13 
     14 DEPENDS = "glib-2.0 libdrm beignet opencv gstreamer1.0 gstreamer1.0-plugins-base"
     15 
     16 inherit autotools pkgconfig
     17 
     18 EXTRA_OECONF = "--enable-gst --enable-drm --enable-libcl --enable-smartlib --enable-opencv"
     19 
     20 CFLAGS += "-fPIE -fPIC"
     21 CFLAGS += "-O2 -D_FORTIFY_SOURCE=2"
     22 CFLAGS += "-Wformat -Wformat-security"
     23 CFLAGS += "-fstack-protector"
     24 
     25 LDFLAGS += "-z noexecstack"
     26 LDFLAGS += "-z relro -z now"
     27 
     28 PACKAGES += "${PN}-test"
     29 
     30 FILES_${PN} += "${libdir}/libxcam_core.so.*"
     31 FILES_${PN} += "${libdir}/libxcam_ocl.so.*"
     32 FILES_${PN} += "${libdir}/gstreamer-1.0/libgstxcamfilter.*"
     33 
     34 FILES_${PN}-dev += "${includedir}/xcam/*"
     35 FILES_${PN}-dev += "${libdir}/pkgconfig/libxcam.pc"
     36 FILES_${PN}-dev += "${libdir}/libxcam_core.so"
     37 FILES_${PN}-dev += "${libdir}/libxcam_core.la"
     38 FILES_${PN}-dev += "${libdir}/libxcam_core.a"
     39 FILES_${PN}-dev += "${libdir}/libxcam_ocl.so"
     40 FILES_${PN}-dev += "${libdir}/libxcam_ocl.la"
     41 
     42 FILES_${PN}-test = "${bindir}/test-*"
     43 
     44 FILES_${PN}-dbg += "${libdir}/gstreamer-1.0/.debug/*"
     45 FILES_${PN}-dbg += "${libdir}/.debug/"
     46 FILES_${PN}-dbg += "${bindir}/.debug/"
     47 
     48