Lines 2-8
Link Here
|
2 |
# Distributed under the terms of the GNU General Public License v2 |
2 |
# Distributed under the terms of the GNU General Public License v2 |
3 |
# $Header: /var/cvsroot/gentoo-x86/media-sound/christine/christine-0.4.0.ebuild,v 1.4 2011/07/07 15:29:58 ssuominen Exp $ |
3 |
# $Header: /var/cvsroot/gentoo-x86/media-sound/christine/christine-0.4.0.ebuild,v 1.4 2011/07/07 15:29:58 ssuominen Exp $ |
4 |
|
4 |
|
5 |
EAPI=3 |
5 |
EAPI=4 |
|
|
6 |
PYTHON_DEPEND="2:2.5" |
7 |
PYTHON_USE_WITH="sqlite" |
6 |
inherit autotools eutils python |
8 |
inherit autotools eutils python |
7 |
|
9 |
|
8 |
DESCRIPTION="Python, GTK+ and GStreamer based media player (audio and video)" |
10 |
DESCRIPTION="Python, GTK+ and GStreamer based media player (audio and video)" |
Lines 13-18
Link Here
|
13 |
SLOT="0" |
15 |
SLOT="0" |
14 |
KEYWORDS="~amd64 ~sparc ~x86" |
16 |
KEYWORDS="~amd64 ~sparc ~x86" |
15 |
IUSE="libnotify nls readline" |
17 |
IUSE="libnotify nls readline" |
|
|
18 |
DOCS=( AUTHORS ChangeLog NEWS README THANKS TODO ) |
16 |
|
19 |
|
17 |
RDEPEND="readline? ( sys-libs/readline ) |
20 |
RDEPEND="readline? ( sys-libs/readline ) |
18 |
libnotify? ( dev-python/notify-python ) |
21 |
libnotify? ( dev-python/notify-python ) |
Lines 20-32
Link Here
|
20 |
dev-python/gconf-python |
23 |
dev-python/gconf-python |
21 |
dev-python/gst-python:0.10 |
24 |
dev-python/gst-python:0.10 |
22 |
media-plugins/gst-plugins-meta:0.10 |
25 |
media-plugins/gst-plugins-meta:0.10 |
23 |
media-libs/mutagen |
26 |
media-libs/mutagen" |
24 |
>=dev-lang/python-2.5[sqlite]" |
|
|
25 |
DEPEND="${RDEPEND} |
27 |
DEPEND="${RDEPEND} |
26 |
dev-util/pkgconfig |
28 |
dev-util/pkgconfig |
27 |
nls? ( sys-devel/gettext |
29 |
nls? ( sys-devel/gettext |
28 |
dev-util/intltool )" |
30 |
dev-util/intltool )" |
29 |
|
31 |
|
|
|
32 |
pkg_setup() { |
33 |
python_set_active_version 2 |
34 |
python_pkg_setup |
35 |
} |
36 |
|
30 |
src_prepare() { |
37 |
src_prepare() { |
31 |
epatch "${FILESDIR}"/${P}-no_static_linking.patch |
38 |
epatch "${FILESDIR}"/${P}-no_static_linking.patch |
32 |
eautoreconf |
39 |
eautoreconf |
Lines 43-50
Link Here
|
43 |
} |
50 |
} |
44 |
|
51 |
|
45 |
src_install() { |
52 |
src_install() { |
46 |
emake DESTDIR="${D}" install || die |
53 |
emake DESTDIR="${ED}" install |
47 |
dodoc AUTHORS ChangeLog NEWS README THANKS TODO |
54 |
dodoc ${DOCS[@]} |
48 |
} |
55 |
} |
49 |
|
56 |
|
50 |
pkg_postinst() { |
57 |
pkg_postinst() { |