summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-libs/telepathy-qt/telepathy-qt-0.9.5.ebuild')
-rw-r--r--net-libs/telepathy-qt/telepathy-qt-0.9.5.ebuild20
1 files changed, 7 insertions, 13 deletions
diff --git a/net-libs/telepathy-qt/telepathy-qt-0.9.5.ebuild b/net-libs/telepathy-qt/telepathy-qt-0.9.5.ebuild
index 43446f6e98ac..4987038cf352 100644
--- a/net-libs/telepathy-qt/telepathy-qt-0.9.5.ebuild
+++ b/net-libs/telepathy-qt/telepathy-qt-0.9.5.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-libs/telepathy-qt/telepathy-qt-0.9.5.ebuild,v 1.1 2014/09/15 16:41:59 johu Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-libs/telepathy-qt/telepathy-qt-0.9.5.ebuild,v 1.2 2015/01/30 22:24:22 johu Exp $
EAPI=5
@@ -52,13 +52,7 @@ RESTRICT="test"
pkg_setup() {
python-any-r1_pkg_setup
- MULTIBUILD_VARIANTS=()
- if use qt4; then
- MULTIBUILD_VARIANTS+=(qt4)
- fi
- if use qt5; then
- MULTIBUILD_VARIANTS+=(qt5)
- fi
+ MULTIBUILD_VARIANTS=( $(usev qt4) $(usev qt5) )
}
src_configure() {
@@ -86,10 +80,6 @@ src_compile() {
multibuild_foreach_variant cmake-utils_src_compile
}
-src_install() {
- multibuild_foreach_variant cmake-utils_src_install
-}
-
src_test() {
mytest() {
pushd "${BUILD_DIR}" > /dev/null
@@ -99,3 +89,7 @@ src_test() {
multibuild_foreach_variant mytest
}
+
+src_install() {
+ multibuild_foreach_variant cmake-utils_src_install
+}