/[gentoo-x86]/media-sound/audacious/audacious-3.2.2-r1.ebuild
Gentoo

Contents of /media-sound/audacious/audacious-3.2.2-r1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.8 - (show annotations) (download)
Wed Aug 22 14:37:14 2012 UTC (23 months, 4 weeks ago) by xmw
Branch: MAIN
Changes since 1.7: +2 -2 lines
ppc stable (bug 417143).

(Portage version: 2.1.11.10/cvs/Linux x86_64)

1 # Copyright 1999-2012 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/media-sound/audacious/audacious-3.2.2-r1.ebuild,v 1.7 2012/07/29 17:12:47 armin76 Exp $
4
5 EAPI=4
6 inherit eutils autotools
7
8 MY_P="${P/_/-}"
9 S="${WORKDIR}/${MY_P}"
10 DESCRIPTION="Audacious Player - Your music, your way, no exceptions"
11 HOMEPAGE="http://audacious-media-player.org/"
12 SRC_URI="http://distfiles.audacious-media-player.org/${MY_P}.tar.bz2
13 mirror://gentoo/gentoo_ice-xmms-0.2.tar.bz2"
14
15 LICENSE="GPL-2"
16 SLOT="0"
17 KEYWORDS="alpha amd64 hppa ppc ppc64 sparc x86 ~x86-fbsd ~x86-freebsd ~x86-interix ~amd64-linux ~x86-linux"
18 IUSE="chardet +gtk gtk3 nls session"
19
20 RDEPEND=">=dev-libs/dbus-glib-0.60
21 >=dev-libs/glib-2.16
22 dev-libs/libxml2
23 >=x11-libs/cairo-1.2.6
24 >=x11-libs/pango-1.8.0
25 gtk? ( x11-libs/gtk+:2 )
26 gtk3? ( x11-libs/gtk+:3 )
27 session? ( x11-libs/libSM )"
28
29 DEPEND="${RDEPEND}
30 virtual/pkgconfig
31 chardet? ( >=app-i18n/libguess-1.1 )
32 nls? ( dev-util/intltool )"
33
34 PDEPEND=">=media-plugins/audacious-plugins-3.2.2-r1"
35 REQUIRED_USE="^^ ( gtk gtk3 )"
36
37 src_prepare() {
38 epatch "$FILESDIR"/${P}-fix-build-gmodule.patch
39 eaclocal -I m4
40 eautoheader
41 eautoconf
42 }
43
44 src_configure() {
45 # D-Bus is a mandatory dependency, remote control,
46 # session management and some plugins depend on this.
47 # Building without D-Bus is *unsupported* and a USE-flag
48 # will not be added due to the bug reports that will result.
49 # Bugs #197894, #199069, #207330, #208606
50 # Use of GTK+2 causes plugin build failures, bug #384185
51 econf \
52 --enable-dbus \
53 $(use_enable gtk3) \
54 $(use_enable chardet) \
55 $(use_enable nls) \
56 $(use_enable session sm)
57 }
58
59 src_install() {
60 default
61 dodoc AUTHORS README
62
63 # Gentoo_ice skin installation; bug #109772
64 insinto /usr/share/audacious/Skins/gentoo_ice
65 doins "${WORKDIR}"/gentoo_ice/*
66 docinto gentoo_ice
67 dodoc "${WORKDIR}"/README
68 }

  ViewVC Help
Powered by ViewVC 1.1.20