diff options
Diffstat (limited to 'meta-openmoko/packages/openmoko2/openmoko-mediaplayer2_svn.bb')
-rw-r--r-- | meta-openmoko/packages/openmoko2/openmoko-mediaplayer2_svn.bb | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/meta-openmoko/packages/openmoko2/openmoko-mediaplayer2_svn.bb b/meta-openmoko/packages/openmoko2/openmoko-mediaplayer2_svn.bb new file mode 100644 index 0000000000..79a8163328 --- /dev/null +++ b/meta-openmoko/packages/openmoko2/openmoko-mediaplayer2_svn.bb | |||
@@ -0,0 +1,25 @@ | |||
1 | DESCRIPTION = "A media player for Openmoko" | ||
2 | SECTION = "openmoko/tools" | ||
3 | DEPENDS = "libmokoui2 expat gstreamer libspiff curl" | ||
4 | RDEPENDS = "gst-meta-audio gconf openmoko-sound-system2" | ||
5 | PV = "0.1.0+svnr${SRCREV}" | ||
6 | PR = "r4" | ||
7 | |||
8 | inherit openmoko2 | ||
9 | |||
10 | FILES_${PN} += "${datadir}/openmoko-mediaplayer" | ||
11 | |||
12 | do_install_append() { | ||
13 | install -d ${D}${sysconfdir}/gconf/schemas | ||
14 | install -m 0644 ${S}/openmoko-mediaplayer.schemas ${D}${sysconfdir}/gconf/schemas/openmoko-mediaplayer.schemas | ||
15 | } | ||
16 | |||
17 | pkg_postinst_openmoko-mediaplayer2 () { | ||
18 | #!/bin/sh -e | ||
19 | if [ "x$D" != "x" ]; then | ||
20 | exit 1 | ||
21 | fi | ||
22 | |||
23 | export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source` | ||
24 | gconftool-2 --makefile-install-rule ${sysconfdir}/gconf/schemas/openmoko-mediaplayer.schemas > /dev/null | ||
25 | } | ||