diff options
Diffstat (limited to 'meta-xfce/classes/xfce.bbclass')
-rw-r--r-- | meta-xfce/classes/xfce.bbclass | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/meta-xfce/classes/xfce.bbclass b/meta-xfce/classes/xfce.bbclass new file mode 100644 index 000000000..f4ef55643 --- /dev/null +++ b/meta-xfce/classes/xfce.bbclass | |||
@@ -0,0 +1,20 @@ | |||
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 | |||
6 | HOMEPAGE = "http://www.xfce.org" | ||
7 | SRC_URI = "http://archive.xfce.org/src/xfce/${BPN}/${@xfce_verdir("${PV}")}/${BPN}-${PV}.tar.bz2" | ||
8 | |||
9 | inherit autotools gettext gtk-icon-cache pkgconfig | ||
10 | |||
11 | FILES_${PN} += "${datadir}/icons/* ${datadir}/applications/* ${libdir}/xfce4/modules/*.so*" | ||
12 | FILES_${PN}-doc += "${datadir}/xfce4/doc" | ||
13 | |||
14 | FILES_${PN}-dev += "${libdir}/xfce4/*/*.la" | ||
15 | FILES_${PN}-dev += "${libdir}/xfce4/*/*/*.la" | ||
16 | FILES_${PN}-staticdev += "${libdir}/xfce4/*/*.a" | ||
17 | FILES_${PN}-staticdev += "${libdir}/xfce4/*/*/*.a" | ||
18 | FILES_${PN}-dbg += "${libdir}/xfce4/*/.debug" | ||
19 | FILES_${PN}-dbg += "${libdir}/xfce4/*/*/.debug" | ||
20 | |||