summaryrefslogtreecommitdiffstats
path: root/meta/recipes-gnome/gnome/gnome-desktop.inc
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-gnome/gnome/gnome-desktop.inc')
-rw-r--r--meta/recipes-gnome/gnome/gnome-desktop.inc23
1 files changed, 23 insertions, 0 deletions
diff --git a/meta/recipes-gnome/gnome/gnome-desktop.inc b/meta/recipes-gnome/gnome/gnome-desktop.inc
new file mode 100644
index 0000000..3853022
--- /dev/null
+++ b/meta/recipes-gnome/gnome/gnome-desktop.inc
@@ -0,0 +1,23 @@
1SUMMARY = "GNOME library for reading .desktop files"
2SECTION = "x11/gnome"
3LICENSE = "GPLv2 & LGPLv2"
4DEPENDS = "gconf libxrandr virtual/libx11 gtk+ glib-2.0 gnome-doc-utils startup-notification"
5
6EXTRA_OECONF = "--disable-scrollkeeper --disable-desktop-docs"
7
8do_configure_prepend () {
9 cp ${STAGING_DATADIR_NATIVE}/gnome-common/data/omf.make ${S}
10}
11
12FILES_${PN} += "${datadir}/gnome-about ${datadir}/libgnome-desktop/pnp.ids"
13
14PR = "r6"
15
16inherit gnomebase
17
18do_install_append () {
19 sed -i -e's,${STAGING_BINDIR_NATIVE},${bindir},g' ${D}${bindir}/gnome-about
20 sed -i -e '1s,#!.*python,#! ${USRBINPATH}/env python,' ${D}${bindir}/gnome-about
21}
22
23