Gentoo Archives: gentoo-commits

From: "Daniel Pielmeier (billie)" <billie@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in net-irc/quassel: ChangeLog quassel-0.6_beta1.ebuild
Date: Wed, 17 Feb 2010 20:25:40
Message-Id: E1NhqSn-0005Lq-QO@stork.gentoo.org
1 billie 10/02/17 20:25:37
2
3 Modified: ChangeLog
4 Added: quassel-0.6_beta1.ebuild
5 Log:
6 Version bump.
7 (Portage version: 2.1.7.16/cvs/Linux i686)
8
9 Revision Changes Path
10 1.79 net-irc/quassel/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-irc/quassel/ChangeLog?rev=1.79&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-irc/quassel/ChangeLog?rev=1.79&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-irc/quassel/ChangeLog?r1=1.78&r2=1.79
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/net-irc/quassel/ChangeLog,v
19 retrieving revision 1.78
20 retrieving revision 1.79
21 diff -u -r1.78 -r1.79
22 --- ChangeLog 21 Jan 2010 11:32:01 -0000 1.78
23 +++ ChangeLog 17 Feb 2010 20:25:37 -0000 1.79
24 @@ -1,6 +1,12 @@
25 # ChangeLog for net-irc/quassel
26 # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/net-irc/quassel/ChangeLog,v 1.78 2010/01/21 11:32:01 scarabeus Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/net-irc/quassel/ChangeLog,v 1.79 2010/02/17 20:25:37 billie Exp $
29 +
30 +*quassel-0.6_beta1 (17 Feb 2010)
31 +
32 + 17 Feb 2010; Daniel Pielmeier <billie@g.o>
33 + +quassel-0.6_beta1.ebuild:
34 + Version bump.
35
36 21 Jan 2010; Tomáš Chvátal <scarabeus@g.o>
37 +files/0.5.2-fix_x11_detection.patch, quassel-0.5.2.ebuild:
38
39
40
41 1.1 net-irc/quassel/quassel-0.6_beta1.ebuild
42
43 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-irc/quassel/quassel-0.6_beta1.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-irc/quassel/quassel-0.6_beta1.ebuild?rev=1.1&content-type=text/plain
45
46 Index: quassel-0.6_beta1.ebuild
47 ===================================================================
48 # Copyright 1999-2010 Gentoo Foundation
49 # Distributed under the terms of the GNU General Public License v2
50 # $Header: /var/cvsroot/gentoo-x86/net-irc/quassel/quassel-0.6_beta1.ebuild,v 1.1 2010/02/17 20:25:37 billie Exp $
51
52 EAPI="2"
53
54 MY_P="${P/_/-}"
55
56 inherit cmake-utils eutils
57
58 DESCRIPTION="Qt4/KDE4 IRC client suppporting a remote daemon for 24/7 connectivity."
59 HOMEPAGE="http://quassel-irc.org/"
60 SRC_URI="http://quassel-irc.org/pub/${MY_P}.tar.bz2"
61
62 LICENSE="GPL-3"
63 KEYWORDS="~amd64 ~x86 ~amd64-linux"
64 SLOT="0"
65 IUSE="ayatana dbus debug kde monolithic phonon postgres +server +ssl webkit +X"
66
67 SERVER_RDEPEND="
68 !postgres? ( x11-libs/qt-sql:4[sqlite] dev-db/sqlite[threadsafe] )
69 postgres? ( x11-libs/qt-sql:4[postgres] )
70 x11-libs/qt-script:4
71 "
72
73 GUI_RDEPEND="
74 x11-libs/qt-gui:4
75 ayatana? ( dev-libs/libindicate-qt )
76 kde? (
77 >=kde-base/kdelibs-4.3
78 ayatana? ( kde-misc/plasma-indicatordisplay )
79 )
80 phonon? ( || ( media-sound/phonon x11-libs/qt-phonon ) )
81 webkit? ( x11-libs/qt-webkit:4 )
82 "
83
84 RDEPEND="
85 dbus? ( x11-libs/qt-dbus:4 )
86 monolithic? (
87 ${SERVER_RDEPEND}
88 ${GUI_RDEPEND}
89 )
90 !monolithic? (
91 server? ( ${SERVER_RDEPEND} )
92 X? ( ${GUI_RDEPEND} )
93 )
94 ssl? ( x11-libs/qt-core:4[ssl] )
95 "
96 DEPEND="${RDEPEND}"
97
98 DOCS="AUTHORS ChangeLog README"
99
100 S="${WORKDIR}/${MY_P}"
101
102 pkg_setup() {
103 if ! use monolithic && ! use server && ! use X ; then
104 eerror "You have to build at least one of the monolithic client (USE=monolithic),"
105 eerror "the quasselclient (USE=X) or the quasselcore (USE=server)."
106 die "monolithic, server and X flag unset."
107 fi
108 }
109
110 src_configure() {
111 local mycmakeargs="
112 $(cmake-utils_use_with ayatana LIBINDICATE)
113 $(cmake-utils_use_want X QTCLIENT)
114 $(cmake-utils_use_want server CORE)
115 $(cmake-utils_use_want monolithic MONO)
116 $(cmake-utils_use_with webkit)
117 $(cmake-utils_use_with phonon)
118 $(cmake-utils_use_with kde)
119 $(cmake-utils_use_with dbus)
120 $(cmake-utils_use_with ssl OPENSSL)
121 $(cmake-utils_use_with !kde OXYGEN)
122 -DEMBED_DATA=OFF
123 "
124
125 cmake-utils_src_configure
126 }
127
128 src_install() {
129 cmake-utils_src_install
130
131 if use server ; then
132 newinitd "${FILESDIR}"/quasselcore-2.init quasselcore || die "newinitd failed"
133 newconfd "${FILESDIR}"/quasselcore-2.conf quasselcore || die "newconfd failed"
134
135 insinto /etc/logrotate.d
136 newins "${FILESDIR}/quassel.logrotate" quassel
137 fi
138 }
139
140 pkg_postinst() {
141 if use server ; then
142 ewarn
143 ewarn "In order to use the quassel init script you must set the"
144 ewarn "QUASSEL_USER variable in ${ROOT%/}/etc/conf.d/quasselcore to your username."
145 ewarn "Note: This is the user who runs the quasselcore and is independent"
146 ewarn "from the users you set up in the quasselclient."
147 fi
148
149 if ( use server || use monolithic ) && use ssl ; then
150 elog
151 elog "Information on how to enable SSL support for client/core connections"
152 elog "is available at http://bugs.quassel-irc.org/wiki/quassel-irc."
153 fi
154 }