summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta-cedartrail/recipes-graphics/xorg-driver/cdv-pvr-driver.inc14
-rw-r--r--meta-cedartrail/recipes-graphics/xorg-driver/cdv-pvr-driver_1.0.bb42
2 files changed, 26 insertions, 30 deletions
diff --git a/meta-cedartrail/recipes-graphics/xorg-driver/cdv-pvr-driver.inc b/meta-cedartrail/recipes-graphics/xorg-driver/cdv-pvr-driver.inc
index 0de6cbe..787c1fb 100644
--- a/meta-cedartrail/recipes-graphics/xorg-driver/cdv-pvr-driver.inc
+++ b/meta-cedartrail/recipes-graphics/xorg-driver/cdv-pvr-driver.inc
@@ -6,16 +6,14 @@ before enabling build of the Cedartrail PowerVR Graphics Driver via \
6this recipe. Please see the README in meta-cedartrail for instructions \ 6this recipe. Please see the README in meta-cedartrail for instructions \
7for enabling the build of the driver " 7for enabling the build of the driver "
8 8
9MEEGO_MIRROR = "http://download.meego.com/live/MeeGo:/1.2.0:/CedarTrail:"
10
11LICENSE_FLAGS = "license_${PN}_${PV}" 9LICENSE_FLAGS = "license_${PN}_${PV}"
12LICENSE = "Intel Free Distribution Binary License" 10LICENSE = "Intel Free Distribution Binary License"
13LIC_FILES_CHKSUM = " \
14 file://${S}/usr/share/doc/psb-video-cdv-0.12/license.txt;md5=b14d99f8d4ed664e9ce95057f0bb5b65 \
15 file://${S}/usr/share/doc/pvr-bin-cdv-1.7.788837_05/license.txt;md5=b14d99f8d4ed664e9ce95057f0bb5b65"
16 11
12LIC_FILES_CHKSUM = " \
13 file://${S}/usr/share/doc/psb-video-cdv-0.16/license.txt;md5=b14d99f8d4ed664e9ce95057f0bb5b65 \
14 file://${S}/usr/share/doc/pvr-bin-cdv-1.7.788837_10/license.txt;md5=b14d99f8d4ed664e9ce95057f0bb5b65"
17 15
18INC_PR = "r0" 16INC_PR = "r1"
19 17
20DEPENDS = "rpm-native" 18DEPENDS = "rpm-native"
21 19
@@ -32,8 +30,8 @@ FILES_${PN}-dbg += "${libdir}/.debug"
32 30
33FILES_${PN} += "${libdir}/pvr/cdv/xorg/modules/drivers" 31FILES_${PN} += "${libdir}/pvr/cdv/xorg/modules/drivers"
34 32
35FILES_${PN} += "${datadir}/doc/psb-video-cdv-0.12/license.txt" 33FILES_${PN} += "${datadir}/doc/psb-video-cdv-0.16/license.txt"
36FILES_${PN} += "${datadir}/doc/pvr-bin-cdv-1.7.788837_05/license.txt" 34FILES_${PN} += "${datadir}/doc/pvr-bin-cdv-1.7.788837_10/license.txt"
37 35
38 36
39 37
diff --git a/meta-cedartrail/recipes-graphics/xorg-driver/cdv-pvr-driver_1.0.bb b/meta-cedartrail/recipes-graphics/xorg-driver/cdv-pvr-driver_1.0.bb
index 496da1e..9af0eb8 100644
--- a/meta-cedartrail/recipes-graphics/xorg-driver/cdv-pvr-driver_1.0.bb
+++ b/meta-cedartrail/recipes-graphics/xorg-driver/cdv-pvr-driver_1.0.bb
@@ -1,22 +1,21 @@
1require cdv-pvr-driver.inc 1require cdv-pvr-driver.inc
2 2
3PR = "${INC_PR}.0" 3PR = "${INC_PR}.1"
4 4
5DEPENDS = "libva" 5DEPENDS = "libva"
6 6
7SRC_URI = "${MEEGO_MIRROR}/non-oss/MeeGo_1.2.0_CedarTrail/i586/psb-video-cdv-0.12-1.1.i586.rpm;name=psbrpm \ 7SRC_URI = "http://repo.meego.com/MeeGo/updates/1.2.0/repos/non-oss/ia32/packages/psb-video-cdv-0.16-1.1.i586.rpm;name=psbrpm \
8 ${MEEGO_MIRROR}/oss/standard/i586/libwsbm-cdv-1.1.0-3.1.i586.rpm;name=wsbmrpm \ 8 http://repo.meego.com/MeeGo/updates/1.2.0/repos/non-oss/ia32/packages/pvr-bin-cdv-1.7.788837_10-1.1.i586.rpm;name=pvrrpm \
9 ${MEEGO_MIRROR}/non-oss/MeeGo_1.2.0_CedarTrail/i586/pvr-bin-cdv-1.7.788837_05-1.1.i586.rpm;name=pvrrpm \ 9 http://repo.meego.com/MeeGo/updates/1.2.0/repos/oss/ia32/packages/libwsbm-cdv-1.1.0-3.1.i586.rpm;name=wsbmrpm \
10 " 10 "
11SRC_URI[pvrrpm.md5sum] = "06dbacd7f0f5bb10132eb5477ae9267a"
12SRC_URI[pvrrpm.sha256sum] = "1e42c57485e46a1712e26f48df44a2f5305a82ca98afc5bf4f90a93c9631f509"
11 13
12SRC_URI[pvrrpm.md5sum] = "951fa9edcbc2a3ddb30450079869362e" 14SRC_URI[psbrpm.md5sum] = "fd213baa2af33d35e8b552e586b02b90"
13SRC_URI[pvrrpm.sha256sum] = "537dd8a98ac2e3a101063abc62682c3be8c37ac29782a876eafce113ffa5b421" 15SRC_URI[psbrpm.sha256sum] = "cda281798ebbd280b6d2caf2a09961db0d719f929b808c6360c81db323aeee71"
14 16
15SRC_URI[psbrpm.md5sum] = "d4b6b383722264f3b781aeb240c88037" 17SRC_URI[wsbmrpm.md5sum] = "b8b21ca8325abd7850d197f9bf3071c7"
16SRC_URI[psbrpm.sha256sum] = "e88f95fc73a79adf76ee33d3d9874cec23bb1afe8149d7dc5842d67e58da72f5" 18SRC_URI[wsbmrpm.sha256sum] = "f436386967c1adec5211e662251bd542bbe0b8cd55e1d9f9c203da5ee934d4f0"
17
18SRC_URI[wsbmrpm.md5sum] = "8d90436b151ddf72f620771f2552b597"
19SRC_URI[wsbmrpm.sha256sum] = "82f78f47c151f0e7d567574ee372504e5b395fb13796caa765f9c30754b5bf63"
20 19
21 20
22S = "${WORKDIR}/cdv-graphics-drivers_${PV}" 21S = "${WORKDIR}/cdv-graphics-drivers_${PV}"
@@ -24,8 +23,8 @@ S = "${WORKDIR}/cdv-graphics-drivers_${PV}"
24do_configure () { 23do_configure () {
25 24
26# Extract license files from rpms 25# Extract license files from rpms
27rpm2cpio ${WORKDIR}/psb-video-cdv-0.12-1.1.i586.rpm |cpio -ivd ./usr/share/doc/psb-video-cdv-0.12/license.txt 26rpm2cpio ${WORKDIR}/psb-video-cdv-0.16-1.1.i586.rpm |cpio -ivd ./usr/share/doc/psb-video-cdv-0.16/license.txt
28rpm2cpio ${WORKDIR}/pvr-bin-cdv-1.7.788837_05-1.1.i586.rpm |cpio -ivd ./usr/share/doc/pvr-bin-cdv-1.7.788837_05/license.txt 27rpm2cpio ${WORKDIR}/pvr-bin-cdv-1.7.788837_10-1.1.i586.rpm |cpio -ivd ./usr/share/doc/pvr-bin-cdv-1.7.788837_10/license.txt
29 28
30} 29}
31 30
@@ -41,8 +40,7 @@ do_install() {
41 40
42 install -m 0755 ${S}/usr/lib/* ${D}${libdir}/ 41 install -m 0755 ${S}/usr/lib/* ${D}${libdir}/
43 42
44 rpm2cpio ${S}/psb-video-cdv-0.12-1.1.i586.rpm | cpio -id 43 rpm2cpio ${S}/psb-video-cdv-0.16-1.1.i586.rpm | cpio -id
45
46 44
47 install -d -m 0755 ${D}${base_libdir}/firmware 45 install -d -m 0755 ${D}${base_libdir}/firmware
48 46
@@ -50,8 +48,8 @@ do_install() {
50 48
51 install -m 0755 ${S}/lib/firmware/* ${D}${base_libdir}/firmware 49 install -m 0755 ${S}/lib/firmware/* ${D}${base_libdir}/firmware
52 50
53 rpm2cpio ${S}/pvr-bin-cdv-1.7.788837_05-1.1.i586.rpm | cpio -id 51 rpm2cpio ${S}/pvr-bin-cdv-1.7.788837_10-1.1.i586.rpm | cpio -id
54 52
55 install -d -m 0755 ${D}${libdir}/pvr/cdv/dri 53 install -d -m 0755 ${D}${libdir}/pvr/cdv/dri
56 54
57 install -m 0755 ${S}/usr/lib/pvr/cdv/dri/* ${D}${libdir}/pvr/cdv/dri 55 install -m 0755 ${S}/usr/lib/pvr/cdv/dri/* ${D}${libdir}/pvr/cdv/dri
@@ -92,10 +90,10 @@ do_install() {
92 90
93 install -m 0755 ${S}/usr/lib/xorg/modules/drivers/* ${D}${libdir}/xorg/modules/drivers/ 91 install -m 0755 ${S}/usr/lib/xorg/modules/drivers/* ${D}${libdir}/xorg/modules/drivers/
94 92
95 install -d -m 0755 ${D}${datadir}/doc/psb-video-cdv-0.12 93 install -d -m 0755 ${D}${datadir}/doc/psb-video-cdv-0.16
96 install -d -m 0755 ${D}${datadir}/doc/pvr-bin-cdv-1.7.788837_05 94 install -d -m 0755 ${D}${datadir}/doc/pvr-bin-cdv-1.7.788837_10
97 95
98 install -m 0755 ${S}/usr/share/doc/psb-video-cdv-0.12/license.txt ${D}${datadir}/doc/psb-video-cdv-0.12/license.txt 96 install -m 0755 ${S}/usr/share/doc/psb-video-cdv-0.16/license.txt ${D}${datadir}/doc/psb-video-cdv-0.16/license.txt
99 install -m 0755 ${S}/usr/share/doc/pvr-bin-cdv-1.7.788837_05/license.txt ${D}${datadir}/doc/pvr-bin-cdv-1.7.788837_05/license.txt 97 install -m 0755 ${S}/usr/share/doc/pvr-bin-cdv-1.7.788837_10/license.txt ${D}${datadir}/doc/pvr-bin-cdv-1.7.788837_10/license.txt
100 98
101} 99}