Patchwork [3/4] libatasmart: fix QA warnings

login
register
mail settings
Submitter Andreas Müller
Date March 27, 2012, 1:03 p.m.
Message ID <1332853398-9501-3-git-send-email-schnitzeltony@googlemail.com>
Download mbox | patch
Permalink /patch/24653/
State Accepted
Commit f4dedbcc6341a106b01087a5c1751caf845ee06f
Headers show

Comments

Andreas Müller - March 27, 2012, 1:03 p.m.
fix the following warnings:
WARNING: For recipe libatasmart, the following files/directories were installed but not shipped in any package:
WARNING:   /usr/share/vala
WARNING:   /usr/share/vala/vapi
WARNING:   /usr/share/vala/vapi/atasmart.vapi

Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
---
 .../libatasmart/libatasmart_0.17.bb                |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)

Patch

diff --git a/meta-oe/recipes-support/libatasmart/libatasmart_0.17.bb b/meta-oe/recipes-support/libatasmart/libatasmart_0.17.bb
index c8f75f8..6162b58 100644
--- a/meta-oe/recipes-support/libatasmart/libatasmart_0.17.bb
+++ b/meta-oe/recipes-support/libatasmart/libatasmart_0.17.bb
@@ -2,6 +2,8 @@  DESCRIPTION = "ATA S.M.A.R.T. Reading and Parsing Library"
 LICENSE = "LGPLv2.1"
 LIC_FILES_CHKSUM = "file://LGPL;md5=2d5025d4aa3495befef8f17206a5b0a1"
 
+PR = "r1"
+
 DEPENDS = "udev"
 
 SRCREV = "v${PV}"
@@ -15,3 +17,6 @@  inherit autotools lib_package
 do_install_append() {
 	sed -i -e s://:/:g -e 's:=${libdir}/libudev.la:-ludev:g' ${D}${libdir}/libatasmart.la
 }
+
+PACKAGES =+ "${PN}-dev-vala"
+FILES_${PN}-dev-vala = "${datadir}/vala"