summaryrefslogtreecommitdiff
path: root/classes/xfce46.bbclass
diff options
context:
space:
mode:
authorDavid-John Willis <John.Willis@Distant-earth.com>2009-10-25 10:55:35 +0000
committerKoen Kooi <koen@openembedded.org>2009-10-27 15:26:58 +0100
commit6de8a003f930bfade8502cf80617009a9c96c278 (patch)
treedf6b663adb93ba0ebf7f76def629e13dd4b89c1f /classes/xfce46.bbclass
parentcf508f496dae24acc1b4fd3cecb5dd191b5d69b6 (diff)
xfce46.bbclass: Add a helper class for XFCE 4.6 (based on the existing xfce.bbclass).
Diffstat (limited to 'classes/xfce46.bbclass')
-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"