Patchwork [meta-multimedia,v2,1/2] gupnp: add support for PR, and INC_PR

login
register
mail settings
Submitter Nicolas Dechesne
Date April 11, 2013, 8:57 a.m.
Message ID <1365670626-18585-2-git-send-email-ndec@linaro.org>
Download mbox | patch
Permalink /patch/47897/
State Superseded, archived
Headers show

Comments

Nicolas Dechesne - April 11, 2013, 8:57 a.m.
This set of recipe was not implementing any versioning with PR
variable. Also, since the .bb files include .inc file, we also add
support for INC_PR.

Signed-off-by: Nicolas Dechesne <ndec@linaro.org>
---
 meta-multimedia/recipes-connectivity/gupnp/gupnp.inc       | 2 ++
 meta-multimedia/recipes-connectivity/gupnp/gupnp_0.18.4.bb | 2 ++
 meta-multimedia/recipes-connectivity/gupnp/gupnp_0.19.3.bb | 2 ++
 3 files changed, 6 insertions(+)

Patch

diff --git a/meta-multimedia/recipes-connectivity/gupnp/gupnp.inc b/meta-multimedia/recipes-connectivity/gupnp/gupnp.inc
index 81db3ea..31dd407 100644
--- a/meta-multimedia/recipes-connectivity/gupnp/gupnp.inc
+++ b/meta-multimedia/recipes-connectivity/gupnp/gupnp.inc
@@ -2,6 +2,8 @@  SUMMARY = "UPnP framework"
 DESCRIPTION = "GUPnP is an elegant, object-oriented open source framework for creating UPnP  devices and control points, written in C using GObject and libsoup. The GUPnP API is intended to be easy to use, efficient and flexible. It provides the same set of features as libupnp, but shields the developer from most of UPnP's internals."
 LICENSE = "LGPLv2+"
 
+INC_PR = "r0"
+
 DEPENDS = "e2fsprogs gssdp libsoup-2.4 libxml2 gnome-icon-theme gobject-introspection-stub"
 
 require no-vala.inc
diff --git a/meta-multimedia/recipes-connectivity/gupnp/gupnp_0.18.4.bb b/meta-multimedia/recipes-connectivity/gupnp/gupnp_0.18.4.bb
index 4fb1d05..5e6ea35 100644
--- a/meta-multimedia/recipes-connectivity/gupnp/gupnp_0.18.4.bb
+++ b/meta-multimedia/recipes-connectivity/gupnp/gupnp_0.18.4.bb
@@ -1,5 +1,7 @@ 
 require gupnp.inc
 
+PR = "${INC_PR}.0"
+
 SRC_URI = "http://download.gnome.org/sources/${BPN}/0.18/${BPN}-${PV}.tar.xz"
 SRC_URI[md5sum] = "0e15fa26be7b1a0255e6dec07c285527"
 SRC_URI[sha256sum] = "6b437d5711b212292c6080626b97480268310da636a6cf937ad6119291af78a1"
diff --git a/meta-multimedia/recipes-connectivity/gupnp/gupnp_0.19.3.bb b/meta-multimedia/recipes-connectivity/gupnp/gupnp_0.19.3.bb
index bab74b8..c064d03 100644
--- a/meta-multimedia/recipes-connectivity/gupnp/gupnp_0.19.3.bb
+++ b/meta-multimedia/recipes-connectivity/gupnp/gupnp_0.19.3.bb
@@ -1,5 +1,7 @@ 
 require gupnp.inc
 
+PR = "${INC_PR}.0"
+
 SRC_URI = "http://download.gnome.org/sources/${BPN}/0.19/${BPN}-${PV}.tar.xz"
 SRC_URI[md5sum] = "8165c3ad3d16576a0a99250b75df23f8"
 SRC_URI[sha256sum] = "0d3097c419e1f8af0ff8ee91318d75e8896b3b92924cb1a5cf93010795a7118b"