/[gentoo-x86]/media-sound/gpodder/gpodder-3.6.0.ebuild
Gentoo

Contents of /media-sound/gpodder/gpodder-3.6.0.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (show annotations) (download)
Sun Apr 6 10:42:39 2014 UTC (5 years, 6 months ago) by eva
Branch: MAIN
CVS Tags: HEAD
Changes since 1.2: +2 -2 lines
Pin gst-python to 0.10 slot.

(Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key C6085806)

1 # Copyright 1999-2014 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/media-sound/gpodder/gpodder-3.6.0.ebuild,v 1.2 2014/03/14 06:28:14 ssuominen Exp $
4
5 EAPI=5
6 PYTHON_COMPAT=( python2_7 )
7 PYTHON_REQ_USE="sqlite"
8 # Required for python_fix_shebang:
9 DISTUTILS_SINGLE_IMPL=1
10
11 inherit distutils-r1 gnome2-utils
12
13 DESCRIPTION="A free cross-platform podcast aggregator"
14 HOMEPAGE="http://gpodder.org/"
15 SRC_URI="http://gpodder.org/src/${P}.tar.gz"
16
17 LICENSE="GPL-3"
18 SLOT="0"
19 KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux ~x86-solaris"
20 IUSE="+dbus bluetooth gstreamer ipod kernel_linux mtp test webkit"
21
22 #TODO: add QML UI deps (USE=qt4) and make pygtk optional, see README
23 COMMON_DEPEND=">=dev-python/eyeD3-0.7
24 >=dev-python/feedparser-5.1.2
25 >=dev-python/mygpoclient-1.7
26 >=dev-python/pygtk-2.16:2
27 dbus? ( dev-python/dbus-python )
28 bluetooth? ( net-wireless/bluez )
29 gstreamer? ( dev-python/gst-python:0.10 )
30 ipod? ( media-libs/libgpod[python] )
31 mtp? ( >=media-libs/libmtp-1.0.0 )
32 webkit? ( dev-python/pywebkitgtk )"
33 RDEPEND="${COMMON_DEPEND}
34 kernel_linux? ( sys-apps/iproute2 )"
35 DEPEND="${COMMON_DEPEND}
36 dev-util/intltool
37 sys-apps/help2man
38 test? (
39 dev-python/minimock
40 dev-python/coverage
41 )"
42
43 src_prepare() {
44 sed -i -e '/setup.py.*install/d' makefile || die
45 # Fix for "AttributeError: 'gPodder' object has no attribute 'toolbar'":
46 python_fix_shebang .
47 }
48
49 src_install() {
50 emake DESTDIR="${D}" install
51 distutils-r1_src_install
52 }
53
54 src_test() {
55 emake releasetest
56 }
57
58 pkg_preinst() {
59 gnome2_icon_savelist
60 }
61
62 pkg_postinst() {
63 gnome2_icon_cache_update
64 }
65
66 pkg_postrm() {
67 gnome2_icon_cache_update
68 }

  ViewVC Help
Powered by ViewVC 1.1.20