aboutsummaryrefslogtreecommitdiffstats
path: root/classes/xfce.bbclass
diff options
context:
space:
mode:
Diffstat (limited to 'classes/xfce.bbclass')
-rw-r--r--classes/xfce.bbclass26
1 files changed, 26 insertions, 0 deletions
diff --git a/classes/xfce.bbclass b/classes/xfce.bbclass
index e69de29bb2..02e9559fbc 100644
--- a/classes/xfce.bbclass
+++ b/classes/xfce.bbclass
@@ -0,0 +1,26 @@
+# xfce.oeclass
+# Copyright (C) 2004, Advanced Micro Devices, Inc. All Rights Reserved
+# Released under the MIT license (see packages/COPYING)
+
+# Global class to make it easier to maintain XFCE packages
+
+HOMEPAGE="http://www.xfce.org"
+LICENSE="LGPL-2"
+
+SRC_URI="http://www.us.xfce.org/archive/xfce-${PV}/src/${PN}-${PV}.tar.gz"
+
+# Most, but not *all* packages use pkgconfig, so we can't include it here
+# too
+
+inherit autotools
+
+EXTRA_OECONF += "--with-pluginsdir=${libdir}/xfce4/panel-plugins/"
+
+# FIXME: Put icons in their own package too?
+
+PACKAGES += "${PN}-mcs-plugins ${PN}-panel-plugins"
+
+FILES_${PN} += "${datadir}/icons/* ${datadir}/applications/* ${libdir}/xfce4/modules/*.so*"
+FILES_${PN}-panel-plugins += "${libdir}/xfce4/panel-plugins/*.so*"
+FILES_${PN}-doc += " ${datadir}/xfce4/doc"
+FILES_${PN}-mcs-plugins="${libdir}/xfce4/mcs-plugins/*.so"