summaryrefslogtreecommitdiff
path: root/recipes/pythm/pythm_svn.bb
diff options
context:
space:
mode:
authorMartin Jansa <Martin.Jansa@gmail.com>2009-11-18 09:27:22 +0100
committerMartin Jansa <Martin.Jansa@gmail.com>2009-11-18 09:57:49 +0100
commit09e1c75d958bd47f128389001b36567e8263bfe8 (patch)
tree26bb9a05bd150f2f5c5e4d0a28691886d7e619d5 /recipes/pythm/pythm_svn.bb
parentaf81d9fd5f8a4dc8c65607cd4a92e9db19db2b12 (diff)
pythm: new recipe from SHR
Diffstat (limited to 'recipes/pythm/pythm_svn.bb')
-rw-r--r--recipes/pythm/pythm_svn.bb36
1 files changed, 36 insertions, 0 deletions
diff --git a/recipes/pythm/pythm_svn.bb b/recipes/pythm/pythm_svn.bb
new file mode 100644
index 0000000000..fdffb21621
--- /dev/null
+++ b/recipes/pythm/pythm_svn.bb
@@ -0,0 +1,36 @@
+DESCRIPTION = "Pythm is a media player gui designed to work with mplayer or mpd as "slave" players.\
+use mplayer to hear music on the road or mpd control if your are at home."
+HOMEPAGE = "http://projects.openmoko.org/projects/pythm/"
+SECTION = "application/multimedia"
+LICENSE = "GPLv2"
+SRCNAME = "pythm"
+PV = "0.5.1+svnr${SRCPV}"
+PR = "r3"
+SRC_URI = "svn://svn.projects.openmoko.org/svnroot/;module=pythm \
+ file://mplayer-escape-filenames.patch;patch=0 \
+ file://pythm.desktop \
+ file://pythm.conf"
+S = "${WORKDIR}/pythm"
+
+inherit setuptools
+
+RDEPENDS_${PN} = "\
+ python-pygtk \
+ mplayer \
+"
+DISTUTILS_INSTALL_ARGS = "--root=${D} \
+ --prefix=${prefix} \
+ --install-data=${datadir}"
+
+do_install_append() {
+ install -d ${D}${sysconfdir}
+ install -d ${D}/${datadir}/applications
+ install -m 0644 ../pythm.conf ${D}${sysconfdir}
+ install -m 0644 ../pythm.desktop ${D}/${datadir}/applications
+}
+
+
+FILES_${PN} += "\
+ ${sysconfdir}/pythm.conf \
+ ${datadir}/applications/pythm.desktop"
+