Squashed 'import-layers/meta-openembedded/' content from commit 247b126

Change-Id: I40827e9ce5fba63f1cca2a0be44976ae8383b4c0
git-subtree-dir: import-layers/meta-openembedded
git-subtree-split: 247b1267bbe95719cd4877d2d3cfbaf2a2f4865a
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
diff --git a/import-layers/meta-openembedded/meta-xfce/classes/xfce.bbclass b/import-layers/meta-openembedded/meta-xfce/classes/xfce.bbclass
new file mode 100644
index 0000000..b49bba1
--- /dev/null
+++ b/import-layers/meta-openembedded/meta-xfce/classes/xfce.bbclass
@@ -0,0 +1,22 @@
+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}/${@xfce_verdir("${PV}")}/${BPN}-${PV}.tar.bz2"
+
+inherit autotools gettext gtk-icon-cache pkgconfig
+
+DEPENDS += "intltool-native"
+
+FILES_${PN} += "${datadir}/icons/* ${datadir}/applications/* ${libdir}/xfce4/modules/*.so*"
+FILES_${PN}-doc += "${datadir}/xfce4/doc"
+
+FILES_${PN}-dev += "${libdir}/xfce4/*/*.la"
+FILES_${PN}-dev += "${libdir}/xfce4/*/*/*.la"
+FILES_${PN}-staticdev += "${libdir}/xfce4/*/*.a"
+FILES_${PN}-staticdev += "${libdir}/xfce4/*/*/*.a"
+FILES_${PN}-dbg += "${libdir}/xfce4/*/.debug"
+FILES_${PN}-dbg += "${libdir}/xfce4/*/*/.debug"
+