diff options
author | Sören Apel <abraxa@dar-clan.de> | 2007-10-24 13:20:01 +0000 |
---|---|---|
committer | Graeme Gregory <dp@xora.org.uk> | 2007-10-24 13:20:01 +0000 |
commit | bdd60d49b87619d8f952bae1e55ac08bfeebd897 (patch) | |
tree | 9ea3dd1aff0a6f1dcdcf30f702e90ce6b62d7114 /packages | |
parent | 4748e47085afa32bc5d342d28dd2c7d3dede654b (diff) |
packages/openmoko2/openmoko-mediaplayer2_svn.bb : add gconf schemas
Diffstat (limited to 'packages')
-rw-r--r-- | packages/openmoko2/openmoko-mediaplayer2_svn.bb | 16 |
1 files changed, 15 insertions, 1 deletions
diff --git a/packages/openmoko2/openmoko-mediaplayer2_svn.bb b/packages/openmoko2/openmoko-mediaplayer2_svn.bb index 3892a6e70f..63f12ae283 100644 --- a/packages/openmoko2/openmoko-mediaplayer2_svn.bb +++ b/packages/openmoko2/openmoko-mediaplayer2_svn.bb @@ -3,8 +3,22 @@ SECTION = "openmoko/tools" DEPENDS = "libmokoui2 expat gstreamer libspiff curl" RDEPENDS = "gst-meta-audio" PV = "0.1.0+svnr${SRCREV}" -PR = "r2" +PR = "r3" inherit openmoko2 FILES_${PN} += "${datadir}/openmoko-mediaplayer" + +do_install_append() { + install -d ${D}${sysconfdir}/gconf/schemas + install -m 0644 ${S}/openmoko-mediaplayer.schemas ${D}${sysconfdir}/gconf/schemas/openmoko-mediaplayer.schemas +} + +pkg_postinst_openmoko-mediaplayer2 () { +#!/bin/sh -e +if [ "x$D" != "x" ]; then + exit 1 +fi + +gconftool-2 --makefile-install-rule ${D}${sysconfdir}/gconf/schemas/openmoko-mediaplayer.schemas > /dev/null +} |