summaryrefslogtreecommitdiffstats
path: root/meta-openembedded/meta-xfce/classes
diff options
context:
space:
mode:
authorDave Cobbley <david.j.cobbley@linux.intel.com>2018-08-14 10:05:37 -0700
committerBrad Bishop <bradleyb@fuzziesquirrel.com>2018-08-22 21:26:31 -0400
commiteb8dc40360f0cfef56fb6947cc817a547d6d9bc6 (patch)
treede291a73dc37168da6370e2cf16c347d1eba9df8 /meta-openembedded/meta-xfce/classes
parent9c3cf826d853102535ead04cebc2d6023eff3032 (diff)
downloadtalos-openbmc-eb8dc40360f0cfef56fb6947cc817a547d6d9bc6.tar.gz
talos-openbmc-eb8dc40360f0cfef56fb6947cc817a547d6d9bc6.zip
[Subtree] Removing import-layers directory
As part of the move to subtrees, need to bring all the import layers content to the top level. Change-Id: I4a163d10898cbc6e11c27f776f60e1a470049d8f Signed-off-by: Dave Cobbley <david.j.cobbley@linux.intel.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
Diffstat (limited to 'meta-openembedded/meta-xfce/classes')
-rw-r--r--meta-openembedded/meta-xfce/classes/thunar-plugin.bbclass12
-rw-r--r--meta-openembedded/meta-xfce/classes/xfce-app.bbclass6
-rw-r--r--meta-openembedded/meta-xfce/classes/xfce-git.bbclass7
-rw-r--r--meta-openembedded/meta-xfce/classes/xfce-panel-plugin.bbclass13
-rw-r--r--meta-openembedded/meta-xfce/classes/xfce.bbclass22
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"
+
OpenPOWER on IntegriCloud