blob: 03d4d3c02982287c160865edb238188d9038c91a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
|
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-sound/bmpx/bmpx-0.14.4.ebuild,v 1.1 2006/05/04 01:31:04 chutzpah Exp $
inherit eutils gnome2
DESCRIPTION="Next generation Beep Media Player"
HOMEPAGE="http://www.beep-media-player.org"
SRC_URI="mirror://sourceforge/beepmp/${P}.tar.bz2
mirror://gentoo/gentoo_ice-xmms-0.2.tar.bz2"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
IUSE="alsa amazon cdparanoia debug dbus flac ffmpeg hal mad nls ogg oss theora vorbis"
DOCS="AUTHORS ChangeLog README NEWS TODO"
DEPEND=">=dev-libs/glib-2.10
>=x11-libs/gtk+-2.8.8
>=x11-libs/pango-1.10.0
>=dev-libs/libxml2-2.6.1
>=x11-libs/cairo-1.0.2
>=x11-libs/startup-notification-0.8
>=gnome-base/libglade-2.5.1
>=media-libs/taglib-1.4
>=media-libs/gstreamer-0.10.4
>=media-libs/gst-plugins-base-0.10.4
>=media-libs/gst-plugins-good-0.10.2
>=media-libs/musicbrainz-2.1.1
virtual/fam
>=net-misc/neon-0.25.5
dbus? ( >=sys-apps/dbus-0.60 )
hal? ( >=sys-apps/hal-0.5.5.1 )"
RDEPEND="${DEPEND}
>=dev-util/pkgconfig-0.17
nls? ( >=sys-devel/gettext-0.14.1
>=dev-util/intltool-0.31.2 )
mad? ( >=media-plugins/gst-plugins-mad-0.10.2 )
vorbis? ( >=media-plugins/gst-plugins-vorbis-0.10.4 )
ogg? ( >=media-plugins/gst-plugins-ogg-0.10.4 )
ffmpeg? ( >=media-plugins/gst-plugins-ffmpeg-0.10.0 )
alsa? ( >=media-plugins/gst-plugins-alsa-0.10.4 )
oss? ( >=media-plugins/gst-plugins-oss-0.10.2 )
flac? ( >=media-plugins/gst-plugins-flac-0.10.2 )
theora? ( >=media-plugins/gst-plugins-theora-0.10.4 )
cdparanoia? ( >=media-plugins/gst-plugins-cdparanoia-0.10.4 )"
pkg_setup() {
G2CONF="${G2CONF} \
$(use_enable hal) \
$(use_enable dbus) \
$(use_enable nls) \
$(use_enable debug) \
$(use_enable amazon)"
}
src_install() {
make DESTDIR=${D} install
dodoc AUTHORS ChangeLog README NEWS TODO
insinto /usr/share/bmpx/skins/gentoo_ice
doins ${WORKDIR}/gentoo_ice/*
docinto gentoo_ice
dodoc ${WORKDIR}/README
}
pkg_postinst() {
fdo-mime_desktop_database_update
fdo-mime_mime_database_update
gnome2_icon_cache_update
}
|