[oe-commits] Koen Kooi : libgles-omap3: add 3...5 release, rework packaging a bit

GIT User account git at amethyst.openembedded.net
Tue Jan 6 08:37:16 UTC 2009


Module: openembedded.git
Branch: org.openembedded.dev
Commit: acb9402cea72609fd3798b69b225cf00f616f46e
URL:    http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=acb9402cea72609fd3798b69b225cf00f616f46e

Author: Koen Kooi <koen at openembedded.org>
Date:   Mon Jan  5 19:49:32 2009 +0100

libgles-omap3: add 3...5 release, rework packaging a bit

---

 .../{libgles-omap3_1.0.bb => libgles-omap3.inc}    |   17 +++++++----------
 .../powervr-drivers/libgles-omap3_3.00.00.01.bb    |   10 ++++++++++
 .../powervr-drivers/libgles-omap3_3.00.00.05.bb    |   12 ++++++++++++
 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
similarity index 80%
rename from packages/powervr-drivers/libgles-omap3_1.0.bb
rename to packages/powervr-drivers/libgles-omap3.inc
index b18b7a4..612d311 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 0000000..1f7adfe
--- /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 0000000..43f6a55
--- /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}"
+





More information about the Openembedded-commits mailing list