1 |
ssuominen 10/07/30 00:03:46 |
2 |
|
3 |
Modified: ChangeLog cplay-1.49.ebuild |
4 |
Log: |
5 |
Fix python.eclass usage wrt #313941 by Arfrever Frehtes Taifersar Arahesis. |
6 |
(Portage version: 2.2_rc67/cvs/Linux x86_64) |
7 |
|
8 |
Revision Changes Path |
9 |
1.25 media-sound/cplay/ChangeLog |
10 |
|
11 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-sound/cplay/ChangeLog?rev=1.25&view=markup |
12 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-sound/cplay/ChangeLog?rev=1.25&content-type=text/plain |
13 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-sound/cplay/ChangeLog?r1=1.24&r2=1.25 |
14 |
|
15 |
Index: ChangeLog |
16 |
=================================================================== |
17 |
RCS file: /var/cvsroot/gentoo-x86/media-sound/cplay/ChangeLog,v |
18 |
retrieving revision 1.24 |
19 |
retrieving revision 1.25 |
20 |
diff -u -r1.24 -r1.25 |
21 |
--- ChangeLog 27 Feb 2009 12:47:06 -0000 1.24 |
22 |
+++ ChangeLog 30 Jul 2010 00:03:46 -0000 1.25 |
23 |
@@ -1,6 +1,10 @@ |
24 |
# ChangeLog for media-sound/cplay |
25 |
-# Copyright 2002-2009 Gentoo Foundation; Distributed under the GPL v2 |
26 |
-# $Header: /var/cvsroot/gentoo-x86/media-sound/cplay/ChangeLog,v 1.24 2009/02/27 12:47:06 aballier Exp $ |
27 |
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 |
28 |
+# $Header: /var/cvsroot/gentoo-x86/media-sound/cplay/ChangeLog,v 1.25 2010/07/30 00:03:46 ssuominen Exp $ |
29 |
+ |
30 |
+ 30 Jul 2010; Samuli Suominen <ssuominen@g.o> cplay-1.49.ebuild: |
31 |
+ Fix python.eclass usage wrt #313941 by Arfrever Frehtes Taifersar |
32 |
+ Arahesis. |
33 |
|
34 |
27 Feb 2009; Alexis Ballier <aballier@g.o> cplay-1.49.ebuild: |
35 |
sed the script after installing it if we're sedding in D; bug #256142 |
36 |
|
37 |
|
38 |
|
39 |
1.19 media-sound/cplay/cplay-1.49.ebuild |
40 |
|
41 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-sound/cplay/cplay-1.49.ebuild?rev=1.19&view=markup |
42 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-sound/cplay/cplay-1.49.ebuild?rev=1.19&content-type=text/plain |
43 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-sound/cplay/cplay-1.49.ebuild?r1=1.18&r2=1.19 |
44 |
|
45 |
Index: cplay-1.49.ebuild |
46 |
=================================================================== |
47 |
RCS file: /var/cvsroot/gentoo-x86/media-sound/cplay/cplay-1.49.ebuild,v |
48 |
retrieving revision 1.18 |
49 |
retrieving revision 1.19 |
50 |
diff -u -r1.18 -r1.19 |
51 |
--- cplay-1.49.ebuild 6 Sep 2009 17:53:17 -0000 1.18 |
52 |
+++ cplay-1.49.ebuild 30 Jul 2010 00:03:46 -0000 1.19 |
53 |
@@ -1,6 +1,10 @@ |
54 |
-# Copyright 1999-2009 Gentoo Foundation |
55 |
+# Copyright 1999-2010 Gentoo Foundation |
56 |
# Distributed under the terms of the GNU General Public License v2 |
57 |
-# $Header: /var/cvsroot/gentoo-x86/media-sound/cplay/cplay-1.49.ebuild,v 1.18 2009/09/06 17:53:17 ssuominen Exp $ |
58 |
+# $Header: /var/cvsroot/gentoo-x86/media-sound/cplay/cplay-1.49.ebuild,v 1.19 2010/07/30 00:03:46 ssuominen Exp $ |
59 |
+ |
60 |
+EAPI=2 |
61 |
+PYTHON_DEPEND="2" |
62 |
+inherit python |
63 |
|
64 |
DESCRIPTION="A Curses front-end for various audio players." |
65 |
SRC_URI="http://mask.tf.hut.fi/~flu/cplay/${P}.tar.gz" |
66 |
@@ -11,19 +15,22 @@ |
67 |
KEYWORDS="amd64 hppa ~ppc ppc64 sparc x86" |
68 |
IUSE="mp3 vorbis" |
69 |
|
70 |
-DEPEND="sys-devel/gettext" |
71 |
-RDEPEND="dev-lang/python |
72 |
- vorbis? ( media-sound/vorbis-tools ) |
73 |
+RDEPEND="vorbis? ( media-sound/vorbis-tools ) |
74 |
mp3? ( || ( media-sound/mpg123 |
75 |
media-sound/mpg321 |
76 |
media-sound/madplay |
77 |
media-sound/splay ) )" |
78 |
+DEPEND="sys-devel/gettext" |
79 |
|
80 |
-src_install () { |
81 |
- emake PREFIX="${D}/usr" recursive-install || die "emake failed." |
82 |
+src_prepare() { |
83 |
+ sed -i -e 's:make:$(MAKE):' Makefile || die |
84 |
+ sed -i -e 's:/usr/local:/usr:' cplay || die |
85 |
+ python_convert_shebangs 2 cplay |
86 |
+} |
87 |
|
88 |
- dobin cplay || die "dobin failed." |
89 |
+src_install () { |
90 |
+ emake PREFIX="${D}/usr" recursive-install || die |
91 |
+ dobin cplay || die |
92 |
doman cplay.1 |
93 |
dodoc ChangeLog README TODO |
94 |
- sed -i -e "s:/usr/local:/usr:g" "${D}"/usr/bin/cplay || die "dosed failed." |
95 |
} |