mirror of
git://git.yoctoproject.org/meta-intel
synced 2026-01-04 16:10:06 +00:00
emgd-driver-bin: add pkgconfig files
Add pkgconfig files needed by other projects (for example newer libva packages look for egl.pc file). Pkgconfig files added by this patch: * egl.pc * gl.pc * gles_cm.pc * glesv2.pc Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com> Signed-off-by: Tom Zanussi <tom.zanussi@linux.intel.com>
This commit is contained in:
parent
2f752a5644
commit
5e314278e4
12
common/recipes-graphics/xorg-driver/emgd-driver-bin/egl.pc
Normal file
12
common/recipes-graphics/xorg-driver/emgd-driver-bin/egl.pc
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
prefix=/usr
|
||||
exec_prefix=${prefix}
|
||||
libdir=/usr/lib
|
||||
includedir=/usr/include
|
||||
|
||||
Name: egl
|
||||
Description: EMGD EGL library
|
||||
Requires.private:
|
||||
Version: 1.16
|
||||
Libs: -L${libdir} -lEGL
|
||||
Libs.private: -lm -lpthread -ldl
|
||||
Cflags: -I${includedir}
|
||||
13
common/recipes-graphics/xorg-driver/emgd-driver-bin/gl.pc
Normal file
13
common/recipes-graphics/xorg-driver/emgd-driver-bin/gl.pc
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
prefix=/usr
|
||||
exec_prefix=${prefix}
|
||||
libdir=/usr/lib
|
||||
includedir=/usr/include
|
||||
|
||||
Name: gl
|
||||
Description: EMGD OpenGL library
|
||||
Requires.private:
|
||||
Version: 1.16
|
||||
Libs: -L${libdir} -lGL
|
||||
Libs.private: -lm -lpthread -ldl
|
||||
Cflags: -I${includedir}
|
||||
glx_tls: yes
|
||||
|
|
@ -0,0 +1,12 @@
|
|||
prefix=/usr
|
||||
exec_prefix=${prefix}
|
||||
libdir=/usr/lib
|
||||
includedir=/usr/include
|
||||
|
||||
Name: gles_cm
|
||||
Description: EMGD OpenGL ES 1.1 CM library
|
||||
Requires.private:
|
||||
Version: 1.16
|
||||
Libs: -L${libdir} -lGLES_CM
|
||||
Libs.private: -lm -lpthread -ldl
|
||||
Cflags: -I${includedir}
|
||||
|
|
@ -0,0 +1,12 @@
|
|||
prefix=/usr
|
||||
exec_prefix=${prefix}
|
||||
libdir=/usr/lib
|
||||
includedir=/usr/include
|
||||
|
||||
Name: glesv2
|
||||
Description: EMGD OpenGL ES 2.0 library
|
||||
Requires.private:
|
||||
Version: 1.16
|
||||
Libs: -L${libdir} -lGLESv2
|
||||
Libs.private: -lm -lpthread -ldl
|
||||
Cflags: -I${includedir}
|
||||
|
|
@ -28,7 +28,12 @@ python populate_packages_prepend() {
|
|||
d.appendVar("RDEPENDS_" + pn, " xorg-abi-video-8")
|
||||
}
|
||||
|
||||
SRC_URI = "https://edc.intel.com/App_Shared/Downloads/LIN_IEMGD_1_16_GOLD_3228.tgz"
|
||||
SRC_URI = "https://edc.intel.com/App_Shared/Downloads/LIN_IEMGD_1_16_GOLD_3228.tgz \
|
||||
file://egl.pc \
|
||||
file://gl.pc \
|
||||
file://gles_cm.pc \
|
||||
file://glesv2.pc \
|
||||
"
|
||||
|
||||
SRC_URI[md5sum] = "339c902baeac0a5816108bea827b3685"
|
||||
SRC_URI[sha256sum] = "33ef38b83914ef7d1e12a430ec009352b415b9d5840c9d0db25744b7dc6a2473"
|
||||
|
|
@ -161,6 +166,10 @@ do_install () {
|
|||
ln -sf libmixcommon.so.0.10.8 ${D}${libdir}/libmixcommon.so.0
|
||||
rm -f ${D}${libdir}/libgstvabuffer.so.0
|
||||
ln -sf libgstvabuffer.so.0.10.8 ${D}${libdir}/libgstvabuffer.so.0
|
||||
|
||||
# Copy the .pc files
|
||||
install -d -m 0755 ${D}${libdir}/pkgconfig
|
||||
install -m 0644 ${WORKDIR}/*.pc ${D}${libdir}/pkgconfig/
|
||||
}
|
||||
|
||||
LEAD_SONAME = "libEGL.so"
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user