diff options
Diffstat (limited to 'common/recipes-graphics/xorg-driver')
5 files changed, 59 insertions, 1 deletions
diff --git a/common/recipes-graphics/xorg-driver/emgd-driver-bin/egl.pc b/common/recipes-graphics/xorg-driver/emgd-driver-bin/egl.pc new file mode 100644 index 00000000..42efd64a --- /dev/null +++ b/common/recipes-graphics/xorg-driver/emgd-driver-bin/egl.pc | |||
@@ -0,0 +1,12 @@ | |||
1 | prefix=/usr | ||
2 | exec_prefix=${prefix} | ||
3 | libdir=/usr/lib | ||
4 | includedir=/usr/include | ||
5 | |||
6 | Name: egl | ||
7 | Description: EMGD EGL library | ||
8 | Requires.private: | ||
9 | Version: 1.16 | ||
10 | Libs: -L${libdir} -lEGL | ||
11 | Libs.private: -lm -lpthread -ldl | ||
12 | Cflags: -I${includedir} | ||
diff --git a/common/recipes-graphics/xorg-driver/emgd-driver-bin/gl.pc b/common/recipes-graphics/xorg-driver/emgd-driver-bin/gl.pc new file mode 100644 index 00000000..bf07495b --- /dev/null +++ b/common/recipes-graphics/xorg-driver/emgd-driver-bin/gl.pc | |||
@@ -0,0 +1,13 @@ | |||
1 | prefix=/usr | ||
2 | exec_prefix=${prefix} | ||
3 | libdir=/usr/lib | ||
4 | includedir=/usr/include | ||
5 | |||
6 | Name: gl | ||
7 | Description: EMGD OpenGL library | ||
8 | Requires.private: | ||
9 | Version: 1.16 | ||
10 | Libs: -L${libdir} -lGL | ||
11 | Libs.private: -lm -lpthread -ldl | ||
12 | Cflags: -I${includedir} | ||
13 | glx_tls: yes | ||
diff --git a/common/recipes-graphics/xorg-driver/emgd-driver-bin/gles_cm.pc b/common/recipes-graphics/xorg-driver/emgd-driver-bin/gles_cm.pc new file mode 100644 index 00000000..a0c828f4 --- /dev/null +++ b/common/recipes-graphics/xorg-driver/emgd-driver-bin/gles_cm.pc | |||
@@ -0,0 +1,12 @@ | |||
1 | prefix=/usr | ||
2 | exec_prefix=${prefix} | ||
3 | libdir=/usr/lib | ||
4 | includedir=/usr/include | ||
5 | |||
6 | Name: gles_cm | ||
7 | Description: EMGD OpenGL ES 1.1 CM library | ||
8 | Requires.private: | ||
9 | Version: 1.16 | ||
10 | Libs: -L${libdir} -lGLES_CM | ||
11 | Libs.private: -lm -lpthread -ldl | ||
12 | Cflags: -I${includedir} | ||
diff --git a/common/recipes-graphics/xorg-driver/emgd-driver-bin/glesv2.pc b/common/recipes-graphics/xorg-driver/emgd-driver-bin/glesv2.pc new file mode 100644 index 00000000..02171fad --- /dev/null +++ b/common/recipes-graphics/xorg-driver/emgd-driver-bin/glesv2.pc | |||
@@ -0,0 +1,12 @@ | |||
1 | prefix=/usr | ||
2 | exec_prefix=${prefix} | ||
3 | libdir=/usr/lib | ||
4 | includedir=/usr/include | ||
5 | |||
6 | Name: glesv2 | ||
7 | Description: EMGD OpenGL ES 2.0 library | ||
8 | Requires.private: | ||
9 | Version: 1.16 | ||
10 | Libs: -L${libdir} -lGLESv2 | ||
11 | Libs.private: -lm -lpthread -ldl | ||
12 | Cflags: -I${includedir} | ||
diff --git a/common/recipes-graphics/xorg-driver/emgd-driver-bin_1.16.bb b/common/recipes-graphics/xorg-driver/emgd-driver-bin_1.16.bb index ed49b4d9..0c40d2b1 100644 --- a/common/recipes-graphics/xorg-driver/emgd-driver-bin_1.16.bb +++ b/common/recipes-graphics/xorg-driver/emgd-driver-bin_1.16.bb | |||
@@ -28,7 +28,12 @@ python populate_packages_prepend() { | |||
28 | d.appendVar("RDEPENDS_" + pn, " xorg-abi-video-8") | 28 | d.appendVar("RDEPENDS_" + pn, " xorg-abi-video-8") |
29 | } | 29 | } |
30 | 30 | ||
31 | SRC_URI = "https://edc.intel.com/App_Shared/Downloads/LIN_IEMGD_1_16_GOLD_3228.tgz" | 31 | SRC_URI = "https://edc.intel.com/App_Shared/Downloads/LIN_IEMGD_1_16_GOLD_3228.tgz \ |
32 | file://egl.pc \ | ||
33 | file://gl.pc \ | ||
34 | file://gles_cm.pc \ | ||
35 | file://glesv2.pc \ | ||
36 | " | ||
32 | 37 | ||
33 | SRC_URI[md5sum] = "339c902baeac0a5816108bea827b3685" | 38 | SRC_URI[md5sum] = "339c902baeac0a5816108bea827b3685" |
34 | SRC_URI[sha256sum] = "33ef38b83914ef7d1e12a430ec009352b415b9d5840c9d0db25744b7dc6a2473" | 39 | SRC_URI[sha256sum] = "33ef38b83914ef7d1e12a430ec009352b415b9d5840c9d0db25744b7dc6a2473" |
@@ -161,6 +166,10 @@ do_install () { | |||
161 | ln -sf libmixcommon.so.0.10.8 ${D}${libdir}/libmixcommon.so.0 | 166 | ln -sf libmixcommon.so.0.10.8 ${D}${libdir}/libmixcommon.so.0 |
162 | rm -f ${D}${libdir}/libgstvabuffer.so.0 | 167 | rm -f ${D}${libdir}/libgstvabuffer.so.0 |
163 | ln -sf libgstvabuffer.so.0.10.8 ${D}${libdir}/libgstvabuffer.so.0 | 168 | ln -sf libgstvabuffer.so.0.10.8 ${D}${libdir}/libgstvabuffer.so.0 |
169 | |||
170 | # Copy the .pc files | ||
171 | install -d -m 0755 ${D}${libdir}/pkgconfig | ||
172 | install -m 0644 ${WORKDIR}/*.pc ${D}${libdir}/pkgconfig/ | ||
164 | } | 173 | } |
165 | 174 | ||
166 | LEAD_SONAME = "libEGL.so" | 175 | LEAD_SONAME = "libEGL.so" |