summaryrefslogtreecommitdiffstats
path: root/meta-cedartrail
diff options
context:
space:
mode:
authorRahul Saxena <rahul.saxena@intel.com>2012-10-17 16:42:33 -0700
committerTom Zanussi <tom.zanussi@intel.com>2012-10-18 09:08:07 -0500
commit69c3e43be6f493844a2f432ea0a56c2f6619ca00 (patch)
tree599c887b352b18cbd6fde6aeffeba80789f69330 /meta-cedartrail
parent322ed13744ed07831bc0626d9dbb327a096957ba (diff)
downloadmeta-intel-69c3e43be6f493844a2f432ea0a56c2f6619ca00.tar.gz
meta-cedartrail: Add development packages to pvr driver recipe
Add header files from development packages Signed-off-by: Rahul Saxena <Rahul.Saxena@intel.com> Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
Diffstat (limited to 'meta-cedartrail')
-rw-r--r--meta-cedartrail/recipes-graphics/xorg-driver/cdv-pvr-driver_1.0.3.bb33
1 files changed, 32 insertions, 1 deletions
diff --git a/meta-cedartrail/recipes-graphics/xorg-driver/cdv-pvr-driver_1.0.3.bb b/meta-cedartrail/recipes-graphics/xorg-driver/cdv-pvr-driver_1.0.3.bb
index 2f446497..e9d4edec 100644
--- a/meta-cedartrail/recipes-graphics/xorg-driver/cdv-pvr-driver_1.0.3.bb
+++ b/meta-cedartrail/recipes-graphics/xorg-driver/cdv-pvr-driver_1.0.3.bb
@@ -14,7 +14,7 @@ LIC_FILES_CHKSUM = " \
14 14
15DEPENDS = "rpm-native libva" 15DEPENDS = "rpm-native libva"
16 16
17PR = "r3" 17PR = "r4"
18 18
19PSB-VIDEO = "psb-video-cdv-1.0.3-1.1.i586.rpm" 19PSB-VIDEO = "psb-video-cdv-1.0.3-1.1.i586.rpm"
20PSB-VIDEO-REV = "1.0.3" 20PSB-VIDEO-REV = "1.0.3"
@@ -23,8 +23,10 @@ PVR-BIN = "pvr-bin-cdv-1.0.3-1.1.i586.rpm"
23PVR-BIN-REV = "1.7.862890" 23PVR-BIN-REV = "1.7.862890"
24PVR-BIN-REV_N = "1.7.862890_05" 24PVR-BIN-REV_N = "1.7.862890_05"
25PVR-BIN-REV_LIC = "1.0.3" 25PVR-BIN-REV_LIC = "1.0.3"
26PVR-BIN-DEV = "pvr-bin-cdv-devel-1.0.3-1.1.i586.rpm"
26 27
27LIBWSBM = "libwsbm-cdv-1.1.0-3.1.i586.rpm" 28LIBWSBM = "libwsbm-cdv-1.1.0-3.1.i586.rpm"
29LIBWSBM-DEV = "libwsbm-cdv-devel-1.1.0-3.1.i586.rpm"
28 30
29 31
30NON-OSS-PATH = "http://repo.meego.com/MeeGo/updates/1.2.0/repos/non-oss/ia32/packages/" 32NON-OSS-PATH = "http://repo.meego.com/MeeGo/updates/1.2.0/repos/non-oss/ia32/packages/"
@@ -33,17 +35,26 @@ OSS-PATH = "http://repo.meego.com/MeeGo/updates/1.2.0/repos/oss/ia32/package
33 35
34SRC_URI = "${NON-OSS-PATH}${PSB-VIDEO};name=psbrpm;unpack=0 \ 36SRC_URI = "${NON-OSS-PATH}${PSB-VIDEO};name=psbrpm;unpack=0 \
35 ${NON-OSS-PATH}${PVR-BIN};name=pvrrpm;unpack=0 \ 37 ${NON-OSS-PATH}${PVR-BIN};name=pvrrpm;unpack=0 \
38 ${NON-OSS-PATH}${PVR-BIN-DEV};name=pvrrpmdev;unpack=0 \
36 ${OSS-PATH}${LIBWSBM};name=wsbmrpm;unpack=0 \ 39 ${OSS-PATH}${LIBWSBM};name=wsbmrpm;unpack=0 \
40 ${OSS-PATH}${LIBWSBM-DEV};name=wsbmrpmdev;unpack=0 \
37 " 41 "
38SRC_URI[pvrrpm.md5sum] = "3ae7db98825af642445f75f4b5ddb303" 42SRC_URI[pvrrpm.md5sum] = "3ae7db98825af642445f75f4b5ddb303"
39SRC_URI[pvrrpm.sha256sum] = "42b97e5d663444f35b1ee51cdf9573e3b1d5a4f49ae854218c5c4c9a66ba95cf" 43SRC_URI[pvrrpm.sha256sum] = "42b97e5d663444f35b1ee51cdf9573e3b1d5a4f49ae854218c5c4c9a66ba95cf"
40 44
45SRC_URI[pvrrpmdev.md5sum] = "e8f0815b5bbf94311a7cf229451f651f"
46SRC_URI[pvrrpmdev.sha256sum] = "facb67f6b8413504e7ba570a4e3e3ee20cb90d7bd02b303653f9ce5cc4fd7b20"
47
41SRC_URI[psbrpm.md5sum] = "ec486193dc4b3f91bc7c5e18d9ca9d8a" 48SRC_URI[psbrpm.md5sum] = "ec486193dc4b3f91bc7c5e18d9ca9d8a"
42SRC_URI[psbrpm.sha256sum] = "0861d69b44d5ce29a3f778ac82976a22f7726af84d9b2e5438c18da5263ffdac" 49SRC_URI[psbrpm.sha256sum] = "0861d69b44d5ce29a3f778ac82976a22f7726af84d9b2e5438c18da5263ffdac"
43 50
44SRC_URI[wsbmrpm.md5sum] = "b8b21ca8325abd7850d197f9bf3071c7" 51SRC_URI[wsbmrpm.md5sum] = "b8b21ca8325abd7850d197f9bf3071c7"
45SRC_URI[wsbmrpm.sha256sum] = "f436386967c1adec5211e662251bd542bbe0b8cd55e1d9f9c203da5ee934d4f0" 52SRC_URI[wsbmrpm.sha256sum] = "f436386967c1adec5211e662251bd542bbe0b8cd55e1d9f9c203da5ee934d4f0"
46 53
54SRC_URI[wsbmrpmdev.md5sum] = "895d0cafd878fcbe4e2f845b8e09eea3"
55SRC_URI[wsbmrpmdev.sha256sum] = "605ba605a2617ee67863d5becac114ce7f4ea440854543f75465e16f463bad70"
56
57
47# make sure generated rpm packages get non conflicting names 58# make sure generated rpm packages get non conflicting names
48PKG_${PN} = "cdv-pvr-driver" 59PKG_${PN} = "cdv-pvr-driver"
49PKG_${PN}-dev = "cdv-pvr-driver-dev" 60PKG_${PN}-dev = "cdv-pvr-driver-dev"
@@ -149,6 +160,26 @@ do_install() {
149 install -d -m 0755 ${D}${datadir}/doc/psb-video-cdv-${PSB-VIDEO-REV} 160 install -d -m 0755 ${D}${datadir}/doc/psb-video-cdv-${PSB-VIDEO-REV}
150 install -d -m 0755 ${D}${datadir}/doc/pvr-bin-cdv-${PVR-BIN-REV_N} 161 install -d -m 0755 ${D}${datadir}/doc/pvr-bin-cdv-${PVR-BIN-REV_N}
151 162
163 rpm2cpio.sh ${S}/${PVR-BIN-DEV} | cpio -id
164 install -d -m 0644 ${D}${includedir}
165 install -d -m 0644 ${D}${includedir}/GLES
166 install -d -m 0644 ${D}${includedir}/VG
167 install -d -m 0644 ${D}${includedir}/GLES2
168 install -d -m 0644 ${D}${includedir}/KHR
169 install -d -m 0644 ${D}${includedir}/EGL
170
171 install -m 0644 ${S}/${includedir}/GLES/*.h ${D}${includedir}/GLES
172 install -m 0644 ${S}/${includedir}/VG/*.h ${D}${includedir}/VG
173 install -m 0644 ${S}/${includedir}/GLES2/*.h ${D}${includedir}/GLES2
174 install -m 0644 ${S}/${includedir}/KHR/*.h ${D}${includedir}/KHR
175 install -m 0644 ${S}/${includedir}/EGL/*.h ${D}${includedir}/EGL
176
177 rpm2cpio.sh ${S}/${LIBWSBM-DEV} | cpio -id
178 install -d -m 0644 ${D}${includedir}/wsbm
179
180 install -m 0644 ${S}/${includedir}/wsbm/*.h ${D}${includedir}/wsbm
181 install -m 0644 ${S}/${libdir}/libwsbm.so ${D}${libdir}/libwsbm.so
182
152 install -m 0755 ${S}/usr/share/doc/psb-video-cdv-${PSB-VIDEO-REV}/license.txt ${D}${datadir}/doc/psb-video-cdv-${PSB-VIDEO-REV}/license.txt 183 install -m 0755 ${S}/usr/share/doc/psb-video-cdv-${PSB-VIDEO-REV}/license.txt ${D}${datadir}/doc/psb-video-cdv-${PSB-VIDEO-REV}/license.txt
153 184
154} 185}