1 |
mr_bones_ 09/12/29 22:41:20 |
2 |
|
3 |
Modified: ChangeLog quadros-0.1.ebuild |
4 |
Log: |
5 |
Switch to using qt3 eclass instead of deprecated kde eclass (bug #298740) |
6 |
(Portage version: 2.1.6.13/cvs/Linux i686) |
7 |
|
8 |
Revision Changes Path |
9 |
1.9 games-puzzle/quadros/ChangeLog |
10 |
|
11 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-puzzle/quadros/ChangeLog?rev=1.9&view=markup |
12 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-puzzle/quadros/ChangeLog?rev=1.9&content-type=text/plain |
13 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-puzzle/quadros/ChangeLog?r1=1.8&r2=1.9 |
14 |
|
15 |
Index: ChangeLog |
16 |
=================================================================== |
17 |
RCS file: /var/cvsroot/gentoo-x86/games-puzzle/quadros/ChangeLog,v |
18 |
retrieving revision 1.8 |
19 |
retrieving revision 1.9 |
20 |
diff -u -r1.8 -r1.9 |
21 |
--- ChangeLog 10 Nov 2009 21:06:43 -0000 1.8 |
22 |
+++ ChangeLog 29 Dec 2009 22:41:19 -0000 1.9 |
23 |
@@ -1,6 +1,9 @@ |
24 |
# ChangeLog for games-puzzle/quadros |
25 |
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 |
26 |
-# $Header: /var/cvsroot/gentoo-x86/games-puzzle/quadros/ChangeLog,v 1.8 2009/11/10 21:06:43 ssuominen Exp $ |
27 |
+# $Header: /var/cvsroot/gentoo-x86/games-puzzle/quadros/ChangeLog,v 1.9 2009/12/29 22:41:19 mr_bones_ Exp $ |
28 |
+ |
29 |
+ 29 Dec 2009; Michael Sterrett <mr_bones_@g.o> quadros-0.1.ebuild: |
30 |
+ Switch to using qt3 eclass instead of deprecated kde eclass (bug #298740) |
31 |
|
32 |
10 Nov 2009; Samuli Suominen <ssuominen@g.o> quadros-0.1.ebuild: |
33 |
Remove USE arts (deprecated). |
34 |
|
35 |
|
36 |
|
37 |
1.8 games-puzzle/quadros/quadros-0.1.ebuild |
38 |
|
39 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-puzzle/quadros/quadros-0.1.ebuild?rev=1.8&view=markup |
40 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-puzzle/quadros/quadros-0.1.ebuild?rev=1.8&content-type=text/plain |
41 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-puzzle/quadros/quadros-0.1.ebuild?r1=1.7&r2=1.8 |
42 |
|
43 |
Index: quadros-0.1.ebuild |
44 |
=================================================================== |
45 |
RCS file: /var/cvsroot/gentoo-x86/games-puzzle/quadros/quadros-0.1.ebuild,v |
46 |
retrieving revision 1.7 |
47 |
retrieving revision 1.8 |
48 |
diff -u -r1.7 -r1.8 |
49 |
--- quadros-0.1.ebuild 10 Nov 2009 21:06:43 -0000 1.7 |
50 |
+++ quadros-0.1.ebuild 29 Dec 2009 22:41:19 -0000 1.8 |
51 |
@@ -1,10 +1,9 @@ |
52 |
# Copyright 1999-2009 Gentoo Foundation |
53 |
# Distributed under the terms of the GNU General Public License v2 |
54 |
-# $Header: /var/cvsroot/gentoo-x86/games-puzzle/quadros/quadros-0.1.ebuild,v 1.7 2009/11/10 21:06:43 ssuominen Exp $ |
55 |
+# $Header: /var/cvsroot/gentoo-x86/games-puzzle/quadros/quadros-0.1.ebuild,v 1.8 2009/12/29 22:41:19 mr_bones_ Exp $ |
56 |
|
57 |
-ARTS_REQUIRED=never |
58 |
-inherit eutils kde games |
59 |
-need-qt 3 |
60 |
+EAPI=2 |
61 |
+inherit eutils qt3 games |
62 |
|
63 |
DESCRIPTION="An implementation of the Tetris game with team multiplayer ability" |
64 |
HOMEPAGE="http://quadros.sourceforge.net/" |
65 |
@@ -15,13 +14,14 @@ |
66 |
KEYWORDS="~amd64 ~ppc x86" |
67 |
IUSE="" |
68 |
|
69 |
-src_unpack() { |
70 |
- kde_src_unpack |
71 |
+DEPEND="x11-libs/qt:3" |
72 |
+ |
73 |
+src_prepare() { |
74 |
+ touch src/multiplayer.ui |
75 |
epatch "${FILESDIR}/${P}"-gcc41.patch |
76 |
} |
77 |
|
78 |
-src_compile() { |
79 |
- kde_src_compile nothing |
80 |
+src_configure() { |
81 |
${QTDIR}/bin/qmake -project -o quadros.pro |
82 |
# Need generating .pro file from scratch |
83 |
# because shipped src/quadros.pro is corrupted |
84 |
@@ -30,8 +30,7 @@ |
85 |
# which are not required by game |
86 |
echo "QMAKE_CXXFLAGS += ${CXXFLAGS}" >> quadros.pro |
87 |
echo "CONFIG += qt thread warn_on release" >> quadros.pro |
88 |
- ${QTDIR}/bin/qmake -o Makefile quadros.pro |
89 |
- emake || die "emake failed" |
90 |
+ eqmake3 quadros.pro -o Makefile |
91 |
} |
92 |
|
93 |
src_install() { |