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

Contents of /media-sound/audacious/audacious-3.2.3.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (show annotations) (download)
Sun Jun 10 18:40:59 2012 UTC (2 years, 3 months ago) by jdhore
Branch: MAIN
Changes since 1.2: +7 -9 lines
Drop gtk3 support for now as it is currently a bit broken.

(Portage version: 2.2.0_alpha110/cvs/Linux i686)

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.3.ebuild,v 1.2 2012/06/10 02:16:59 jdhore Exp $
4
5 EAPI=4
6 inherit eutils
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
19 IUSE="chardet nls session"
20
21 RDEPEND=">=dev-libs/dbus-glib-0.60
22 >=dev-libs/glib-2.16
23 dev-libs/libxml2
24 >=x11-libs/cairo-1.2.6
25 >=x11-libs/pango-1.8.0
26 x11-libs/gtk+:2
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.3"
35
36 src_prepare() {
37 epatch "$FILESDIR"/${P}-fix-mutex.patch
38 }
39
40 src_configure() {
41 # D-Bus is a mandatory dependency, remote control,
42 # session management and some plugins depend on this.
43 # Building without D-Bus is *unsupported* and a USE-flag
44 # will not be added due to the bug reports that will result.
45 # Bugs #197894, #199069, #207330, #208606
46 # Use of gtk+:3 causes some plugins to not have preference pages
47 # and statusicon to not build. Disable till Audacious 3.3 when
48 # these issues will have been fixed.
49 econf \
50 --enable-dbus \
51 --disable-gtk3 \
52 $(use_enable chardet) \
53 $(use_enable nls) \
54 $(use_enable session sm)
55 }
56
57 src_install() {
58 default
59 dodoc AUTHORS README
60
61 # Gentoo_ice skin installation; bug #109772
62 insinto /usr/share/audacious/Skins/gentoo_ice
63 doins "${WORKDIR}"/gentoo_ice/*
64 docinto gentoo_ice
65 dodoc "${WORKDIR}"/README
66 }

  ViewVC Help
Powered by ViewVC 1.1.20