Gentoo Archives: gentoo-commits

From: "Maxim Koltsov (maksbotan)" <maksbotan@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in net-libs/qxmpp: qxmpp-0.8.0.ebuild ChangeLog
Date: Thu, 27 Mar 2014 14:02:08
Message-Id: 20140327140202.6FCEA2004F@flycatcher.gentoo.org
1 maksbotan 14/03/27 14:02:02
2
3 Modified: ChangeLog
4 Added: qxmpp-0.8.0.ebuild
5 Log:
6 Bump to 0.8.0, set new SRC_URI. Thanks to 0xd34df00d.
7
8 (Portage version: 2.2.8-r1/cvs/Linux x86_64, signed Manifest commit with key F8DBDADE)
9
10 Revision Changes Path
11 1.38 net-libs/qxmpp/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/qxmpp/ChangeLog?rev=1.38&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/qxmpp/ChangeLog?rev=1.38&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/qxmpp/ChangeLog?r1=1.37&r2=1.38
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/net-libs/qxmpp/ChangeLog,v
20 retrieving revision 1.37
21 retrieving revision 1.38
22 diff -u -r1.37 -r1.38
23 --- ChangeLog 19 Aug 2013 16:33:28 -0000 1.37
24 +++ ChangeLog 27 Mar 2014 14:02:02 -0000 1.38
25 @@ -1,6 +1,11 @@
26 # ChangeLog for net-libs/qxmpp
27 -# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/net-libs/qxmpp/ChangeLog,v 1.37 2013/08/19 16:33:28 maksbotan Exp $
29 +# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
30 +# $Header: /var/cvsroot/gentoo-x86/net-libs/qxmpp/ChangeLog,v 1.38 2014/03/27 14:02:02 maksbotan Exp $
31 +
32 +*qxmpp-0.8.0 (27 Mar 2014)
33 +
34 + 27 Mar 2014; Maxim Koltsov <maksbotan@g.o> +qxmpp-0.8.0.ebuild:
35 + Bump to 0.8.0, set new SRC_URI. Thanks to 0xd34df00d.
36
37 *qxmpp-0.7.6-r1 (19 Aug 2013)
38
39
40
41
42 1.1 net-libs/qxmpp/qxmpp-0.8.0.ebuild
43
44 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/qxmpp/qxmpp-0.8.0.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/qxmpp/qxmpp-0.8.0.ebuild?rev=1.1&content-type=text/plain
46
47 Index: qxmpp-0.8.0.ebuild
48 ===================================================================
49 # Copyright 1999-2014 Gentoo Foundation
50 # Distributed under the terms of the GNU General Public License v2
51 # $Header: /var/cvsroot/gentoo-x86/net-libs/qxmpp/qxmpp-0.8.0.ebuild,v 1.1 2014/03/27 14:02:02 maksbotan Exp $
52
53 EAPI=5
54
55 inherit qt4-r2 multilib
56
57 DESCRIPTION="A cross-platform C++ XMPP client library based on the Qt framework."
58 HOMEPAGE="http://code.google.com/p/qxmpp/"
59 SRC_URI="http://download.qxmpp.org/${P}.tar.gz"
60
61 LICENSE="LGPL-2.1"
62 SLOT="0"
63 KEYWORDS="~amd64 ~x86 ~amd64-linux"
64 IUSE="debug doc +speex test theora vpx"
65
66 RDEPEND="dev-qt/qtcore:4
67 speex? ( media-libs/speex )
68 theora? ( media-libs/libtheora )
69 vpx? ( media-libs/libvpx )"
70 DEPEND="${RDEPEND}
71 test? ( dev-qt/qttest:4 )"
72
73 src_prepare(){
74 if ! use doc; then
75 sed -i \
76 -e '/SUBDIRS/s/doc//' \
77 -e '/INSTALLS/d' \
78 qxmpp.pro || die "sed for removing docs failed"
79 fi
80 if ! use test; then
81 sed -i -e '/SUBDIRS/s/tests//' \
82 qxmpp.pro || die "sed for removing tests failed"
83 fi
84 qt4-r2_src_prepare
85 }
86
87 src_configure(){
88 local conf_speex
89 local conf_theora
90 local conf_vpx
91
92 use speex && conf_speex="QXMPP_USE_SPEEX=1"
93 use theora && conf_theora="QXMPP_USE_THEORA=1"
94 use vpx && conf_vpx="QXMPP_USE_VPX=1"
95
96 eqmake4 "${S}"/qxmpp.pro "PREFIX=${EPREFIX}/usr" "LIBDIR=$(get_libdir)" "${conf_speex}" "${conf_theora}" "${conf_vpx}"
97 }
98
99 src_install() {
100 qt4-r2_src_install
101 if use doc; then
102 # Use proper path for documentation
103 mv "${ED}"/usr/share/doc/${PN} "${ED}"/usr/share/doc/${PF} || die "doc mv failed"
104 fi
105 }