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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.12 - (show annotations) (download)
Sat May 5 08:11:04 2012 UTC (2 years, 7 months ago) by mgorny
Branch: MAIN
Changes since 1.11: +2 -2 lines
dev-util/pkgconfig -> virtual/pkgconfig

(Portage version: 2.2.0_alpha101_p8/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.1.ebuild,v 1.11 2012/03/11 13:52:05 ranger 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.atheme.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 nls session"
19
20 RDEPEND=">=dev-libs/dbus-glib-0.60
21 >=dev-libs/glib-2.16
22 >=dev-libs/libmcs-0.7.1-r2
23 >=dev-libs/libmowgli-0.9.50:0
24 dev-libs/libxml2
25 >=x11-libs/cairo-1.2.6
26 >=x11-libs/pango-1.8.0
27 x11-libs/gtk+:3
28 session? ( x11-libs/libSM )"
29
30 DEPEND="${RDEPEND}
31 virtual/pkgconfig
32 chardet? ( app-i18n/libguess )
33 nls? ( dev-util/intltool )"
34
35 PDEPEND=">=media-plugins/audacious-plugins-3.1"
36
37 src_configure() {
38 # Some gccs don't like "-z defs" on their command line. Explicitly make it a
39 # linker flag (bug 395213).
40 epatch "${FILESDIR}/audacious_ldflags.patch"
41
42 # D-Bus is a mandatory dependency, remote control,
43 # session management and some plugins depend on this.
44 # Building without D-Bus is *unsupported* and a USE-flag
45 # will not be added due to the bug reports that will result.
46 # Bugs #197894, #199069, #207330, #208606
47 # Use of GTK+2 causes plugin build failures, bug #384185
48 econf \
49 --enable-dbus \
50 --enable-gtk3 \
51 $(use_enable chardet) \
52 $(use_enable nls) \
53 $(use_enable session sm)
54 }
55
56 src_install() {
57 default
58 dodoc AUTHORS NEWS README
59
60 # Gentoo_ice skin installation; bug #109772
61 insinto /usr/share/audacious/Skins/gentoo_ice
62 doins "${WORKDIR}"/gentoo_ice/*
63 docinto gentoo_ice
64 dodoc "${WORKDIR}"/README
65 }

  ViewVC Help
Powered by ViewVC 1.1.20