| Submitter | Andreas Müller |
|---|---|
| Date | Oct. 26, 2011, 11:45 p.m. |
| Message ID | <1319672704-7181-1-git-send-email-schnitzeltony@gmx.de> |
| Download | mbox | patch |
| Permalink | /patch/13885/ |
| State | Accepted |
| Commit | 7faafa8b3c0b1de2a2d8b6fe49076473f25589c0 |
| Headers | show |
Comments
Patch
diff --git a/meta-xfce/classes/xfce-app.bbclass b/meta-xfce/classes/xfce-app.bbclass new file mode 100644 index 0000000..c60ad3d --- /dev/null +++ b/meta-xfce/classes/xfce-app.bbclass @@ -0,0 +1,4 @@ +inherit xfce + +SRC_URI = "http://archive.xfce.org/src/apps/${BPN}/${@'${PV}'[0:3]}/${BPN}-${PV}.tar.bz2" + diff --git a/meta-xfce/recipes-apps/xfce4-notifyd/xfce4-notifyd_0.2.2.bb b/meta-xfce/recipes-apps/xfce4-notifyd/xfce4-notifyd_0.2.2.bb index 4fea1de..0ee6da3 100644 --- a/meta-xfce/recipes-apps/xfce4-notifyd/xfce4-notifyd_0.2.2.bb +++ b/meta-xfce/recipes-apps/xfce4-notifyd/xfce4-notifyd_0.2.2.bb @@ -6,10 +6,7 @@ DEPENDS = "libxfce4util libxfce4ui xfconf gtk+ dbus dbus-glib" PR = "r0" -inherit xfce - -# SRC_URI must follow inherited one -SRC_URI = "http://archive.xfce.org/src/apps/${PN}/${@'${PV}'[0:3]}/${PN}-${PV}.tar.bz2" +inherit xfce-app FILES_${PN} += " \ ${libdir}/xfce4/notifyd \ diff --git a/meta-xfce/recipes-apps/xfce4-screenshooter/xfce4-screenshooter_1.8.0.bb b/meta-xfce/recipes-apps/xfce4-screenshooter/xfce4-screenshooter_1.8.0.bb index ef409c1..2362b8a 100644 --- a/meta-xfce/recipes-apps/xfce4-screenshooter/xfce4-screenshooter_1.8.0.bb +++ b/meta-xfce/recipes-apps/xfce4-screenshooter/xfce4-screenshooter_1.8.0.bb @@ -7,12 +7,7 @@ DEPENDS = "xfce4-panel libxfce4util libxfce4ui gdk-pixbuf gtk+ glib-2.0 libsoup- PR = "r0" -inherit xfce - -# SRC_URI must follow inherited one -# decoded to e.g. http://archive.xfce.org/src/apps/xfce4-screenshooter/1.8/xfce4-screenshooter-1.8.0.tar.bz2 -SRC_URI = "http://archive.xfce.org/src/apps/${PN}/${@'${PV}'[0:3]}/${PN}-${PV}.tar.bz2 \ -" +inherit xfce-app FILES_${PN} += "${datadir}/xfce4/panel-plugins/*" FILES_${PN}-dbg += "${libexecdir}/xfce4/panel-plugins/.debug"
* build tested with source download for xfce4-notifyd and xfce4-screenshooter * run tested on overo Signed-off-by: Andreas Müller <schnitzeltony@gmx.de> --- meta-xfce/classes/xfce-app.bbclass | 4 ++++ .../xfce4-notifyd/xfce4-notifyd_0.2.2.bb | 5 +---- .../xfce4-screenshooter_1.8.0.bb | 7 +------ 3 files changed, 6 insertions(+), 10 deletions(-) create mode 100644 meta-xfce/classes/xfce-app.bbclass