/[gentoo-x86]/net-misc/streamtuner/streamtuner-0.99.99-r5.ebuild
Gentoo

Contents of /net-misc/streamtuner/streamtuner-0.99.99-r5.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.6 - (show annotations) (download)
Fri Sep 27 22:18:18 2013 UTC (7 years, 1 month ago) by pacho
Branch: MAIN
CVS Tags: HEAD
Changes since 1.5: +29 -14 lines
Pass proper option to compile-warnings to enable warnings but not errors (#481124), fix desktop entry

(Portage version: 2.2.7/cvs/Linux x86_64, signed Manifest commit with key A188FBD4)

1 # Copyright 1999-2013 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/net-misc/streamtuner/streamtuner-0.99.99-r5.ebuild,v 1.5 2012/05/05 03:20:45 jdhore Exp $
4
5 EAPI=5
6 GCONF_DEBUG=no
7 inherit eutils gnome2
8
9 DESCRIPTION="Stream directory browser for browsing internet radio streams"
10 HOMEPAGE="http://www.nongnu.org/streamtuner"
11 SRC_URI="http://savannah.nongnu.org/download/${PN}/${P}.tar.gz
12 http://savannah.nongnu.org/download/${PN}/${P}-pygtk-2.6.diff"
13
14 LICENSE="BSD"
15 SLOT="0"
16 KEYWORDS="amd64 ~ppc ~sparc x86"
17 IUSE="python +shout +xiph"
18
19 RDEPEND="
20 >=x11-libs/gtk+-2.4:2
21 net-misc/curl
22 app-text/scrollkeeper
23 xiph? ( dev-libs/libxml2:2 )
24 >=media-libs/taglib-1.2
25 python? ( dev-python/pygtk:2 )
26 x11-misc/xdg-utils
27 "
28 DEPEND="${RDEPEND}
29 dev-util/gtk-doc-am
30 virtual/pkgconfig
31 "
32
33 src_prepare() {
34 epatch "${FILESDIR}"/${P}-gentoo.patch \
35 "${FILESDIR}"/${P}-shoutcast.patch \
36 "${FILESDIR}"/${P}-shoutcast-2.patch \
37 "${FILESDIR}"/${P}-audacious.patch \
38 "${DISTDIR}"/${P}-pygtk-2.6.diff \
39 "${FILESDIR}"/${P}-stack_increase.patch
40
41 # Fix .desktop file
42 sed -i \
43 -e 's/streamtuner.png/streamtuner/' \
44 -e 's/Categories=Application;/Categories=/' \
45 data/streamtuner.desktop.in || die
46
47 gnome2_src_prepare
48 }
49
50 src_configure() {
51 # live365 causes parse errors at connect time
52 # The right value for compile-warning for this is 'yes' (#481124)
53 gnome2_src_configure \
54 --enable-compile-warnings=yes \
55 --disable-live365 \
56 $(use_enable python) \
57 $(use_enable shout shoutcast) \
58 $(use_enable xiph)
59 }

  ViewVC Help
Powered by ViewVC 1.1.20