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: ChangeLog quassel-0.5_rc2.ebuild quassel-0.5_rc1.ebuild
Date: Fri, 02 Oct 2009 13:48:43
Message-Id: E1MtiUz-00049K-SV@stork.gentoo.org
1 scarabeus 09/10/02 13:48:41
2
3 Modified: ChangeLog
4 Added: quassel-0.5_rc2.ebuild
5 Removed: quassel-0.5_rc1.ebuild
6 Log:
7 Version bump. Drop old.
8 (Portage version: 2.2_rc41/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.61 net-irc/quassel/ChangeLog
12
13 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-irc/quassel/ChangeLog?rev=1.61&view=markup
14 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-irc/quassel/ChangeLog?rev=1.61&content-type=text/plain
15 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-irc/quassel/ChangeLog?r1=1.60&r2=1.61
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/net-irc/quassel/ChangeLog,v
20 retrieving revision 1.60
21 retrieving revision 1.61
22 diff -u -r1.60 -r1.61
23 --- ChangeLog 16 Sep 2009 22:28:42 -0000 1.60
24 +++ ChangeLog 2 Oct 2009 13:48:41 -0000 1.61
25 @@ -1,6 +1,12 @@
26 # ChangeLog for net-irc/quassel
27 # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/net-irc/quassel/ChangeLog,v 1.60 2009/09/16 22:28:42 billie Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/net-irc/quassel/ChangeLog,v 1.61 2009/10/02 13:48:41 scarabeus Exp $
30 +
31 +*quassel-0.5_rc2 (02 Oct 2009)
32 +
33 + 02 Oct 2009; Tomáš Chvátal <scarabeus@g.o>
34 + -quassel-0.5_rc1.ebuild, +quassel-0.5_rc2.ebuild:
35 + Version bump. Drop old.
36
37 16 Sep 2009; Pielmeier Daniel <billie@g.o> quassel-9999.ebuild:
38 Disable libindicate-qt until it is in the tree.
39
40
41
42 1.1 net-irc/quassel/quassel-0.5_rc2.ebuild
43
44 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-irc/quassel/quassel-0.5_rc2.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-irc/quassel/quassel-0.5_rc2.ebuild?rev=1.1&content-type=text/plain
46
47 Index: quassel-0.5_rc2.ebuild
48 ===================================================================
49 # Copyright 1999-2009 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.5_rc2.ebuild,v 1.1 2009/10/02 13:48:41 scarabeus Exp $
52
53 EAPI="2"
54
55 MY_P="${P/_/-}"
56
57 inherit cmake-utils eutils
58
59 DESCRIPTION="Qt4/KDE4 IRC client suppporting a remote daemon for 24/7 connectivity."
60 HOMEPAGE="http://quassel-irc.org/"
61 SRC_URI="http://quassel-irc.org/pub/${MY_P}.tar.bz2"
62
63 LICENSE="GPL-3"
64 KEYWORDS="~amd64 ~x86"
65 SLOT="0"
66 IUSE="dbus debug kde monolithic +oxygen phonon postgres +server +ssl webkit +X"
67
68 LANGS="cs da de fr hu it nb_NO ru sl tr"
69 for l in ${LANGS}; do
70 IUSE="${IUSE} linguas_${l}"
71 done
72
73 RDEPEND="
74 dbus? ( x11-libs/qt-dbus:4 )
75 monolithic? (
76 !postgres? ( x11-libs/qt-sql:4[sqlite] dev-db/sqlite[threadsafe] )
77 postgres? ( x11-libs/qt-sql:4[postgres] >=virtual/postgresql-base-8.3 )
78 x11-libs/qt-script:4
79 x11-libs/qt-gui:4
80 kde? ( >=kde-base/kdelibs-4.1 )
81 phonon? ( || ( media-sound/phonon x11-libs/qt-phonon ) )
82 webkit? ( x11-libs/qt-webkit:4 )
83 )
84 !monolithic? (
85 server? (
86 !postgres? ( x11-libs/qt-sql:4[sqlite] dev-db/sqlite[threadsafe] )
87 postgres? ( x11-libs/qt-sql:4[postgres] )
88 x11-libs/qt-script:4
89 )
90 X? (
91 x11-libs/qt-gui:4
92 kde? ( >=kde-base/kdelibs-4.1 )
93 phonon? ( || ( media-sound/phonon x11-libs/qt-phonon ) )
94 webkit? ( x11-libs/qt-webkit:4 )
95 )
96 )
97 ssl? ( x11-libs/qt-core:4[ssl] )
98 "
99 DEPEND="${RDEPEND}"
100
101 DOCS="AUTHORS ChangeLog README"
102
103 S="${WORKDIR}/${MY_P}"
104
105 pkg_setup() {
106 if ! use monolithic && ! use server && ! use X ; then
107 eerror "You have to build at least one of the monolithic client (USE=monolithic),"
108 eerror "the quasselclient (USE=X) or the quasselcore (USE=server)."
109 die "monolithic, server and X flag unset."
110 fi
111 }
112
113 src_prepare() {
114 epatch "$FILESDIR/${P}-identity.cpp.patch"
115 }
116
117 src_configure() {
118 local my_langs
119 for i in ${LINGUAS}; do
120 my_langs="${i},${my_langs}"
121 done
122
123 local mycmakeargs="
124 $(cmake-utils_use_want X QTCLIENT)
125 $(cmake-utils_use_want server CORE)
126 $(cmake-utils_use_want monolithic MONO)
127 $(cmake-utils_use_with webkit WEBKIT)
128 $(cmake-utils_use_with phonon PHONON)
129 $(cmake-utils_use_with kde KDE)
130 $(cmake-utils_use_with dbus DBUS)
131 $(cmake-utils_use_with ssl OPENSSL)
132 $(cmake-utils_use_with oxygen OXYGEN)
133 -DEMBED_DATA=OFF
134 -DLINGUAS=${my_langs}
135 "
136
137 cmake-utils_src_configure
138 }
139
140 src_install() {
141 cmake-utils_src_install
142
143 if use server ; then
144 newinitd "${FILESDIR}"/quasselcore-2.init quasselcore || die "newinitd failed"
145 newconfd "${FILESDIR}"/quasselcore-2.conf quasselcore || die "newconfd failed"
146
147 insinto /etc/logrotate.d
148 newins "${FILESDIR}/quassel.logrotate" quassel
149 fi
150 }
151
152 pkg_postinst() {
153 if use server ; then
154 ewarn
155 ewarn "In order to use the quassel init script you must set the"
156 ewarn "QUASSEL_USER variable in ${ROOT%/}/etc/conf.d/quasselcore to your username."
157 ewarn "Note: This is the user who runs the quasselcore and is independent"
158 ewarn "from the users you set up in the quasselclient."
159 fi
160
161 if ( use server || use monolithic ) && use ssl ; then
162 elog
163 elog "Information on how to enable SSL support for client/core connections"
164 elog "is available at http://bugs.quassel-irc.org/wiki/quassel-irc."
165 fi
166 }