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