aboutsummaryrefslogtreecommitdiffstats
path: root/packages/powervr-drivers
diff options
context:
space:
mode:
authorKoen Kooi <koen@openembedded.org>2009-01-05 19:49:32 +0100
committerKoen Kooi <koen@openembedded.org>2009-01-05 19:49:32 +0100
commitacb9402cea72609fd3798b69b225cf00f616f46e (patch)
tree08fd6103f59d23545466a14145402ad1cf5345c6 /packages/powervr-drivers
parent56824421a29bcbe204c8dc772bb80dcfce616648 (diff)
downloadopenembedded-acb9402cea72609fd3798b69b225cf00f616f46e.tar.gz
libgles-omap3: add 3...5 release, rework packaging a bit
Diffstat (limited to 'packages/powervr-drivers')
-rw-r--r--packages/powervr-drivers/libgles-omap3.inc (renamed from packages/powervr-drivers/libgles-omap3_1.0.bb)17
-rw-r--r--packages/powervr-drivers/libgles-omap3_3.00.00.01.bb10
-rw-r--r--packages/powervr-drivers/libgles-omap3_3.00.00.05.bb12
3 files changed, 29 insertions, 10 deletions
diff --git a/packages/powervr-drivers/libgles-omap3_1.0.bb b/packages/powervr-drivers/libgles-omap3.inc
index b18b7a485b..612d311159 100644
--- a/packages/powervr-drivers/libgles-omap3_1.0.bb
+++ b/packages/powervr-drivers/libgles-omap3.inc
@@ -1,16 +1,17 @@
DESCRIPTION = "libGLES for the omap3"
LICENCE = "proprietary-binary"
-PR = "r6"
-# Put "OMAP35x_Graphics_SDK_setuplinux_3_00_00_01.bin" in the same directory as this recipe
-SRC_URI = "file://OMAP35x_Graphics_SDK_setuplinux_3_00_00_01.bin \
+# Put "OMAP35x_Graphics_SDK_setuplinux_3_00_00_05.bin" in the same directory as this recipe
+SRC_URI = "file://OMAP35x_Graphics_SDK_setuplinux_${SGXPV}.bin \
file://rc.pvr \
"
+S = "${WORKDIR}/OMAP35x_Graphics_SDK_${SGXPV}"
-S = "${WORKDIR}/OMAP35x_Graphics_SDK_3_00_00_01"
-PACKAGES =+ " ${PN}-tests"
+PACKAGES += " xserver-kdrive-powervrsgx ${PN}-tests"
+FILES_${PN} = "${sysconfdir} ${libdir}/lib*.so.* ${bindir}/pvrsrvinit"
+FILES_xserver-kdrive-powervrsgx = "${bindir}/Xsgx"
FILES_${PN}-tests = "${bindir}/*"
PACKAGE_ARCH = "${MACHINE_ARCH}"
@@ -30,7 +31,7 @@ do_accept_license() {
export HOME="${WORKDIR}"
echo "Y
Y
-${S}" | ${WORKDIR}/OMAP35x_Graphics_SDK_setuplinux_3_00_00_01.bin
+${S}" | ${WORKDIR}/OMAP35x_Graphics_SDK_setuplinux_${SGXPV}.bin
}
addtask accept_license after do_unpack before do_compile
@@ -71,10 +72,6 @@ do_stage () {
cp -pPR ${S}/GFX_Linux_SDK/OGLES2/SDKPackage/Builds/OGLES2/Include/* ${STAGING_INCDIR}/
}
-# Quality control is really poor on these SDKs, so hack around the latest madness:
-FILES_${PN} += "${libdir}/*.so"
-FILES_${PN}-dev = "${includedir}"
-
pkg_postinst() {
#!/bin/sh
ln -sf /usr/lib/libXdmcp.so.6.0.0 /usr/lib/libXdmcp.so.0
diff --git a/packages/powervr-drivers/libgles-omap3_3.00.00.01.bb b/packages/powervr-drivers/libgles-omap3_3.00.00.01.bb
new file mode 100644
index 0000000000..1f7adfe980
--- /dev/null
+++ b/packages/powervr-drivers/libgles-omap3_3.00.00.01.bb
@@ -0,0 +1,10 @@
+require libgles-omap3.inc
+
+SGXPV = "3_00_00_01"
+
+PR = "r7"
+
+# Quality control is really poor on these SDKs, so hack around the latest madness:
+FILES_${PN} += "${libdir}/*.so"
+FILES_${PN}-dev = "${includedir}"
+
diff --git a/packages/powervr-drivers/libgles-omap3_3.00.00.05.bb b/packages/powervr-drivers/libgles-omap3_3.00.00.05.bb
new file mode 100644
index 0000000000..43f6a55269
--- /dev/null
+++ b/packages/powervr-drivers/libgles-omap3_3.00.00.05.bb
@@ -0,0 +1,12 @@
+require libgles-omap3.inc
+
+# Not released yet
+DEFAULT_PREFERENCE = "-1"
+PR = "r1"
+
+SGXPV = "3_00_00_05"
+
+# Quality control is really poor on these SDKs, so hack around the latest madness:
+FILES_${PN} += "${libdir}/*.so"
+FILES_${PN}-dev = "${includedir}"
+