Gentoo Archives: gentoo-commits

From: "Markos Chandras (hwoarang)" <hwoarang@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in x11-misc/screengrab: ChangeLog screengrab-0.8.1-r1.ebuild screengrab-0.8.1.ebuild
Date: Fri, 29 Oct 2010 13:34:17
Message-Id: 20101029133414.35AB020051@flycatcher.gentoo.org
1 hwoarang 10/10/29 13:34:14
2
3 Modified: ChangeLog
4 Added: screengrab-0.8.1-r1.ebuild
5 Removed: screengrab-0.8.1.ebuild
6 Log:
7 Patch sources to find documentation in the correct location. Bug #343117
8
9 (Portage version: 2.2.0_alpha2/cvs/Linux x86_64)
10
11 Revision Changes Path
12 1.7 x11-misc/screengrab/ChangeLog
13
14 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-misc/screengrab/ChangeLog?rev=1.7&view=markup
15 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-misc/screengrab/ChangeLog?rev=1.7&content-type=text/plain
16 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-misc/screengrab/ChangeLog?r1=1.6&r2=1.7
17
18 Index: ChangeLog
19 ===================================================================
20 RCS file: /var/cvsroot/gentoo-x86/x11-misc/screengrab/ChangeLog,v
21 retrieving revision 1.6
22 retrieving revision 1.7
23 diff -u -r1.6 -r1.7
24 --- ChangeLog 5 Oct 2010 01:14:54 -0000 1.6
25 +++ ChangeLog 29 Oct 2010 13:34:14 -0000 1.7
26 @@ -1,6 +1,12 @@
27 # ChangeLog for x11-misc/screengrab
28 # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
29 -# $Header: /var/cvsroot/gentoo-x86/x11-misc/screengrab/ChangeLog,v 1.6 2010/10/05 01:14:54 chiiph Exp $
30 +# $Header: /var/cvsroot/gentoo-x86/x11-misc/screengrab/ChangeLog,v 1.7 2010/10/29 13:34:14 hwoarang Exp $
31 +
32 +*screengrab-0.8.1-r1 (29 Oct 2010)
33 +
34 + 29 Oct 2010; Markos Chandras <hwoarang@g.o>
35 + -screengrab-0.8.1.ebuild, +screengrab-0.8.1-r1.ebuild:
36 + Patch sources to find documentation in the correct location. Bug #343117
37
38 *screengrab-0.8.1 (05 Oct 2010)
39
40
41
42
43 1.1 x11-misc/screengrab/screengrab-0.8.1-r1.ebuild
44
45 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-misc/screengrab/screengrab-0.8.1-r1.ebuild?rev=1.1&view=markup
46 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-misc/screengrab/screengrab-0.8.1-r1.ebuild?rev=1.1&content-type=text/plain
47
48 Index: screengrab-0.8.1-r1.ebuild
49 ===================================================================
50 # Copyright 1999-2010 Gentoo Foundation
51 # Distributed under the terms of the GNU General Public License v2
52 # $Header: /var/cvsroot/gentoo-x86/x11-misc/screengrab/screengrab-0.8.1-r1.ebuild,v 1.1 2010/10/29 13:34:14 hwoarang Exp $
53
54 EAPI="2"
55
56 inherit cmake-utils
57
58 DESCRIPTION="Qt tool for geting screenshots"
59 HOMEPAGE="http://code.google.com/p/screengrab-qt/"
60 SRC_URI="http://screengrab-qt.googlecode.com/files/${P}.tar.gz"
61
62 LICENSE="GPL-2"
63 SLOT="0"
64 KEYWORDS="~amd64 ~x86"
65 IUSE=""
66
67 DEPEND="x11-libs/qt-gui:4"
68 RDEPEND="${DEPEND}"
69
70 src_prepare() {
71 # fix documentation installation (bug #314495)
72 sed -i "s/doc\/screengrab/doc\/${PF}/" ${PN}.pro \
73 || die "failed to fix documentation path"
74 # do not install license
75 sed -i "/LICENSE.txt/d" CMakeLists.txt \
76 || die "failed to patch cmakelists"
77 # install docs in the right dir
78 sed -i "s#DESTINATION share/doc/screengrab#DESTINATION share/doc/${PF}#" \
79 CMakeLists.txt || die "failed to patch doc dir"
80 sed -i "s:screengrab%1html:${PF}%1html:" src/mainwindow.cpp || die
81 }