diff options
author | Tudor Florea <tudor.florea@enea.com> | 2015-10-08 22:51:41 +0200 |
---|---|---|
committer | Tudor Florea <tudor.florea@enea.com> | 2015-10-08 22:51:41 +0200 |
commit | 1219bf8a90a7bf8cd3a5363551ef635d51e8fc8e (patch) | |
tree | a21a5fc103bb3bd65ecd85ed22be5228fc54e447 /meta-xfce/classes | |
download | meta-openembedded-1219bf8a90a7bf8cd3a5363551ef635d51e8fc8e.tar.gz |
initial commit for Enea Linux 5.0 arm
Signed-off-by: Tudor Florea <tudor.florea@enea.com>
Diffstat (limited to 'meta-xfce/classes')
-rw-r--r-- | meta-xfce/classes/thunar-plugin.bbclass | 10 | ||||
-rw-r--r-- | meta-xfce/classes/xfce-app.bbclass | 4 | ||||
-rw-r--r-- | meta-xfce/classes/xfce-git.bbclass | 7 | ||||
-rw-r--r-- | meta-xfce/classes/xfce-panel-plugin.bbclass | 11 | ||||
-rw-r--r-- | meta-xfce/classes/xfce.bbclass | 20 |
5 files changed, 52 insertions, 0 deletions
diff --git a/meta-xfce/classes/thunar-plugin.bbclass b/meta-xfce/classes/thunar-plugin.bbclass new file mode 100644 index 000000000..4ec073a67 --- /dev/null +++ b/meta-xfce/classes/thunar-plugin.bbclass | |||
@@ -0,0 +1,10 @@ | |||
1 | inherit xfce | ||
2 | |||
3 | DEPENDS += "thunar" | ||
4 | |||
5 | SRC_URI = "http://archive.xfce.org/src/thunar-plugins/${BPN}/${@'${PV}'[0:3]}/${BPN}-${PV}.tar.bz2" | ||
6 | |||
7 | FILES_${PN} += "${libdir}/thunarx-2/*.so" | ||
8 | FILES_${PN}-dbg += "${libdir}/thunarx-2/.debug" | ||
9 | FILES_${PN}-dev += "${libdir}/thunarx-2/*.la" | ||
10 | |||
diff --git a/meta-xfce/classes/xfce-app.bbclass b/meta-xfce/classes/xfce-app.bbclass new file mode 100644 index 000000000..8780ebfd9 --- /dev/null +++ b/meta-xfce/classes/xfce-app.bbclass | |||
@@ -0,0 +1,4 @@ | |||
1 | inherit xfce | ||
2 | |||
3 | SRC_URI = "http://archive.xfce.org/src/apps/${BPN}/${@xfce_verdir("${PV}")}/${BPN}-${PV}.tar.bz2" | ||
4 | |||
diff --git a/meta-xfce/classes/xfce-git.bbclass b/meta-xfce/classes/xfce-git.bbclass new file mode 100644 index 000000000..3fc18d275 --- /dev/null +++ b/meta-xfce/classes/xfce-git.bbclass | |||
@@ -0,0 +1,7 @@ | |||
1 | do_configure_prepend() { | ||
2 | cd ${S} | ||
3 | NOCONFIGURE=yes ./autogen.sh | ||
4 | cd ${B} | ||
5 | } | ||
6 | |||
7 | AUTOTOOLS_COPYACLOCAL = "1" | ||
diff --git a/meta-xfce/classes/xfce-panel-plugin.bbclass b/meta-xfce/classes/xfce-panel-plugin.bbclass new file mode 100644 index 000000000..b2f06781d --- /dev/null +++ b/meta-xfce/classes/xfce-panel-plugin.bbclass | |||
@@ -0,0 +1,11 @@ | |||
1 | inherit xfce | ||
2 | |||
3 | DEPENDS += "libxfce4ui libxfce4util xfce4-panel" | ||
4 | |||
5 | SRC_URI = "http://archive.xfce.org/src/panel-plugins/${BPN}/${@'${PV}'[0:3]}/${BPN}-${PV}.tar.bz2" | ||
6 | |||
7 | FILES_${PN} += "${datadir}/xfce4/panel-plugins/" | ||
8 | FILES_${PN} += "${datadir}/xfce4/panel/plugins/" | ||
9 | FILES_${PN} += "${libdir}/xfce4/panel-plugins/*.so" | ||
10 | FILES_${PN} += "${libdir}/xfce4/panel/plugins/*.so" | ||
11 | FILES_${PN}-dbg += "${libexecdir}/xfce4/panel-plugins/.debug" | ||
diff --git a/meta-xfce/classes/xfce.bbclass b/meta-xfce/classes/xfce.bbclass new file mode 100644 index 000000000..f4ef55643 --- /dev/null +++ b/meta-xfce/classes/xfce.bbclass | |||
@@ -0,0 +1,20 @@ | |||
1 | def xfce_verdir(v): | ||
2 | import re | ||
3 | m = re.match("^([0-9]+)\.([0-9]+)", v) | ||
4 | return "%s.%s" % (m.group(1), m.group(2)) | ||
5 | |||
6 | HOMEPAGE = "http://www.xfce.org" | ||
7 | SRC_URI = "http://archive.xfce.org/src/xfce/${BPN}/${@xfce_verdir("${PV}")}/${BPN}-${PV}.tar.bz2" | ||
8 | |||
9 | inherit autotools gettext gtk-icon-cache pkgconfig | ||
10 | |||
11 | FILES_${PN} += "${datadir}/icons/* ${datadir}/applications/* ${libdir}/xfce4/modules/*.so*" | ||
12 | FILES_${PN}-doc += "${datadir}/xfce4/doc" | ||
13 | |||
14 | FILES_${PN}-dev += "${libdir}/xfce4/*/*.la" | ||
15 | FILES_${PN}-dev += "${libdir}/xfce4/*/*/*.la" | ||
16 | FILES_${PN}-staticdev += "${libdir}/xfce4/*/*.a" | ||
17 | FILES_${PN}-staticdev += "${libdir}/xfce4/*/*/*.a" | ||
18 | FILES_${PN}-dbg += "${libdir}/xfce4/*/.debug" | ||
19 | FILES_${PN}-dbg += "${libdir}/xfce4/*/*/.debug" | ||
20 | |||