[oe-commits] David-John Willis : xfce4-panel: Add 4.6. 3 and support new style checksums in xfce46.bbclass.

git version control git at git.openembedded.org
Fri Apr 23 17:02:33 UTC 2010


Module: openembedded.git
Branch: org.openembedded.dev
Commit: e3df76459f7710af61d1b51066e0685c822dbe7b
URL:    http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=e3df76459f7710af61d1b51066e0685c822dbe7b

Author: David-John Willis <John.Willis at Distant-earth.com>
Date:   Thu Apr 22 12:10:17 2010 +0100

xfce4-panel: Add 4.6.3 and support new style checksums in xfce46.bbclass.

---

 classes/xfce46.bbclass                 |    2 +-
 recipes/xfce-base/xfce4-panel_4.6.3.bb |   30 ++++++++++++++++++++++++++++++
 2 files changed, 31 insertions(+), 1 deletions(-)

diff --git a/classes/xfce46.bbclass b/classes/xfce46.bbclass
index c24dfa4..7e3e418 100644
--- a/classes/xfce46.bbclass
+++ b/classes/xfce46.bbclass
@@ -11,7 +11,7 @@ SECTION ?= "x11/xfce"
 
 XFCE_VERSION = ${PV}
 
-SRC_URI = "http://mocha.xfce.org/archive/src/xfce/${PN}/${@'${PV}'[0:3]}/${PN}-${PV}.tar.bz2"
+SRC_URI = "http://mocha.xfce.org/archive/src/xfce/${PN}/${@'${PV}'[0:3]}/${PN}-${PV}.tar.bz2;name=archive"
 
 inherit autotools gtk-icon-cache pkgconfig
 
diff --git a/recipes/xfce-base/xfce4-panel_4.6.3.bb b/recipes/xfce-base/xfce4-panel_4.6.3.bb
new file mode 100644
index 0000000..498ee32
--- /dev/null
+++ b/recipes/xfce-base/xfce4-panel_4.6.3.bb
@@ -0,0 +1,30 @@
+# xfce4-panel OE build file
+
+DESCRIPTION = "Xfce4 Panel"
+DEPENDS = "virtual/libx11 startup-notification libxfcegui4 libxml2 exo libwnck"
+SECTION = "x11"
+PR = "r1"
+
+inherit xfce46
+
+SRC_URI[archive.md5sum] = "0b715abb929220f136483ccd7303ff62"
+SRC_URI[archive.sha256sum] = "4f5e19187ddf9f812303b77479124562079d25c6263674040aba4395c6b2e41c"
+
+EXTRA_OECONF += " --enable-startup-notification"
+
+do_install() {
+    oe_runmake DESTDIR=${D} install
+}
+
+python populate_packages_prepend() {
+	plugin_dir = bb.data.expand('${libdir}/xfce4/panel-plugins/', d)
+	plugin_name = bb.data.expand('${PN}-plugin-%s', d)
+	do_split_packages(d, plugin_dir, '^lib(.*).so$', plugin_name,
+	                  '${PN} plugin for %s', extra_depends='', prepend=True,
+	                  aux_files_pattern=['${datadir}/xfce4/panel-plugins/%s.desktop',
+	                                     '${sysconfdir}/xdg/xfce/panel/%s-*',
+	                                     '${datadir}/icons/hicolor/48x48/apps/*-%s.png',
+	                                     '${bindir}/*%s*'])
+}
+
+PACKAGES_DYNAMIC = "${PN}-plugin-*"





More information about the Openembedded-commits mailing list