Commit 95b32d71 authored by Prabhu Sundararaj's avatar Prabhu Sundararaj Committed by Otavio Salvador

gpu-viv-bin-mx6q: Add pc file for openvg

Change-Id: Id9acfc1fd5a9d2754d94495716be7e6bde88b4eb
Signed-off-by: default avatarPrabhu Sundararaj <prabhu.sundararaj@freescale.com>
parent 14ce56bf
......@@ -7,7 +7,7 @@ SECTION = "libs"
LICENSE = "Proprietary"
LIC_FILES_CHKSUM = "file://usr/include/gc_vdk.h;endline=11;md5=19f5925343fa3da65596eeaa4ddb5fd3"
DEPENDS += "${@base_contains('DISTRO_FEATURES', 'x11', 'virtual/libx11 libxdamage libxext libxfixes mesa', '', d)}"
PROVIDES += "virtual/wayland-egl virtual/libgl virtual/libgal-x11 virtual/egl virtual/libgles1 virtual/libgles2"
PROVIDES += "virtual/wayland-egl virtual/libgl virtual/libgal-x11 virtual/egl virtual/libgles1 virtual/libgles2 virtual/libopenvg"
PE = "1"
......@@ -20,6 +20,8 @@ SRC_URI = "${FSL_MIRROR}/${PN}-${PV}.bin;fsl-eula=true \
file://glesv1_cm_x11.pc \
file://glesv2.pc \
file://glesv2_x11.pc \
file://vg.pc \
file://vg_x11.pc \
file://gc_wayland_protocol.pc \
file://wayland-egl.pc \
file://wayland-viv.pc \
......@@ -114,6 +116,7 @@ do_install () {
install -m 0644 ${WORKDIR}/egl_x11.pc ${D}${libdir}/pkgconfig/egl.pc
install -m 0644 ${WORKDIR}/glesv1_cm_x11.pc ${D}${libdir}/pkgconfig/glesv1_cm.pc
install -m 0644 ${WORKDIR}/glesv2_x11.pc ${D}${libdir}/pkgconfig/glesv2.pc
install -m 0644 ${WORKDIR}/vg_x11.pc ${D}${libdir}/pkgconfig/vg.pc
#FIXME: WL & X11 is not currently functional
#if [ "${USE_WL}" = "yes" ]; then
# install -m 0644 ${WORKDIR}/gc_wayland_protocol.pc ${D}${libdir}/pkgconfig/gc_wayland_protocol.pc
......@@ -126,6 +129,7 @@ do_install () {
install -m 0644 ${WORKDIR}/egl.pc ${D}${libdir}/pkgconfig/egl.pc
install -m 0644 ${WORKDIR}/glesv1_cm.pc ${D}${libdir}/pkgconfig/glesv1_cm.pc
install -m 0644 ${WORKDIR}/glesv2.pc ${D}${libdir}/pkgconfig/glesv2.pc
install -m 0644 ${WORKDIR}/vg.pc ${D}${libdir}/pkgconfig/vg.pc
install -m 0644 ${WORKDIR}/gc_wayland_protocol.pc ${D}${libdir}/pkgconfig/gc_wayland_protocol.pc
install -m 0644 ${WORKDIR}/wayland-egl.pc ${D}${libdir}/pkgconfig/wayland-egl.pc
install -m 0644 ${WORKDIR}/wayland-viv.pc ${D}${libdir}/pkgconfig/wayland-viv.pc
......@@ -133,6 +137,7 @@ do_install () {
install -m 0644 ${WORKDIR}/egl.pc ${D}${libdir}/pkgconfig/egl.pc
install -m 0644 ${WORKDIR}/glesv1_cm.pc ${D}${libdir}/pkgconfig/glesv1_cm.pc
install -m 0644 ${WORKDIR}/glesv2.pc ${D}${libdir}/pkgconfig/glesv2.pc
install -m 0644 ${WORKDIR}/vg.pc ${D}${libdir}/pkgconfig/vg.pc
if [ "${USE_DFB}" = "yes" ]; then
cp -r ${S}/usr/lib/directfb-1.6-0 ${D}${libdir}
......@@ -210,7 +215,7 @@ FILES_libopencl-mx6-dbg = "${libdir}/.debug/libOpenCL${SOLIBS}"
RDEPENDS_libopencl-mx6 = "libclc-mx6"
FILES_libopenvg-mx6 = "${libdir}/libOpenVG*${SOLIBS}"
FILES_libopenvg-mx6-dev = "${includedir}/VG ${libdir}/libOpenVG*${SOLIBSDEV}"
FILES_libopenvg-mx6-dev = "${includedir}/VG ${libdir}/libOpenVG*${SOLIBSDEV} ${libdir}/pkgconfig/vg.pc"
FILES_libopenvg-mx6-dbg = "${libdir}/.debug/libOpenVG*${SOLIBS}"
FILES_libvdk-mx6 = "${libdir}/libVDK${SOLIBS}"
......
prefix=/usr
exec_prefix=${prefix}
libdir=/usr/lib
includedir=/usr/include
Name: vg
Description: Vivante OpenVG 1.1 library
Requires.private:
Version: 8.0
Libs: -L${libdir} -lOpenVG -lEGL -lGAL
Libs.private: -lpthread -lrt
Cflags: -I${includedir}
prefix=/usr
exec_prefix=${prefix}
libdir=/usr/lib
includedir=/usr/include
Name: vg
Description: Vivante OpenVG 1.1 library
Requires.private: libdrm x11 xext xdamage xfixes xcb
Version: 8.0
Libs: -L${libdir} -lOpenVG -lEGL -lGAL
Libs.private: -lpthread -lrt
Cflags: -I${includedir}
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment