commit:     9882f5502a5290c586acdda6a3d5e0c88bfd0d37
Author:     Davide Pesavento <pesa <AT> gentoo <DOT> org>
AuthorDate: Sat Apr 23 13:49:59 2016 +0000
Commit:     Davide Pesavento <pesa <AT> gentoo <DOT> org>
CommitDate: Sat Apr 23 13:49:59 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9882f550

x11-apps/copyq: linguist-tools is a build-time dep only

Gentoo-Bug: 544938

Package-Manager: portage-2.2.28

 x11-apps/copyq/copyq-2.5.0.ebuild | 16 ++++++++++------
 1 file changed, 10 insertions(+), 6 deletions(-)

diff --git a/x11-apps/copyq/copyq-2.5.0.ebuild 
b/x11-apps/copyq/copyq-2.5.0.ebuild
index 0f9fa1d..a9e7b65 100644
--- a/x11-apps/copyq/copyq-2.5.0.ebuild
+++ b/x11-apps/copyq/copyq-2.5.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
@@ -27,7 +27,6 @@ RDEPEND="
                webkit? ( dev-qt/qtwebkit:4 )
        )
        qt5? (
-               dev-qt/linguist-tools:5
                dev-qt/qtcore:5
                dev-qt/qtgui:5
                dev-qt/qtnetwork:5
@@ -38,18 +37,23 @@ RDEPEND="
        )
 "
 DEPEND="${RDEPEND}
-       qt4? ( test? ( dev-qt/qttest:4 ) )
-       qt5? ( test? ( dev-qt/qttest:5 ) )
+       qt4? (
+               test? ( dev-qt/qttest:4 )
+       )
+       qt5? (
+               dev-qt/linguist-tools:5
+               test? ( dev-qt/qttest:5 )
+       )
 "
 
-S="${WORKDIR}"/CopyQ-${PV}
+S=${WORKDIR}/CopyQ-${PV}
 
 src_configure() {
        mycmakeargs=(
                $(cmake-utils_use_with qt5)
                $(cmake-utils_use_with webkit)
                $(cmake-utils_use_with test TESTS)
-               -DPLUGIN_INSTALL_PREFIX=/usr/$(get_libdir)/${PN}/plugins/
+               -DPLUGIN_INSTALL_PREFIX="/usr/$(get_libdir)/${PN}/plugins"
        )
        cmake-utils_src_configure
 }

Reply via email to