summaryrefslogtreecommitdiff
path: root/recipes/pythm/pythm_svn.bb
blob: fdffb21621b9777158e0c525e77a922bb8bc2fdd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
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"