XFCE: allow to set a specific release to be used while grabbing the source
authorOtavio Salvador <otavio@ossystems.com.br>
Fri, 13 Jun 2008 22:21:44 +0000 (19:21 -0300)
committerOtavio Salvador <otavio@ossystems.com.br>
Fri, 17 Oct 2008 17:08:00 +0000 (14:08 -0300)
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.

classes/xfce.bbclass

index c6ccc5f..48e012e 100644 (file)
@@ -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