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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.13 - (show annotations) (download)
Thu Jan 29 18:52:25 2015 UTC (3 years, 8 months ago) by mgorny
Branch: MAIN
CVS Tags: HEAD
Changes since 1.12: +4 -4 lines
Switch to CPU_FLAGS_X86.

(Portage version: 2.2.15/cvs/Linux x86_64, signed Manifest commit with key EFB4464E!)

1 # Copyright 1999-2015 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/media-sound/audacious/audacious-2.4.4.ebuild,v 1.12 2014/11/07 23:37:15 dilfridge Exp $
4
5 EAPI=1
6
7 MY_P="${P/_/-}"
8 S="${WORKDIR}/${MY_P}"
9 DESCRIPTION="Audacious Player - Your music, your way, no exceptions"
10 HOMEPAGE="http://audacious-media-player.org/"
11 SRC_URI="http://distfiles.atheme.org/${MY_P}.tgz
12 mirror://gentoo/gentoo_ice-xmms-0.2.tar.bz2"
13
14 LICENSE="GPL-2"
15 SLOT="0"
16 KEYWORDS="alpha amd64 hppa ppc ppc64 sparc x86 ~x86-fbsd ~x86-freebsd ~x86-interix ~amd64-linux ~x86-linux"
17 IUSE="altivec chardet nls session cpu_flags_x86_sse2"
18
19 RDEPEND=">=dev-libs/dbus-glib-0.60
20 >=dev-libs/glib-2.16
21 >=dev-libs/libmcs-0.7.1-r2
22 >=dev-libs/libmowgli-0.7.0:0
23 dev-libs/libxml2
24 >=x11-libs/cairo-1.2.6
25 >=x11-libs/gtk+-2.14:2
26 >=x11-libs/pango-1.8.0
27 session? ( x11-libs/libSM )"
28
29 DEPEND="${RDEPEND}
30 virtual/pkgconfig
31 nls? ( dev-util/intltool )"
32
33 PDEPEND="~media-plugins/audacious-plugins-2.4.4"
34
35 src_compile() {
36 # D-Bus is a mandatory dependency, remote control,
37 # session management and some plugins depend on this.
38 # Building without D-Bus is *unsupported* and a USE-flag
39 # will not be added due to the bug reports that will result.
40 # Bugs #197894, #199069, #207330, #208606
41 econf \
42 --enable-dbus \
43 $(use_enable altivec) \
44 $(use_enable chardet) \
45 $(use_enable nls) \
46 $(use_enable session sm) \
47 $(use_enable cpu_flags_x86_sse2 sse2) \
48 || die
49
50 emake || die "make failed"
51 }
52
53 src_install() {
54 emake DESTDIR="${D}" install || die
55 dodoc AUTHORS NEWS README
56
57 # Gentoo_ice skin installation; bug #109772
58 insinto /usr/share/audacious/Skins/gentoo_ice
59 doins "${WORKDIR}"/gentoo_ice/*
60 docinto gentoo_ice
61 dodoc "${WORKDIR}"/README
62 }

  ViewVC Help
Powered by ViewVC 1.1.20