summaryrefslogtreecommitdiffstats
path: root/common
diff options
context:
space:
mode:
authorLaurentiu Palcu <laurentiu.palcu@intel.com>2013-03-13 11:05:48 (GMT)
committerTom Zanussi <tom.zanussi@linux.intel.com>2013-04-08 16:37:56 (GMT)
commit5e314278e4cf37b7fbb2946f4f42a3236071e131 (patch)
tree45681eda2a2d45dabe87c7bf7de81645c03b6232 /common
parent2f752a5644b0a874cd7df7910aaa5302f14d185c (diff)
downloadmeta-intel-5e314278e4cf37b7fbb2946f4f42a3236071e131.tar.gz
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>
Diffstat (limited to 'common')
-rw-r--r--common/recipes-graphics/xorg-driver/emgd-driver-bin/egl.pc12
-rw-r--r--common/recipes-graphics/xorg-driver/emgd-driver-bin/gl.pc13
-rw-r--r--common/recipes-graphics/xorg-driver/emgd-driver-bin/gles_cm.pc12
-rw-r--r--common/recipes-graphics/xorg-driver/emgd-driver-bin/glesv2.pc12
-rw-r--r--common/recipes-graphics/xorg-driver/emgd-driver-bin_1.16.bb11
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 0000000..42efd64
--- /dev/null
+++ b/common/recipes-graphics/xorg-driver/emgd-driver-bin/egl.pc
@@ -0,0 +1,12 @@
1prefix=/usr
2exec_prefix=${prefix}
3libdir=/usr/lib
4includedir=/usr/include
5
6Name: egl
7Description: EMGD EGL library
8Requires.private:
9Version: 1.16
10Libs: -L${libdir} -lEGL
11Libs.private: -lm -lpthread -ldl
12Cflags: -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 0000000..bf07495
--- /dev/null
+++ b/common/recipes-graphics/xorg-driver/emgd-driver-bin/gl.pc
@@ -0,0 +1,13 @@
1prefix=/usr
2exec_prefix=${prefix}
3libdir=/usr/lib
4includedir=/usr/include
5
6Name: gl
7Description: EMGD OpenGL library
8Requires.private:
9Version: 1.16
10Libs: -L${libdir} -lGL
11Libs.private: -lm -lpthread -ldl
12Cflags: -I${includedir}
13glx_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 0000000..a0c828f
--- /dev/null
+++ b/common/recipes-graphics/xorg-driver/emgd-driver-bin/gles_cm.pc
@@ -0,0 +1,12 @@
1prefix=/usr
2exec_prefix=${prefix}
3libdir=/usr/lib
4includedir=/usr/include
5
6Name: gles_cm
7Description: EMGD OpenGL ES 1.1 CM library
8Requires.private:
9Version: 1.16
10Libs: -L${libdir} -lGLES_CM
11Libs.private: -lm -lpthread -ldl
12Cflags: -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 0000000..02171fa
--- /dev/null
+++ b/common/recipes-graphics/xorg-driver/emgd-driver-bin/glesv2.pc
@@ -0,0 +1,12 @@
1prefix=/usr
2exec_prefix=${prefix}
3libdir=/usr/lib
4includedir=/usr/include
5
6Name: glesv2
7Description: EMGD OpenGL ES 2.0 library
8Requires.private:
9Version: 1.16
10Libs: -L${libdir} -lGLESv2
11Libs.private: -lm -lpthread -ldl
12Cflags: -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 ed49b4d..0c40d2b 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
31SRC_URI = "https://edc.intel.com/App_Shared/Downloads/LIN_IEMGD_1_16_GOLD_3228.tgz" 31SRC_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
33SRC_URI[md5sum] = "339c902baeac0a5816108bea827b3685" 38SRC_URI[md5sum] = "339c902baeac0a5816108bea827b3685"
34SRC_URI[sha256sum] = "33ef38b83914ef7d1e12a430ec009352b415b9d5840c9d0db25744b7dc6a2473" 39SRC_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
166LEAD_SONAME = "libEGL.so" 175LEAD_SONAME = "libEGL.so"