diff options
author | Rahul Saxena <rahul.saxena@intel.com> | 2012-10-17 16:42:33 -0700 |
---|---|---|
committer | Tom Zanussi <tom.zanussi@intel.com> | 2012-10-18 09:08:07 -0500 |
commit | 69c3e43be6f493844a2f432ea0a56c2f6619ca00 (patch) | |
tree | 599c887b352b18cbd6fde6aeffeba80789f69330 /meta-cedartrail | |
parent | 322ed13744ed07831bc0626d9dbb327a096957ba (diff) | |
download | meta-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.bb | 33 |
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 | ||
15 | DEPENDS = "rpm-native libva" | 15 | DEPENDS = "rpm-native libva" |
16 | 16 | ||
17 | PR = "r3" | 17 | PR = "r4" |
18 | 18 | ||
19 | PSB-VIDEO = "psb-video-cdv-1.0.3-1.1.i586.rpm" | 19 | PSB-VIDEO = "psb-video-cdv-1.0.3-1.1.i586.rpm" |
20 | PSB-VIDEO-REV = "1.0.3" | 20 | PSB-VIDEO-REV = "1.0.3" |
@@ -23,8 +23,10 @@ PVR-BIN = "pvr-bin-cdv-1.0.3-1.1.i586.rpm" | |||
23 | PVR-BIN-REV = "1.7.862890" | 23 | PVR-BIN-REV = "1.7.862890" |
24 | PVR-BIN-REV_N = "1.7.862890_05" | 24 | PVR-BIN-REV_N = "1.7.862890_05" |
25 | PVR-BIN-REV_LIC = "1.0.3" | 25 | PVR-BIN-REV_LIC = "1.0.3" |
26 | PVR-BIN-DEV = "pvr-bin-cdv-devel-1.0.3-1.1.i586.rpm" | ||
26 | 27 | ||
27 | LIBWSBM = "libwsbm-cdv-1.1.0-3.1.i586.rpm" | 28 | LIBWSBM = "libwsbm-cdv-1.1.0-3.1.i586.rpm" |
29 | LIBWSBM-DEV = "libwsbm-cdv-devel-1.1.0-3.1.i586.rpm" | ||
28 | 30 | ||
29 | 31 | ||
30 | NON-OSS-PATH = "http://repo.meego.com/MeeGo/updates/1.2.0/repos/non-oss/ia32/packages/" | 32 | NON-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 | ||
34 | SRC_URI = "${NON-OSS-PATH}${PSB-VIDEO};name=psbrpm;unpack=0 \ | 36 | SRC_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 | " |
38 | SRC_URI[pvrrpm.md5sum] = "3ae7db98825af642445f75f4b5ddb303" | 42 | SRC_URI[pvrrpm.md5sum] = "3ae7db98825af642445f75f4b5ddb303" |
39 | SRC_URI[pvrrpm.sha256sum] = "42b97e5d663444f35b1ee51cdf9573e3b1d5a4f49ae854218c5c4c9a66ba95cf" | 43 | SRC_URI[pvrrpm.sha256sum] = "42b97e5d663444f35b1ee51cdf9573e3b1d5a4f49ae854218c5c4c9a66ba95cf" |
40 | 44 | ||
45 | SRC_URI[pvrrpmdev.md5sum] = "e8f0815b5bbf94311a7cf229451f651f" | ||
46 | SRC_URI[pvrrpmdev.sha256sum] = "facb67f6b8413504e7ba570a4e3e3ee20cb90d7bd02b303653f9ce5cc4fd7b20" | ||
47 | |||
41 | SRC_URI[psbrpm.md5sum] = "ec486193dc4b3f91bc7c5e18d9ca9d8a" | 48 | SRC_URI[psbrpm.md5sum] = "ec486193dc4b3f91bc7c5e18d9ca9d8a" |
42 | SRC_URI[psbrpm.sha256sum] = "0861d69b44d5ce29a3f778ac82976a22f7726af84d9b2e5438c18da5263ffdac" | 49 | SRC_URI[psbrpm.sha256sum] = "0861d69b44d5ce29a3f778ac82976a22f7726af84d9b2e5438c18da5263ffdac" |
43 | 50 | ||
44 | SRC_URI[wsbmrpm.md5sum] = "b8b21ca8325abd7850d197f9bf3071c7" | 51 | SRC_URI[wsbmrpm.md5sum] = "b8b21ca8325abd7850d197f9bf3071c7" |
45 | SRC_URI[wsbmrpm.sha256sum] = "f436386967c1adec5211e662251bd542bbe0b8cd55e1d9f9c203da5ee934d4f0" | 52 | SRC_URI[wsbmrpm.sha256sum] = "f436386967c1adec5211e662251bd542bbe0b8cd55e1d9f9c203da5ee934d4f0" |
46 | 53 | ||
54 | SRC_URI[wsbmrpmdev.md5sum] = "895d0cafd878fcbe4e2f845b8e09eea3" | ||
55 | SRC_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 |
48 | PKG_${PN} = "cdv-pvr-driver" | 59 | PKG_${PN} = "cdv-pvr-driver" |
49 | PKG_${PN}-dev = "cdv-pvr-driver-dev" | 60 | PKG_${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 | } |