sys-fs/android-file-transfer-linux: Simplified live ebuild a bit.
authorLars Wendler <polynomial-c@gentoo.org>
Mon, 12 Nov 2018 09:28:30 +0000 (10:28 +0100)
committerLars Wendler <polynomial-c@gentoo.org>
Mon, 12 Nov 2018 09:28:30 +0000 (10:28 +0100)
Package-Manager: Portage-2.3.51, Repoman-2.3.12
Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
sys-fs/android-file-transfer-linux/android-file-transfer-linux-9999.ebuild

index 753c4b81006b1aa01222e04126d356f2f4859057..de7813d306531b83ba79e443fe1e888b18c772d0 100644 (file)
@@ -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
 }