commit:     6b5995353c2146286be7777214df3e8bcbbb768a
Author:     Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
AuthorDate: Mon Nov 12 09:28:30 2018 +0000
Commit:     Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
CommitDate: Mon Nov 12 09:28:30 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6b599535

sys-fs/android-file-transfer-linux: Simplified live ebuild a bit.

Package-Manager: Portage-2.3.51, Repoman-2.3.12
Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org>

 .../android-file-transfer-linux-9999.ebuild                       | 8 ++------
 1 file changed, 2 insertions(+), 6 deletions(-)

diff --git 
a/sys-fs/android-file-transfer-linux/android-file-transfer-linux-9999.ebuild 
b/sys-fs/android-file-transfer-linux/android-file-transfer-linux-9999.ebuild
index 753c4b81006..de7813d3065 100644
--- a/sys-fs/android-file-transfer-linux/android-file-transfer-linux-9999.ebuild
+++ b/sys-fs/android-file-transfer-linux/android-file-transfer-linux-9999.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -41,12 +41,8 @@ src_configure() {
                -DBUILD_SHARED_LIB="ON"
                # Upstream recommends to keep this off as libusb is broken
                -DUSB_BACKEND_LIBUSB="OFF"
+               $(usex qt5 '-DDESIRED_QT_VERSION=5' '')
        )
-       if use qt5 ; then
-               mycmakeargs+=(
-                       -DDESIRED_QT_VERSION=5
-               )
-       fi
        cmake-utils_src_configure
 }
 

Reply via email to