Gentoo Archives: gentoo-commits

From: "Samuli Suominen (drac)" <drac@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in x11-plugins/wmcdplay: wmcdplay-1.0_beta1.ebuild
Date: Sun, 29 Jun 2008 13:19:25
Message-Id: E1KCwoK-0008Kj-8z@stork.gentoo.org
1 drac 08/06/29 13:19:20
2
3 Modified: wmcdplay-1.0_beta1.ebuild
4 Log:
5 quoting
6 (Portage version: 2.2_rc1/cvs/Linux 2.6.26-rc3 x86_64)
7
8 Revision Changes Path
9 1.7 x11-plugins/wmcdplay/wmcdplay-1.0_beta1.ebuild
10
11 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-plugins/wmcdplay/wmcdplay-1.0_beta1.ebuild?rev=1.7&view=markup
12 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-plugins/wmcdplay/wmcdplay-1.0_beta1.ebuild?rev=1.7&content-type=text/plain
13 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-plugins/wmcdplay/wmcdplay-1.0_beta1.ebuild?r1=1.6&r2=1.7
14
15 Index: wmcdplay-1.0_beta1.ebuild
16 ===================================================================
17 RCS file: /var/cvsroot/gentoo-x86/x11-plugins/wmcdplay/wmcdplay-1.0_beta1.ebuild,v
18 retrieving revision 1.6
19 retrieving revision 1.7
20 diff -u -r1.6 -r1.7
21 --- wmcdplay-1.0_beta1.ebuild 22 Jul 2007 05:19:12 -0000 1.6
22 +++ wmcdplay-1.0_beta1.ebuild 29 Jun 2008 13:19:19 -0000 1.7
23 @@ -1,6 +1,6 @@
24 -# Copyright 1999-2007 Gentoo Foundation
25 +# Copyright 1999-2008 Gentoo Foundation
26 # Distributed under the terms of the GNU General Public License v2
27 -# $Header: /var/cvsroot/gentoo-x86/x11-plugins/wmcdplay/wmcdplay-1.0_beta1.ebuild,v 1.6 2007/07/22 05:19:12 dberkholz Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/x11-plugins/wmcdplay/wmcdplay-1.0_beta1.ebuild,v 1.7 2008/06/29 13:19:19 drac Exp $
29
30 inherit eutils
31
32 @@ -25,25 +25,21 @@
33 LICENSE="GPL-2"
34 KEYWORDS="x86 ~ppc"
35
36 -src_unpack()
37 -{
38 +src_unpack() {
39 unpack ${A}
40 - cd ${S}
41 - epatch ${FILESDIR}/${PN}-xpmdir.patch
42 - epatch ${FILESDIR}/${PN}-ComplexProgramTargetNoMan.patch
43 - epatch ${FILESDIR}/${PN}-c++.patch
44 + cd "${S}"
45 + epatch "${FILESDIR}"/${PN}-xpmdir.patch
46 + epatch "${FILESDIR}"/${PN}-ComplexProgramTargetNoMan.patch
47 + epatch "${FILESDIR}"/${PN}-c++.patch
48 }
49
50 -src_compile()
51 -{
52 - PATH=${PATH}:/usr/X11R6/bin
53 - xmkmf || die "xmkmf failed"
54 - emake CDEBUGFLAGS="${CFLAGS}" || die "Compilation failed"
55 +src_compile() {
56 + xmkmf || die "xmkmf failed."
57 + emake CDEBUGFLAGS="${CFLAGS}" || die "emake failed."
58 }
59
60 -src_install()
61 -{
62 - einstall DESTDIR="${D}" BINDIR="/usr/bin" || die "Installation failed"
63 +src_install() {
64 + einstall DESTDIR="${D}" BINDIR="/usr/bin" || die "emake install failed."
65
66 insinto /usr/share/WMcdplay
67 doins XPM/*.art
68 @@ -51,5 +47,5 @@
69 dodoc ARTWORK README
70
71 insinto /usr/share/applications
72 - doins ${FILESDIR}/${PN}.desktop
73 + doins "${FILESDIR}"/${PN}.desktop
74 }
75
76
77
78 --
79 gentoo-commits@l.g.o mailing list