mirror of
git://git.openembedded.org/meta-openembedded
synced 2026-01-01 13:58:06 +00:00
xfce.bbclass: change SRC_URI calculation
* grabbed from oe-core gnomebase.bbclass * old calculation did not work for version numbers with multiple digits (4.10) Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
This commit is contained in:
parent
4d234731b2
commit
a2417b3b98
|
|
@ -1,5 +1,10 @@
|
|||
def xfce_verdir(v):
|
||||
import re
|
||||
m = re.match("^([0-9]+)\.([0-9]+)", v)
|
||||
return "%s.%s" % (m.group(1), m.group(2))
|
||||
|
||||
HOMEPAGE = "http://www.xfce.org"
|
||||
SRC_URI = "http://archive.xfce.org/src/xfce/${BPN}/${@'${PV}'[0:3]}/${BPN}-${PV}.tar.bz2"
|
||||
SRC_URI = "http://archive.xfce.org/src/xfce/${BPN}/${@xfce_verdir("${PV}")}/${BPN}-${PV}.tar.bz2"
|
||||
|
||||
inherit autotools gettext gtk-icon-cache pkgconfig
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user