Gentoo Archives: gentoo-commits

From: "Tomas Chvatal (scarabeus)" <scarabeus@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in net-irc/quassel: quassel-0.4.3.ebuild ChangeLog quassel-0.4.0-r2.ebuild quassel-0.4.2.ebuild quassel-0.4.0-r1.ebuild
Date: Wed, 26 Aug 2009 20:32:31
Message-Id: E1MgJar-00023i-HI@stork.gentoo.org
1 scarabeus 09/08/26 14:35:21
2
3 Modified: ChangeLog
4 Added: quassel-0.4.3.ebuild
5 Removed: quassel-0.4.0-r2.ebuild quassel-0.4.2.ebuild
6 quassel-0.4.0-r1.ebuild
7 Log:
8 Version bump. Remove old.
9 (Portage version: 2.2_rc38/cvs/Linux i686)
10
11 Revision Changes Path
12 1.53 net-irc/quassel/ChangeLog
13
14 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-irc/quassel/ChangeLog?rev=1.53&view=markup
15 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-irc/quassel/ChangeLog?rev=1.53&content-type=text/plain
16 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-irc/quassel/ChangeLog?r1=1.52&r2=1.53
17
18 Index: ChangeLog
19 ===================================================================
20 RCS file: /var/cvsroot/gentoo-x86/net-irc/quassel/ChangeLog,v
21 retrieving revision 1.52
22 retrieving revision 1.53
23 diff -u -r1.52 -r1.53
24 --- ChangeLog 30 May 2009 12:21:08 -0000 1.52
25 +++ ChangeLog 26 Aug 2009 14:35:21 -0000 1.53
26 @@ -1,6 +1,14 @@
27 # ChangeLog for net-irc/quassel
28 # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
29 -# $Header: /var/cvsroot/gentoo-x86/net-irc/quassel/ChangeLog,v 1.52 2009/05/30 12:21:08 billie Exp $
30 +# $Header: /var/cvsroot/gentoo-x86/net-irc/quassel/ChangeLog,v 1.53 2009/08/26 14:35:21 scarabeus Exp $
31 +
32 +*quassel-0.4.3 (26 Aug 2009)
33 +
34 + 26 Aug 2009; Tomáš Chvátal <scarabeus@g.o>
35 + -quassel-0.4.0-r1.ebuild, -quassel-0.4.0-r2.ebuild,
36 + -files/quassel-0.4.0-no-webkit.patch, -quassel-0.4.2.ebuild,
37 + +quassel-0.4.3.ebuild:
38 + Version bump. Remove old.
39
40 30 May 2009; Pielmeier Daniel <billie@g.o> metadata.xml:
41 Update email in metadata
42
43
44
45 1.1 net-irc/quassel/quassel-0.4.3.ebuild
46
47 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-irc/quassel/quassel-0.4.3.ebuild?rev=1.1&view=markup
48 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-irc/quassel/quassel-0.4.3.ebuild?rev=1.1&content-type=text/plain
49
50 Index: quassel-0.4.3.ebuild
51 ===================================================================
52 # Copyright 1999-2009 Gentoo Foundation
53 # Distributed under the terms of the GNU General Public License v2
54 # $Header: /var/cvsroot/gentoo-x86/net-irc/quassel/quassel-0.4.3.ebuild,v 1.1 2009/08/26 14:35:21 scarabeus Exp $
55
56 EAPI="2"
57
58 inherit cmake-utils eutils
59
60 DESCRIPTION="Qt4/KDE4 IRC client suppporting a remote daemon for 24/7 connectivity."
61 HOMEPAGE="http://quassel-irc.org/"
62 SRC_URI="http://quassel-irc.org/pub/${P}.tar.bz2"
63
64 LICENSE="GPL-3"
65 KEYWORDS="~amd64 ~x86"
66 SLOT="0"
67 IUSE="dbus debug kde monolithic +oxygen phonon +server +ssl webkit +X"
68
69 LANGS="cs da de fr hu nb_NO ru sl tr"
70 for l in ${LANGS}; do
71 IUSE="${IUSE} linguas_${l}"
72 done
73
74 RDEPEND="
75 dbus? ( x11-libs/qt-dbus:4 )
76 monolithic? (
77 dev-db/sqlite[threadsafe]
78 x11-libs/qt-sql:4[sqlite]
79 x11-libs/qt-script:4
80 x11-libs/qt-gui:4
81 kde? ( >=kde-base/kdelibs-4.1 )
82 phonon? ( || ( media-sound/phonon x11-libs/qt-phonon ) )
83 webkit? ( x11-libs/qt-webkit:4 )
84 )
85 !monolithic? (
86 server? (
87 dev-db/sqlite[threadsafe]
88 x11-libs/qt-sql:4[sqlite]
89 x11-libs/qt-script:4
90 )
91 X? (
92 x11-libs/qt-gui:4
93 kde? ( >=kde-base/kdelibs-4.1 )
94 phonon? ( || ( media-sound/phonon x11-libs/qt-phonon ) )
95 webkit? ( x11-libs/qt-webkit:4 )
96 )
97 )
98 ssl? ( x11-libs/qt-core:4[ssl] )
99 "
100 DEPEND="${RDEPEND}"
101
102 DOCS="AUTHORS ChangeLog README"
103
104 pkg_setup() {
105 if ! use monolithic && ! use server && ! use X ; then
106 eerror "You have to build at least one of the monolithic client (USE=monolithic),"
107 eerror "the quasselclient (USE=X) or the quasselcore (USE=server)."
108 die "monolithic, server and X flag unset."
109 fi
110 }
111
112 src_configure() {
113 local MY_LANGUAGES=""
114 for i in ${LINGUAS}; do
115 MY_LANGUAGES="${i},${MY_LANGUAGES}"
116 done
117
118 local mycmakeargs="
119 $(cmake-utils_use_want X QTCLIENT)
120 $(cmake-utils_use_want server CORE)
121 $(cmake-utils_use_want monolithic MONO)
122 $(cmake-utils_use_with webkit WEBKIT)
123 $(cmake-utils_use_with phonon PHONON)
124 $(cmake-utils_use_with kde KDE)
125 $(cmake-utils_use_with dbus DBUS)
126 $(cmake-utils_use_with ssl OPENSSL)
127 $(cmake-utils_use_with oxygen OXYGEN)
128 -DEMBED_DATA=OFF
129 -DLINGUAS=${MY_LANGUAGES}
130 "
131
132 cmake-utils_src_configure
133 }
134
135 src_install() {
136 cmake-utils_src_install
137
138 if use server ; then
139 newinitd "${FILESDIR}"/quasselcore-2.init quasselcore || die "newinitd failed"
140 newconfd "${FILESDIR}"/quasselcore-2.conf quasselcore || die "newconfd failed"
141
142 insinto /etc/logrotate.d
143 newins "${FILESDIR}/quassel.logrotate" quassel
144
145 insinto /usr/share/doc/${PF}
146 doins "${S}"/scripts/manageusers.py || die "installing manageusers.py failed"
147 fi
148 }
149
150 pkg_postinst() {
151 if use server ; then
152 ewarn
153 ewarn "In order to use the quassel init script you must set the"
154 ewarn "QUASSEL_USER variable in ${ROOT%/}/etc/conf.d/quasselcore to your username."
155 ewarn "Note: This is the user who runs the quasselcore and is independent"
156 ewarn "from the users you set up in the quasselclient."
157 elog
158 elog "Adding more than one user or changing username/password is not"
159 elog "possible via the quasselclient yet. If you need to do these things"
160 elog "you have to use the manageusers.py script, which has been installed in"
161 elog "${ROOT%/}/usr/share/doc/${PF}".
162 elog "http://bugs.quassel-irc.org/wiki/quassel-irc/Manage_core_users provides"
163 elog "some information on using the script."
164 elog "To be sure nothing bad will happen you need to stop the quasselcore"
165 elog "before adding more users."
166 fi
167
168 if ( use server || use monolithic ) && use ssl ; then
169 elog
170 elog "Information on how to enable SSL support for client/core connections"
171 elog "is available at http://bugs.quassel-irc.org/wiki/quassel-irc."
172 fi
173 }