aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/pythm/pythm_svn.bb
blob: 556ea33d1139ae3ec6e47ad8b964a16b94204bd1 (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
37
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"
SRCREV = "19"
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"