Patchwork [07/12] gpu-viv-g2d: Fix packaging

login
register
mail settings
Submitter Otavio Salvador
Date Jan. 25, 2014, 10:09 p.m.
Message ID <1390687761-13479-8-git-send-email-otavio@ossystems.com.br>
Download mbox | patch
Permalink /patch/65815/
State Changes Requested
Delegated to: Otavio Salvador
Headers show

Comments

Otavio Salvador - Jan. 25, 2014, 10:09 p.m.
This rework the packaging:

 - add missing licence check file
 - package the .so lib in ${PN}
 - remove override of ${PN}-dbg

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
---

 recipes-graphics/gpu-viv-g2d/gpu-viv-g2d.inc | 9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)

Patch

diff --git a/recipes-graphics/gpu-viv-g2d/gpu-viv-g2d.inc b/recipes-graphics/gpu-viv-g2d/gpu-viv-g2d.inc
index f044a76..dcbc7e5 100644
--- a/recipes-graphics/gpu-viv-g2d/gpu-viv-g2d.inc
+++ b/recipes-graphics/gpu-viv-g2d/gpu-viv-g2d.inc
@@ -1,10 +1,14 @@ 
-# Copyright (C) 2013 Freescale Semiconductor
+# Copyright (C) 2013, 2014 Freescale Semiconductor
 
 DESCRIPTION = "GPU Vivante G2D library and sample applications for imx6"
 SECTION = "libs"
 LICENSE = "Proprietary"
+LIC_FILES_CHKSUM = "file://usr/include/g2d.h;endline=7;md5=861ebad4adc7236f8d1905338abd7eb2"
+
 PROVIDES += "virtual/libg2d"
 
+PACKAGES = "${PN} ${PN}-dev ${PN}-dbg"
+
 inherit fsl-eula-unpack
 
 PE = "1"
@@ -35,8 +39,7 @@  do_install () {
 REALSOLIBS := "${SOLIBS}"
 SOLIBS = "${SOLIBSDEV}"
 
-FILES_${PN} = "/opt ${libdir}/libg2d${SOLIBS} "
+FILES_${PN} += "/opt ${libdir}/libg2d${SOLIBS}"
 FILES_${PN}-dev = "${includedir}"
-FILES_${PN}-dbg = "${libdir}/.debug/libg2d${SOLIBS}"
 
 COMPATIBLE_MACHINE = "(mx6)"