summaryrefslogtreecommitdiffstats
path: root/meta-openmoko/packages/openmoko2/openmoko-mediaplayer2_svn.bb
diff options
context:
space:
mode:
Diffstat (limited to 'meta-openmoko/packages/openmoko2/openmoko-mediaplayer2_svn.bb')
-rw-r--r--meta-openmoko/packages/openmoko2/openmoko-mediaplayer2_svn.bb25
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 @@
1DESCRIPTION = "A media player for Openmoko"
2SECTION = "openmoko/tools"
3DEPENDS = "libmokoui2 expat gstreamer libspiff curl"
4RDEPENDS = "gst-meta-audio gconf openmoko-sound-system2"
5PV = "0.1.0+svnr${SRCREV}"
6PR = "r4"
7
8inherit openmoko2
9
10FILES_${PN} += "${datadir}/openmoko-mediaplayer"
11
12do_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
17pkg_postinst_openmoko-mediaplayer2 () {
18#!/bin/sh -e
19if [ "x$D" != "x" ]; then
20 exit 1
21fi
22
23export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
24gconftool-2 --makefile-install-rule ${sysconfdir}/gconf/schemas/openmoko-mediaplayer.schemas > /dev/null
25}