From: Otavio Salvador Date: Fri, 13 Jun 2008 22:21:44 +0000 (-0300) Subject: XFCE: allow to set a specific release to be used while grabbing the source X-Git-Tag: Release-2010-05/1~5716^2~93 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c8f54eb5d185c8d24da981370ca71507dcbd95e4;p=openembedded.git XFCE: allow to set a specific release to be used while grabbing the source This will be used to avoid duplicated code in many XFCE related recipes. Without that, all recipes that uses a different version then the global XFCE release need to specify the SRC_URI making harder to update and change the mirror to be used globaly. --- diff --git a/classes/xfce.bbclass b/classes/xfce.bbclass index c6ccc5fd2c..48e012e67e 100644 --- a/classes/xfce.bbclass +++ b/classes/xfce.bbclass @@ -8,7 +8,8 @@ HOMEPAGE = "http://www.xfce.org" LICENSE = "LGPL-2" DEPENDS += "startup-notification" -SRC_URI = "http://www.us.xfce.org/archive/xfce-${PV}/src/${PN}-${PV}.tar.bz2" +XFCE_VERSION = ${PV} +SRC_URI = "http://www.us.xfce.org/archive/xfce-${XFCE_VERSION}/src/${PN}-${PV}.tar.bz2" inherit autotools