From: | "Diego Petteno (flameeyes)" <flameeyes@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in sci-electronics/qelectrotech: ChangeLog qelectrotech-0.2-r1.ebuild qelectrotech-0.2.ebuild |
Date: | Sat, 29 Aug 2009 18:32:39 |
Message-Id: | E1MhXYA-0004HP-Ft@stork.gentoo.org |
1 | flameeyes 09/08/29 23:41:38 |
2 | |
3 | Modified: ChangeLog |
4 | Added: qelectrotech-0.2-r1.ebuild |
5 | Removed: qelectrotech-0.2.ebuild |
6 | Log: |
7 | Fix ebuild to not install in /usr/local. Thanks to Davide Pesavento in bug #282908. |
8 | (Portage version: 2.2_rc40/cvs/Linux x86_64) |
9 | |
10 | Revision Changes Path |
11 | 1.2 sci-electronics/qelectrotech/ChangeLog |
12 | |
13 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-electronics/qelectrotech/ChangeLog?rev=1.2&view=markup |
14 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-electronics/qelectrotech/ChangeLog?rev=1.2&content-type=text/plain |
15 | diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-electronics/qelectrotech/ChangeLog?r1=1.1&r2=1.2 |
16 | |
17 | Index: ChangeLog |
18 | =================================================================== |
19 | RCS file: /var/cvsroot/gentoo-x86/sci-electronics/qelectrotech/ChangeLog,v |
20 | retrieving revision 1.1 |
21 | retrieving revision 1.2 |
22 | diff -u -r1.1 -r1.2 |
23 | --- ChangeLog 28 Jun 2009 15:07:48 -0000 1.1 |
24 | +++ ChangeLog 29 Aug 2009 23:41:38 -0000 1.2 |
25 | @@ -1,6 +1,14 @@ |
26 | # ChangeLog for sci-electronics/qelectrotech |
27 | # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 |
28 | -# $Header: /var/cvsroot/gentoo-x86/sci-electronics/qelectrotech/ChangeLog,v 1.1 2009/06/28 15:07:48 hwoarang Exp $ |
29 | +# $Header: /var/cvsroot/gentoo-x86/sci-electronics/qelectrotech/ChangeLog,v 1.2 2009/08/29 23:41:38 flameeyes Exp $ |
30 | + |
31 | +*qelectrotech-0.2-r1 (29 Aug 2009) |
32 | + |
33 | + 29 Aug 2009; Diego E. Pettenò <flameeyes@g.o> |
34 | + -qelectrotech-0.2.ebuild, +qelectrotech-0.2-r1.ebuild, |
35 | + +files/qelectrotech-0.2-fix-paths.patch: |
36 | + Fix ebuild to not install in /usr/local. Thanks to Davide Pesavento in bug |
37 | + #282908. |
38 | |
39 | *qelectrotech-0.2 (28 Jun 2009) |
40 | |
41 | |
42 | |
43 | |
44 | 1.1 sci-electronics/qelectrotech/qelectrotech-0.2-r1.ebuild |
45 | |
46 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-electronics/qelectrotech/qelectrotech-0.2-r1.ebuild?rev=1.1&view=markup |
47 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-electronics/qelectrotech/qelectrotech-0.2-r1.ebuild?rev=1.1&content-type=text/plain |
48 | |
49 | Index: qelectrotech-0.2-r1.ebuild |
50 | =================================================================== |
51 | # Copyright 1999-2009 Gentoo Foundation |
52 | # Distributed under the terms of the GNU General Public License v2 |
53 | # $Header: /var/cvsroot/gentoo-x86/sci-electronics/qelectrotech/qelectrotech-0.2-r1.ebuild,v 1.1 2009/08/29 23:41:38 flameeyes Exp $ |
54 | |
55 | EAPI="2" |
56 | |
57 | inherit qt4 |
58 | |
59 | MY_P="${PN}-${PV}-src" |
60 | |
61 | DESCRIPTION="Qt4 application to design electric diagrams" |
62 | HOMEPAGE="http://www.qt-apps.org/content/show.php?content=90198" |
63 | SRC_URI="http://download.tuxfamily.org/qet/tags/20090627/${MY_P}.tar.gz" |
64 | |
65 | LICENSE="GPL-3" |
66 | SLOT="0" |
67 | KEYWORDS="~amd64 ~x86" |
68 | IUSE="debug doc" |
69 | |
70 | RDEPEND="x11-libs/qt-gui:4 |
71 | x11-libs/qt-svg:4" |
72 | DEPEND="${RDEPEND} |
73 | doc? ( app-doc/doxygen )" |
74 | |
75 | S="${WORKDIR}"/${MY_P} |
76 | |
77 | PATCHES=( "${FILESDIR}/${P}-fix-paths.patch" ) |
78 | |
79 | src_configure() { |
80 | eqmake4 |
81 | } |
82 | |
83 | src_install() { |
84 | emake INSTALL_ROOT="${D}" install || die "emake install failed" |
85 | dodoc CREDIT ChangeLog README || die "dodoc failed" |
86 | if use doc; then |
87 | doxygen Doxyfile |
88 | dohtml -r doc/html/* || die "dohtml failed" |
89 | fi |
90 | } |