diff options
| author | Koen Kooi <koen@dominion.thruhere.net> | 2012-09-26 09:35:45 +0200 |
|---|---|---|
| committer | Koen Kooi <koen@dominion.thruhere.net> | 2012-09-26 09:35:45 +0200 |
| commit | d804e882724b22e73153c0cafbc7f98593dfa756 (patch) | |
| tree | 13ceacc59273bced2ca0bde66d79f7c3efa41882 /meta-xfce/classes | |
| parent | 7c5fb741a4e89e2977b823717ca20e9282a02bd1 (diff) | |
| parent | 9b6ec8e06ae8d618b2b31dd7e752efe35d44e327 (diff) | |
| download | meta-openembedded-d804e882724b22e73153c0cafbc7f98593dfa756.tar.gz | |
Merge branch 'xfce-4.10' of git://gitorious.org/schnitzeltony-oe-meta/meta-openembedded
Diffstat (limited to 'meta-xfce/classes')
| -rw-r--r-- | meta-xfce/classes/xfce.bbclass | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/meta-xfce/classes/xfce.bbclass b/meta-xfce/classes/xfce.bbclass index 2350c2703f..f4ef55643b 100644 --- a/meta-xfce/classes/xfce.bbclass +++ b/meta-xfce/classes/xfce.bbclass | |||
| @@ -1,5 +1,10 @@ | |||
| 1 | def xfce_verdir(v): | ||
| 2 | import re | ||
| 3 | m = re.match("^([0-9]+)\.([0-9]+)", v) | ||
| 4 | return "%s.%s" % (m.group(1), m.group(2)) | ||
| 5 | |||
| 1 | HOMEPAGE = "http://www.xfce.org" | 6 | HOMEPAGE = "http://www.xfce.org" |
| 2 | SRC_URI = "http://archive.xfce.org/src/xfce/${BPN}/${@'${PV}'[0:3]}/${BPN}-${PV}.tar.bz2" | 7 | SRC_URI = "http://archive.xfce.org/src/xfce/${BPN}/${@xfce_verdir("${PV}")}/${BPN}-${PV}.tar.bz2" |
| 3 | 8 | ||
| 4 | inherit autotools gettext gtk-icon-cache pkgconfig | 9 | inherit autotools gettext gtk-icon-cache pkgconfig |
| 5 | 10 | ||
