31 lines
884 B
Text
31 lines
884 B
Text
|
# Template file for 'mopidy'
|
||
|
pkgname=mopidy
|
||
|
version=0.19.4
|
||
|
revision=1
|
||
|
build_style=python-module
|
||
|
short_desc="An extensible music server in python"
|
||
|
maintainer="allan <mail@may.mooo.com>"
|
||
|
license="Apache-2.0"
|
||
|
homepage="http://www.mopidy.com"
|
||
|
distfiles="${PYPI_SITE}/M/Mopidy/Mopidy-${version}.tar.gz"
|
||
|
checksum="887af8619182770867d9cf3d3ce9b8cacc7eb62763cfa7d3edfacb846d68a52b"
|
||
|
|
||
|
noarch=yes
|
||
|
python_versions=2.7
|
||
|
pycompile_module=mopidy
|
||
|
makedepends="python-devel"
|
||
|
hostmakedepends="python-devel python-setuptools python-pykka"
|
||
|
depends="gst-python gst-plugins-good1 gst-plugins-ugly1 gst-plugins-bad1 python-tornado python-pykka python-setuptools"
|
||
|
wrksrc="Mopidy-$version"
|
||
|
|
||
|
conf_files="/etc/mopidy.conf"
|
||
|
system_accounts="mopidy"
|
||
|
mopidy_homedir="/var/lib/mopidy/"
|
||
|
mopidy_groups="audio"
|
||
|
make_dirs="/var/lib/mopidy 0755 mopidy mopidy"
|
||
|
|
||
|
post_install() {
|
||
|
vconf $FILESDIR/mopidy.conf
|
||
|
vsv mopidy
|
||
|
}
|