blob: f0f83d837e4f0d3bb02e65627f2746448627b7eb (
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
|
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
inherit eutils
DESCRIPTION="Exaile is a media player aiming to be similar to KDE's AmaroK, but for wxGTK"
HOMEPAGE="http://www.exaile.org"
SRC_URI="http://www.exaile.org/files/${PN}_${PVR/_beta/b}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~x86"
IUSE=""
DEPEND=">=dev-lang/python-2.4
>=dev-python/wxpython-2.6
>=x11-libs/gtk+-2.0"
RDEPEND="${DEPEND}
>=dev-python/pysqlite-2
>=media-libs/gstreamer-0.10
>=media-libs/gst-plugins-good-0.10
>=dev-python/gst-python-0.10
dev-python/pyogg
dev-python/pymad
sys-apps/dbus"
S=${WORKDIR}/${PN}
pkg_setup() {
if ! built_with_use sys-apps/dbus python; then
eerror "dbus has to be built with python support"
die "dbus python use-flag not set"
fi
}
src_unpack() {
unpack ${A}
cd "${S}"
sed -i \
-e 's/\(^.*FLAGS \)=/\1 += /' \
-e 's/-O2//' \
mmkeys/Makefile || die "sed failed"
}
src_compile() {
# upstream informed about that
# expecting to be able to remove it in the next version
CFLAGS+= -fPIC
emake || die "emake failed"
}
src_install() {
emake DESTDIR="${D}" install || die "emake install failed"
}
|