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/wmgrabimage: wmgrabimage-0.72-r1.ebuild
Date: Sun, 29 Jun 2008 14:11:40
Message-Id: E1KCxcs-0001F9-Rg@stork.gentoo.org
1 drac 08/06/29 14:11:34
2
3 Modified: wmgrabimage-0.72-r1.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/wmgrabimage/wmgrabimage-0.72-r1.ebuild
10
11 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-plugins/wmgrabimage/wmgrabimage-0.72-r1.ebuild?rev=1.7&view=markup
12 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-plugins/wmgrabimage/wmgrabimage-0.72-r1.ebuild?rev=1.7&content-type=text/plain
13 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-plugins/wmgrabimage/wmgrabimage-0.72-r1.ebuild?r1=1.6&r2=1.7
14
15 Index: wmgrabimage-0.72-r1.ebuild
16 ===================================================================
17 RCS file: /var/cvsroot/gentoo-x86/x11-plugins/wmgrabimage/wmgrabimage-0.72-r1.ebuild,v
18 retrieving revision 1.6
19 retrieving revision 1.7
20 diff -u -r1.6 -r1.7
21 --- wmgrabimage-0.72-r1.ebuild 22 Jul 2007 05:06:09 -0000 1.6
22 +++ wmgrabimage-0.72-r1.ebuild 29 Jun 2008 14:11:34 -0000 1.7
23 @@ -1,21 +1,22 @@
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/wmgrabimage/wmgrabimage-0.72-r1.ebuild,v 1.6 2007/07/22 05:06:09 dberkholz Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/x11-plugins/wmgrabimage/wmgrabimage-0.72-r1.ebuild,v 1.7 2008/06/29 14:11:34 drac Exp $
29
30 inherit eutils
31
32 -IUSE=""
33 -
34 MY_P=${PN/grabi/GrabI}
35 -S=${WORKDIR}/${MY_P}-${PV}/${MY_P}
36
37 DESCRIPTION="wmGrabImage grabs an image from the WWW and displays it"
38 SRC_URI="http://www.dockapps.com/download.php/id/19/${MY_P}-${PV}.tgz"
39 HOMEPAGE="http://www.dockapps.com/file.php/id/12"
40
41 +LICENSE="GPL-2"
42 +SLOT="0"
43 +KEYWORDS="~amd64 ppc x86"
44 +IUSE=""
45 +
46 RDEPEND=">=net-misc/wget-1.9-r2
47 >=media-gfx/imagemagick-5.5.7.15
48 - >=sys-apps/sed-4
49 x11-libs/libX11
50 x11-libs/libXext
51 x11-libs/libXpm"
52 @@ -23,36 +24,28 @@
53 x11-proto/xproto
54 x11-proto/xextproto"
55
56 -SLOT="0"
57 -LICENSE="GPL-2"
58 -KEYWORDS="x86 ppc"
59 +S=${WORKDIR}/${MY_P}-${PV}/${MY_P}
60
61 -src_unpack()
62 -{
63 +src_unpack() {
64 unpack ${A}
65 -
66 - cd ${S}
67 - epatch ${FILESDIR}/${PN}-noman.patch
68 + cd "${S}"
69 + epatch "${FILESDIR}"/${PN}-noman.patch
70 + sed -i -e 's/-geom /-geometry /' GrabImage || die "sed failed."
71 }
72
73 -src_compile()
74 -{
75 - sed -i -e 's/-geom /-geometry /' GrabImage
76 - emake clean || die "clean failed"
77 - emake CFLAGS="${CFLAGS} -Wall" || die "make failed"
78 +src_compile() {
79 + emake clean || die "emake clean failed."
80 + emake CFLAGS="${CFLAGS} -Wall" || die "emake failed."
81 }
82
83 -src_install()
84 -{
85 - cd ${S}
86 +src_install() {
87 dodir /usr/bin
88 - einstall DESTDIR="${D}/usr" || die "make install failed"
89 + einstall DESTDIR="${D}/usr" || die "einstall failed."
90
91 doman wmGrabImage.1
92
93 - cd ..
94 - dodoc BUGS CHANGES HINTS TODO
95 + dodoc ../{BUGS,CHANGES,HINTS,TODO}
96
97 insinto /usr/share/applications
98 - doins ${FILESDIR}/${PN}.desktop
99 + doins "${FILESDIR}"/${PN}.desktop
100 }
101
102
103
104 --
105 gentoo-commits@l.g.o mailing list