blob: 4eb34493dff23f1306839beea426474d1537bdc9 (
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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
|
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-sound/gpodder/gpodder-3.2.0.ebuild,v 1.1 2012/07/31 13:51:33 yngwin Exp $
EAPI=4
PYTHON_DEPEND="2:2.6"
PYTHON_USE_WITH="sqlite"
SUPPORT_PYTHON_ABIS="1"
RESTRICT_PYTHON_ABIS="3.*"
inherit distutils gnome2-utils
DESCRIPTION="A free cross-platform podcast aggregator"
HOMEPAGE="http://gpodder.org/"
SRC_URI="http://gpodder.org/src/${P}.tar.gz"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux ~x86-solaris"
IUSE="+dbus bluetooth gstreamer ipod mtp test webkit"
#TODO: add QML UI deps (USE=qt4) and make pygtk optional, see README
RDEPEND="dev-python/eyeD3
dev-python/feedparser
dev-python/imaging
>=dev-python/mygpoclient-1.4
>=dev-python/pygtk-2.12:2
dbus? ( dev-python/dbus-python )
bluetooth? ( net-wireless/bluez )
gstreamer? ( dev-python/gst-python )
ipod? ( media-libs/libgpod[python] )
mtp? ( >=media-libs/libmtp-1.0.0 )
webkit? ( dev-python/pywebkitgtk )"
DEPEND="${RDEPEND}
dev-util/intltool
sys-apps/help2man
test? ( dev-python/minimock
dev-python/coverage )"
src_compile() {
emake DESTDIR="${D}" install || die
}
src_test() {
emake releasetest || die
}
pkg_preinst() {
gnome2_icon_savelist
}
pkg_postinst() {
gnome2_icon_cache_update
distutils_pkg_postinst
}
pkg_postrm() {
gnome2_icon_cache_update
distutils_pkg_postrm
}
|