blob: e3cbbc010b4bb51f32c19573ef87a9464dd163d0 (
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
38
39
40
41
42
43
44
45
|
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-sound/pithos/pithos-20130710.ebuild,v 1.3 2014/04/06 10:45:27 eva Exp $
EAPI=5
PYTHON_COMPAT=(python2_7)
inherit eutils distutils-r1
if [[ ${PV} == 9999 ]]; then
inherit git-2
EGIT_REPO_URI="git://github.com/kevinmehall/pithos.git
https://github.com/kevinmehall/pithos.git"
else
MY_PV="759fd22b993b063527866dedfb335a88d0c71766"
SRC_URI="https://github.com/kevinmehall/${PN}/archive/${MY_PV}.tar.gz -> ${P}.tar.gz"
S="${WORKDIR}/${PN}-${MY_PV}"
fi
DESCRIPTION="A Pandora Radio (pandora.com) player for the GNOME Desktop"
HOMEPAGE="http://kevinmehall.net/p/pithos/"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64"
IUSE="gnome"
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
RDEPEND="dev-python/pyxdg[${PYTHON_USEDEP}]
dev-python/pygobject:2[${PYTHON_USEDEP}]
dev-python/notify-python[${PYTHON_USEDEP}]
dev-python/pygtk[${PYTHON_USEDEP}]
dev-python/gst-python:0.10[${PYTHON_USEDEP}]
dev-python/dbus-python[${PYTHON_USEDEP}]
media-plugins/gst-plugins-meta:0.10[aac,http,mp3]
gnome? ( gnome-base/gnome-settings-daemon )
!gnome? ( dev-libs/keybinder[python] )"
src_prepare() {
# replace the build system with something more sane
epatch "${FILESDIR}"/${PN}-detect-datadir.patch
cp "${FILESDIR}"/setup.py "${S}"
distutils-r1_src_prepare
}
|