summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Popov <pinkbyte@gentoo.org>2012-10-14 18:04:31 +0000
committerSergey Popov <pinkbyte@gentoo.org>2012-10-14 18:04:31 +0000
commit0fcb807bd8d51afd4d3fe13fc21a6c61510d378d (patch)
tree32663c4be77bfca9e224e92ce83aa219d0d9352a /net-libs
parentUnmask net-analyzer/fragroute, cause all of it's dependencies are also unmask... (diff)
downloadgentoo-2-0fcb807bd8d51afd4d3fe13fc21a6c61510d378d.tar.gz
gentoo-2-0fcb807bd8d51afd4d3fe13fc21a6c61510d378d.tar.bz2
gentoo-2-0fcb807bd8d51afd4d3fe13fc21a6c61510d378d.zip
Add missing x11-libs/qt-test, needed for tests
(Portage version: 2.2.0_alpha134/cvs/Linux x86_64)
Diffstat (limited to 'net-libs')
-rw-r--r--net-libs/qxmpp/ChangeLog6
-rw-r--r--net-libs/qxmpp/qxmpp-0.7.4.ebuild11
-rw-r--r--net-libs/qxmpp/qxmpp-9999.ebuild6
3 files changed, 18 insertions, 5 deletions
diff --git a/net-libs/qxmpp/ChangeLog b/net-libs/qxmpp/ChangeLog
index 5d5a28e4da28..e8fec0c3a0c0 100644
--- a/net-libs/qxmpp/ChangeLog
+++ b/net-libs/qxmpp/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for net-libs/qxmpp
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-libs/qxmpp/ChangeLog,v 1.23 2012/10/05 07:07:01 pinkbyte Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-libs/qxmpp/ChangeLog,v 1.24 2012/10/14 18:04:31 pinkbyte Exp $
+
+ 14 Oct 2012; Sergey Popov <pinkbyte@gentoo.org> qxmpp-0.7.4.ebuild,
+ qxmpp-9999.ebuild:
+ Add missing x11-libs/qt-test, needed for tests
05 Oct 2012; Sergey Popov <pinkbyte@gentoo.org> -qxmpp-0.3.45.2.ebuild,
-qxmpp-0.7.3.ebuild:
diff --git a/net-libs/qxmpp/qxmpp-0.7.4.ebuild b/net-libs/qxmpp/qxmpp-0.7.4.ebuild
index 13a01c974dfc..946e78fae776 100644
--- a/net-libs/qxmpp/qxmpp-0.7.4.ebuild
+++ b/net-libs/qxmpp/qxmpp-0.7.4.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-libs/qxmpp/qxmpp-0.7.4.ebuild,v 1.2 2012/10/04 15:19:59 pinkbyte Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-libs/qxmpp/qxmpp-0.7.4.ebuild,v 1.3 2012/10/14 18:04:31 pinkbyte Exp $
EAPI=4
@@ -13,11 +13,12 @@ SRC_URI="http://qxmpp.googlecode.com/files/${P}.tar.gz"
LICENSE="LGPL-2.1"
SLOT="0"
KEYWORDS="~amd64 ~x86"
-IUSE="debug doc"
+IUSE="debug doc test"
DEPEND="x11-libs/qt-core:4
x11-libs/qt-gui:4
- media-libs/speex"
+ media-libs/speex
+ test? ( x11-libs/qt-test:4 )"
RDEPEND="${DEPEND}"
src_prepare(){
@@ -27,6 +28,10 @@ src_prepare(){
-e '/INSTALLS/d' \
qxmpp.pro || die "sed for removing docs failed"
fi
+ if ! use test; then
+ sed -i -e '/SUBDIRS/s/tests//' \
+ qxmpp.pro || die "sed for removing tests failed"
+ fi
qt4-r2_src_prepare
}
diff --git a/net-libs/qxmpp/qxmpp-9999.ebuild b/net-libs/qxmpp/qxmpp-9999.ebuild
index 23535da301fc..bb70132019eb 100644
--- a/net-libs/qxmpp/qxmpp-9999.ebuild
+++ b/net-libs/qxmpp/qxmpp-9999.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-libs/qxmpp/qxmpp-9999.ebuild,v 1.7 2012/10/04 15:19:59 pinkbyte Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-libs/qxmpp/qxmpp-9999.ebuild,v 1.8 2012/10/14 18:04:31 pinkbyte Exp $
EAPI=4
@@ -28,6 +28,10 @@ src_prepare(){
-e '/INSTALLS/d' \
qxmpp.pro || die "sed for removing docs failed"
fi
+ if ! use test; then
+ sed -i -e '/SUBDIRS/s/tests//' \
+ qxmpp.pro || die "sed for removing tests failed"
+ fi
qt4-r2_src_prepare
}