Part of Slepp's ProjectsPastebinTURLImagebinFilebin
Feedback -- English French German Japanese
Create Upload Newest Tools Donate
Sign In | Create Account

Untitled
Wednesday, March 27th, 2013 at 9:17:53pm UTC 

  1. SUMMARY = "EMGD 1.8 xserver binaries"
  2. DESCRIPTION = "EMGD 1.8 includes some userspace binaries that use non-free \
  3. licensing, which are now available via a non-click-through downloadable \
  4. tarball, and is what this recipe now uses.  Since it is a non-free license, \
  5. this recipe is marked as 'License_emgd-driver-bin_1.8' and you need to add \
  6. to LICENSE_FLAGS_WHITELIST += \"License_emgd-driver-bin_1.8\" to your \
  7. local.conf in order to enable it in a build."
  8. LICENSE = "Intel-binary-only"
  9. LICENSE_FLAGS = "license_${PN}_${PV}"
  10. PR = "r1"
  11.  
  12. EMGD_LIC_DIR = "IEMGD_HEAD_Linux/License"
  13. EMGD_RPM_DIR = "IEMGD_HEAD_Linux/MeeGo1.2"
  14. EMGD_VIDEO_PLUGIN_DIR = "../common/video_plugin"
  15.  
  16. LIC_FILES_CHKSUM = "file://${WORKDIR}/${EMGD_LIC_DIR}/License.txt;md5=b54f01caaf8483b3cb60c0c40f2bf22d"
  17.  
  18. DEPENDS = "rpm-native xz-native"
  19.  
  20. SRC_URI = "file://IEMGD_HEAD_Linux.tgz;name=driver \
  21.            file://CongaQA6.x;name=xconfig "
  22.  
  23. SRC_URI[driver.md5sum] = "717a69afc6bf56259a388445e0c5f36a"
  24. SRC_URI[driver.sha256sum] = "a768af74e561558f28148cd9779b976a01a242f145b02eed928681024d71aa68"
  25. SRC_URI[xconfig.md5sum] = "f2f0e7e6242dd6f679b447267cc02a23"
  26. SRC_URI[xconfig.sha256sum] = "455e1c836e606c97e01a75b00d63c6d9843b4558a375a5e1c6f7007562a7c40b"
  27.  
  28. # These are closed binaries generated elsewhere so don't check ldflags
  29. INSANE_SKIP_${PN} = "ldflags"
  30.  
  31. FILES_${PN} += "${libdir}/dri ${libdir}/gstreamer-0.10 ${libdir}/xorg/modules/drivers"
  32. FILES_${PN}-dbg += "${libdir}/xorg/modules/drivers/.debug ${libdir}/dri/.debug"
  33.  
  34. S = "${WORKDIR}/${EMGD_RPM_DIR}"
  35.  
  36. do_install () {
  37.     # A gstreamer VA buffer library
  38.     rpm2cpio ${S}/${EMGD_VIDEO_PLUGIN_DIR}/gst-vabuffer*.rpm | cpio -id
  39.  
  40.     # MIX Common contains common classes, datatype, header files used by other MIX components
  41.     rpm2cpio ${S}/${EMGD_VIDEO_PLUGIN_DIR}/mixcommon*.rpm | cpio -id
  42.  
  43.     # MIX Video Bitstream Parser is an user library interface for various video format bitstream parsing
  44.     rpm2cpio ${S}/${EMGD_VIDEO_PLUGIN_DIR}/mixvbp*.rpm | cpio -id
  45.  
  46.     # MIX Video is an user library interface for various video codecs available on the platform.
  47.     rpm2cpio ${S}/${EMGD_VIDEO_PLUGIN_DIR}/mixvideo*.rpm | cpio -id
  48.  
  49.     install -d -m 0755                                    ${D}${libdir}/gstreamer-0.10
  50.     install -m 0755 ${S}/usr/lib/*                        ${D}${libdir}/
  51.  
  52.     # A gstreamer plugin that uses MIX Video for hardware accelerated video decoding and rendering.
  53.     rpm2cpio ${S}/${EMGD_VIDEO_PLUGIN_DIR}/gst-plugins-mixvideo*.rpm | cpio -id
  54.  
  55.     # A collection of gstreamer plugins that uses VA libraries for hardware accelerated video rendering and text overlay.
  56.     rpm2cpio ${S}/${EMGD_VIDEO_PLUGIN_DIR}/gst-plugins-va*.rpm | cpio -id
  57.  
  58.     install -m 0755 ${S}/usr/lib/gstreamer-0.10/*         ${D}${libdir}/gstreamer-0.10/
  59.  
  60.     # EMGD runtime graphics libraries
  61.     rpm2cpio ${S}/emgd-bin*.rpm | xz -d | cpio -id
  62.  
  63.     install -d -m 0755                                    ${D}${libdir}/dri
  64.     install -d -m 0755                                    ${D}${libdir}/xorg/modules/drivers
  65.     install -d -m 0755                                    ${D}${sysconfdir}
  66.     install -d -m 0755                                    ${D}${mandir}/man4
  67.     install -m 0755 ${S}/usr/lib/*.so.*                   ${D}${libdir}/
  68.     install -m 0755 ${S}/usr/lib/dri/*                    ${D}${libdir}/dri/
  69.     install -m 0755 ${S}/usr/lib/xorg/modules/drivers/*   ${D}${libdir}/xorg/modules/drivers/
  70.     install -m 0755 ${S}/etc/*                            ${D}${sysconfdir}/
  71.     install -m 0755 ${S}/usr/share/man/man4/*             ${D}${mandir}/man4/
  72.  
  73.     # Khronos development headers needed for EGL, OpenGL-ES, and OpenVG development
  74.     rpm2cpio ${S}/emgd-devel*.rpm | xz -d | cpio -id
  75.  
  76.     install -d -m 0755                                    ${D}${includedir}/EGL
  77.     install -m 0755 ${S}/usr/include/EGL/*.h              ${D}${includedir}/EGL/
  78.     install -d -m 0755                                    ${D}${includedir}/GLES
  79.     install -m 0755 ${S}/usr/include/GLES/*.h             ${D}${includedir}/GLES/
  80.     install -d -m 0755                                    ${D}${includedir}/GLES2
  81.     install -m 0755 ${S}/usr/include/GLES2/*.h            ${D}${includedir}/GLES2/
  82.     install -d -m 0755                                    ${D}${includedir}/KHR
  83.     install -m 0755 ${S}/usr/include/KHR/*.h              ${D}${includedir}/KHR/
  84.     install -d -m 0755                                    ${D}${includedir}/VG
  85.     install -m 0755 ${S}/usr/include/VG/*.h               ${D}${includedir}/VG/
  86.  
  87.     ln -sf libEGL.so.1                                    ${D}${libdir}/libEGL.so
  88.     ln -sf libGLES_CM.so.1                                ${D}${libdir}/libGLES_CM.so
  89.     ln -sf libGLESv2.so.2                                 ${D}${libdir}/libGLESv2.so
  90.     ln -sf libOpenVG.so.1                                 ${D}${libdir}/libOpenVG.so
  91.     ln -sf libOpenVGU.so.1                                ${D}${libdir}/libOpenVGU.so
  92. }
  93.  
  94. LEAD_SONAME = "libEGL.so"

Update the Post

Either update this post and resubmit it with changes, or make a new post.

You may also comment on this post.

update paste below
details of the post (optional)

Note: Only the paste content is required, though the following information can be useful to others.

Save name / title?

(space separated, optional)



Please note that information posted here will expire by default in one month. If you do not want it to expire, please set the expiry time above. If it is set to expire, web search engines will not be allowed to index it prior to it expiring. Items that are not marked to expire will be indexable by search engines. Be careful with your passwords. All illegal activities will be reported and any information will be handed over to the authorities, so be good.

comments powered by Disqus
worth-right
worth-right