diff options
Diffstat (limited to 'meta-openembedded/meta-xfce/classes')
5 files changed, 60 insertions, 0 deletions
diff --git a/meta-openembedded/meta-xfce/classes/thunar-plugin.bbclass b/meta-openembedded/meta-xfce/classes/thunar-plugin.bbclass new file mode 100644 index 000000000..95f7d0088 --- /dev/null +++ b/meta-openembedded/meta-xfce/classes/thunar-plugin.bbclass @@ -0,0 +1,12 @@ +inherit xfce distro_features_check + +REQUIRED_DISTRO_FEATURES = "x11" + +DEPENDS += "thunar" + +SRC_URI = "http://archive.xfce.org/src/thunar-plugins/${BPN}/${@'${PV}'[0:3]}/${BPN}-${PV}.tar.bz2" + +FILES_${PN} += "${libdir}/thunarx-2/*.so" +FILES_${PN}-dbg += "${libdir}/thunarx-2/.debug" +FILES_${PN}-dev += "${libdir}/thunarx-2/*.la" + diff --git a/meta-openembedded/meta-xfce/classes/xfce-app.bbclass b/meta-openembedded/meta-xfce/classes/xfce-app.bbclass new file mode 100644 index 000000000..1c31c2faa --- /dev/null +++ b/meta-openembedded/meta-xfce/classes/xfce-app.bbclass @@ -0,0 +1,6 @@ +inherit xfce distro_features_check + +REQUIRED_DISTRO_FEATURES = "x11" + +SRC_URI = "http://archive.xfce.org/src/apps/${BPN}/${@xfce_verdir("${PV}")}/${BPN}-${PV}.tar.bz2" + diff --git a/meta-openembedded/meta-xfce/classes/xfce-git.bbclass b/meta-openembedded/meta-xfce/classes/xfce-git.bbclass new file mode 100644 index 000000000..3fc18d275 --- /dev/null +++ b/meta-openembedded/meta-xfce/classes/xfce-git.bbclass @@ -0,0 +1,7 @@ +do_configure_prepend() { + cd ${S} + NOCONFIGURE=yes ./autogen.sh + cd ${B} +} + +AUTOTOOLS_COPYACLOCAL = "1" diff --git a/meta-openembedded/meta-xfce/classes/xfce-panel-plugin.bbclass b/meta-openembedded/meta-xfce/classes/xfce-panel-plugin.bbclass new file mode 100644 index 000000000..6515dc0d4 --- /dev/null +++ b/meta-openembedded/meta-xfce/classes/xfce-panel-plugin.bbclass @@ -0,0 +1,13 @@ +inherit xfce distro_features_check + +REQUIRED_DISTRO_FEATURES = "x11" + +DEPENDS += "libxfce4ui libxfce4util xfce4-panel" + +SRC_URI = "http://archive.xfce.org/src/panel-plugins/${BPN}/${@'${PV}'[0:3]}/${BPN}-${PV}.tar.bz2" + +FILES_${PN} += "${datadir}/xfce4/panel-plugins/" +FILES_${PN} += "${datadir}/xfce4/panel/plugins/" +FILES_${PN} += "${libdir}/xfce4/panel-plugins/*.so" +FILES_${PN} += "${libdir}/xfce4/panel/plugins/*.so" +FILES_${PN}-dbg += "${libexecdir}/xfce4/panel-plugins/.debug" diff --git a/meta-openembedded/meta-xfce/classes/xfce.bbclass b/meta-openembedded/meta-xfce/classes/xfce.bbclass new file mode 100644 index 000000000..b49bba19b --- /dev/null +++ b/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" + |