summaryrefslogtreecommitdiffstats
path: root/meta-xfce/classes/xfce.bbclass
diff options
context:
space:
mode:
Diffstat (limited to 'meta-xfce/classes/xfce.bbclass')
-rw-r--r--meta-xfce/classes/xfce.bbclass20
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 @@
1def 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
6HOMEPAGE = "http://www.xfce.org"
7SRC_URI = "http://archive.xfce.org/src/xfce/${BPN}/${@xfce_verdir("${PV}")}/${BPN}-${PV}.tar.bz2"
8
9inherit autotools gettext gtk-icon-cache pkgconfig
10
11FILES_${PN} += "${datadir}/icons/* ${datadir}/applications/* ${libdir}/xfce4/modules/*.so*"
12FILES_${PN}-doc += "${datadir}/xfce4/doc"
13
14FILES_${PN}-dev += "${libdir}/xfce4/*/*.la"
15FILES_${PN}-dev += "${libdir}/xfce4/*/*/*.la"
16FILES_${PN}-staticdev += "${libdir}/xfce4/*/*.a"
17FILES_${PN}-staticdev += "${libdir}/xfce4/*/*/*.a"
18FILES_${PN}-dbg += "${libdir}/xfce4/*/.debug"
19FILES_${PN}-dbg += "${libdir}/xfce4/*/*/.debug"
20