| 1 |
# Copyright 1999-2011 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.5.4.ebuild,v 1.1 2011/07/15 13:29:00 chainsaw Exp $
|
| 4 |
|
| 5 |
EAPI=4
|
| 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}.tar.gz
|
| 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 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.9.50
|
| 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 |
>=dev-util/pkgconfig-0.9.0
|
| 31 |
chardet? ( app-i18n/libguess )
|
| 32 |
nls? ( dev-util/intltool )"
|
| 33 |
|
| 34 |
PDEPEND=">=media-plugins/audacious-plugins-2.5.4"
|
| 35 |
|
| 36 |
src_configure() {
|
| 37 |
# D-Bus is a mandatory dependency, remote control,
|
| 38 |
# session management and some plugins depend on this.
|
| 39 |
# Building without D-Bus is *unsupported* and a USE-flag
|
| 40 |
# will not be added due to the bug reports that will result.
|
| 41 |
# Bugs #197894, #199069, #207330, #208606
|
| 42 |
econf \
|
| 43 |
--enable-dbus \
|
| 44 |
$(use_enable altivec) \
|
| 45 |
$(use_enable chardet) \
|
| 46 |
$(use_enable nls) \
|
| 47 |
$(use_enable session sm) \
|
| 48 |
$(use_enable sse2)
|
| 49 |
}
|
| 50 |
|
| 51 |
src_install() {
|
| 52 |
emake DESTDIR="${D}" install || die
|
| 53 |
dodoc AUTHORS NEWS README
|
| 54 |
|
| 55 |
# Gentoo_ice skin installation; bug #109772
|
| 56 |
insinto /usr/share/audacious/Skins/gentoo_ice
|
| 57 |
doins "${WORKDIR}"/gentoo_ice/*
|
| 58 |
docinto gentoo_ice
|
| 59 |
dodoc "${WORKDIR}"/README
|
| 60 |
}
|