From: | "Diego Petteno (flameeyes)" <flameeyes@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in net-irc/quassel: ChangeLog quassel-0.2.0_rc1.ebuild |
Date: | Wed, 02 Jul 2008 15:47:45 |
Message-Id: | E1KE4YW-0004hz-8t@stork.gentoo.org |
1 | flameeyes 08/07/02 15:47:40 |
2 | |
3 | Modified: ChangeLog |
4 | Added: quassel-0.2.0_rc1.ebuild |
5 | Log: |
6 | Update to the Release Candidate (is it today RC day?). This version uses cmake now so there you go with the new deps too. |
7 | (Portage version: 2.2_rc1/cvs/Linux 2.6.25-gentoo-r4 x86_64) |
8 | |
9 | Revision Changes Path |
10 | 1.20 net-irc/quassel/ChangeLog |
11 | |
12 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-irc/quassel/ChangeLog?rev=1.20&view=markup |
13 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-irc/quassel/ChangeLog?rev=1.20&content-type=text/plain |
14 | diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-irc/quassel/ChangeLog?r1=1.19&r2=1.20 |
15 | |
16 | Index: ChangeLog |
17 | =================================================================== |
18 | RCS file: /var/cvsroot/gentoo-x86/net-irc/quassel/ChangeLog,v |
19 | retrieving revision 1.19 |
20 | retrieving revision 1.20 |
21 | diff -u -r1.19 -r1.20 |
22 | --- ChangeLog 29 Jun 2008 10:01:09 -0000 1.19 |
23 | +++ ChangeLog 2 Jul 2008 15:47:39 -0000 1.20 |
24 | @@ -1,6 +1,13 @@ |
25 | # ChangeLog for net-irc/quassel |
26 | # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 |
27 | -# $Header: /var/cvsroot/gentoo-x86/net-irc/quassel/ChangeLog,v 1.19 2008/06/29 10:01:09 tove Exp $ |
28 | +# $Header: /var/cvsroot/gentoo-x86/net-irc/quassel/ChangeLog,v 1.20 2008/07/02 15:47:39 flameeyes Exp $ |
29 | + |
30 | +*quassel-0.2.0_rc1 (02 Jul 2008) |
31 | + |
32 | + 02 Jul 2008; Diego Pettenò <flameeyes@g.o> |
33 | + +quassel-0.2.0_rc1.ebuild: |
34 | + Update to the Release Candidate (is it today RC day?). This version uses |
35 | + cmake now so there you go with the new deps too. |
36 | |
37 | 29 Jun 2008; Torsten Veller <tove@g.o> quassel-0.2.0_beta1.ebuild: |
38 | Add missing die: || "..." -> || die "..." |
39 | |
40 | |
41 | |
42 | 1.1 net-irc/quassel/quassel-0.2.0_rc1.ebuild |
43 | |
44 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-irc/quassel/quassel-0.2.0_rc1.ebuild?rev=1.1&view=markup |
45 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-irc/quassel/quassel-0.2.0_rc1.ebuild?rev=1.1&content-type=text/plain |
46 | |
47 | Index: quassel-0.2.0_rc1.ebuild |
48 | =================================================================== |
49 | # Copyright 1999-2008 Gentoo Foundation |
50 | # Distributed under the terms of the GNU General Public License v2 |
51 | # $Header: /var/cvsroot/gentoo-x86/net-irc/quassel/quassel-0.2.0_rc1.ebuild,v 1.1 2008/07/02 15:47:39 flameeyes Exp $ |
52 | |
53 | EAPI=1 |
54 | |
55 | inherit cmake-utils |
56 | |
57 | if [[ ${PV} == *9999 ]]; then |
58 | inherit git |
59 | EGIT_REPO_URI="git://git.quassel-irc.org/quassel.git" |
60 | |
61 | case ${PV} in |
62 | 0.2.9999) EGIT_BRANCH="0.2" ;; |
63 | *) EGIT_BRANCH="master" |
64 | esac |
65 | else |
66 | MY_P="${P/_/-}" |
67 | SRC_URI="http://quassel-irc.org/system/files/${MY_P}.tar.bz2" |
68 | S=${WORKDIR}/${MY_P} |
69 | fi |
70 | |
71 | DESCRIPTION="Core/client IRC client." |
72 | HOMEPAGE="http://quassel-irc.org/" |
73 | |
74 | LICENSE="GPL-3" |
75 | |
76 | KEYWORDS="~amd64 ~x86" |
77 | |
78 | SLOT="0" |
79 | |
80 | IUSE="+X +server debug" |
81 | |
82 | RDEPEND="|| ( |
83 | ( |
84 | x11-libs/qt-core:4 |
85 | server? ( |
86 | x11-libs/qt-sql:4 |
87 | x11-libs/qt-script:4 |
88 | ) |
89 | X? ( x11-libs/qt-gui:4 ) |
90 | ) |
91 | =x11-libs/qt-4.3*:4 |
92 | )" |
93 | DEPEND="${RDEPEND} |
94 | >=dev-util/cmake-2.4.7" |
95 | |
96 | DOCS="ChangeLog README README.Qtopia" |
97 | |
98 | pkg_setup() { |
99 | if ! use server && ! use X; then |
100 | eerror "You have to build one or both of quassel client or server." |
101 | die "Both server and X USE flags unset." |
102 | fi |
103 | |
104 | qt44=$(has_version x11-libs/qt-sql && echo yes || echo no) |
105 | if use server && ! built_with_use $([[ ${qt44} == "yes" ]] && echo "x11-libs/qt-sql sqlite" || echo "x11-libs/qt:4 sqlite3"); then |
106 | eerror "Quassel require Qt 4 built with SQLite support" |
107 | if [[ ${qt44} == "yes" ]]; then |
108 | eerror "Please rebuild x11-libs/qt-sql:4 with sqlite USE flag enabled." |
109 | die "Missing sqlite support in x11-libs/qt-sql:4" |
110 | else |
111 | eerror "Please rebuild x11-libs/qt:4 with sqlite3 USE flag enabled." |
112 | die "Missing sqlite3 support in x11-libs/qt:4" |
113 | fi |
114 | fi |
115 | } |
116 | |
117 | src_compile() { |
118 | local mycmakeargs=" |
119 | $(cmake-utils_use_want server CORE) |
120 | $(cmake-utils_use_want X QTCLIENT) |
121 | -DWANT_MONO=OFF |
122 | " |
123 | |
124 | cmake-utils_src_compile |
125 | } |
126 | |
127 | src_install() { |
128 | cmake-utils_src_install |
129 | |
130 | # Only install the icons if the X client was installed |
131 | if use X; then |
132 | local size |
133 | for size in 16 24 32 48 64 96 128 256 512; do |
134 | insinto /usr/share/icons/hicolor/${size}x${size} |
135 | newins "${S}"/src/icons/quassel/connected/${size}.png quassel.png |
136 | done |
137 | fi |
138 | } |
139 | |
140 | |
141 | |
142 | -- |
143 | gentoo-commits@l.g.o mailing list |