From 1786b04aa2fde02e0b1db4dcd2ff7be54381e8ce Mon Sep 17 00:00:00 2001 From: Paul Eggleton Date: Sun, 13 May 2012 23:58:58 +0100 Subject: Fix Opie Git recipes to use SRCPV Using SRCPV we get e.g. 1.2.5+git1+... and the number will increment when OPIE_SRCREV changes, ensuring that the version number doesn't go backwards (although it will once for this change if you have existing packages beforehand, unfortunately). Signed-off-by: Paul Eggleton --- recipes-opie/opie-reader/opie-reader_git.bb | 4 ++-- recipes-opie/opie-reader/uqtreader_git.bb | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'recipes-opie/opie-reader') diff --git a/recipes-opie/opie-reader/opie-reader_git.bb b/recipes-opie/opie-reader/opie-reader_git.bb index cb25629..9bfe75b 100644 --- a/recipes-opie/opie-reader/opie-reader_git.bb +++ b/recipes-opie/opie-reader/opie-reader_git.bb @@ -1,9 +1,9 @@ require ${PN}.inc -PV = "${OPIE_GIT_PV}" +inherit opie_git PR = "${INC_PR}.0" -SRC_URI = "${OPIE_GIT};protocol=git;subpath=noncore/apps/opie-reader \ +SRC_URI = "${OPIE_GIT};protocol=git;subpath=noncore/apps/opie-reader;name=first \ ${OPIE_GIT};protocol=git;subpath=pics \ ${OPIE_GIT};protocol=git;subpath=apps" diff --git a/recipes-opie/opie-reader/uqtreader_git.bb b/recipes-opie/opie-reader/uqtreader_git.bb index 019d8c0..f6261d4 100644 --- a/recipes-opie/opie-reader/uqtreader_git.bb +++ b/recipes-opie/opie-reader/uqtreader_git.bb @@ -10,7 +10,7 @@ SRCDATE = "20070601" PV = "1.2.2opie+cvs${SRCDATE}" PR = "r4" -SRC_URI = "${OPIE_GIT};protocol=git;subpath=noncore/apps/opie-reader \ +SRC_URI = "${OPIE_GIT};protocol=git;subpath=noncore/apps/opie-reader;name=first \ ${OPIE_GIT};protocol=git;subpath=pics \ ${OPIE_GIT};protocol=git;subpath=apps \ file://qt4.patch" -- cgit 1.2.3-korg