summaryrefslogtreecommitdiff
path: root/classes
diff options
context:
space:
mode:
Diffstat (limited to 'classes')
-rw-r--r--classes/xfce46.bbclass28
1 files changed, 28 insertions, 0 deletions
diff --git a/classes/xfce46.bbclass b/classes/xfce46.bbclass
new file mode 100644
index 0000000000..84b73cda56
--- /dev/null
+++ b/classes/xfce46.bbclass
@@ -0,0 +1,28 @@
+# xfce46.bbclass
+
+# Global class to help maintain XFCE 4.6.* packages
+
+HOMEPAGE = "http://www.xfce.org"
+LICENSE = "LGPLv2"
+
+DEPENDS += "startup-notification"
+
+SECTION ?= "x11/xfce"
+
+XFCE_VERSION = ${PV}
+
+SRC_URI = "http://www.us.xfce.org/archive/xfce-${XFCE_VERSION}/src/${PN}-${PV}.tar.bz2"
+
+inherit autotools gtk-icon-cache pkgconfig
+
+AUTOTOOLS_STAGE_PKGCONFIG = "1"
+
+EXTRA_OECONF += "--with-pluginsdir=${libdir}/xfce4/panel-plugins/"
+
+# FIXME: Put icons in their own package too?
+
+FILES_${PN} += "${datadir}/icons/* ${datadir}/applications/* ${libdir}/xfce4/modules/*.so*"
+FILES_${PN}-doc += "${datadir}/xfce4/doc"
+
+FILES_${PN}-dev += "${libdir}/xfce4/*/*.la"
+FILES_${PN}-dbg += "${libdir}/xfce4/*/.debug"