From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 785C4138334 for ; Thu, 16 Aug 2018 23:01:43 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 84E4FE07D8; Thu, 16 Aug 2018 23:01:42 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 59A7CE07D8 for ; Thu, 16 Aug 2018 23:01:42 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id B1E5A335D38 for ; Thu, 16 Aug 2018 23:01:40 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id E8B3A38E for ; Thu, 16 Aug 2018 23:01:38 +0000 (UTC) From: "Mart Raudsepp" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Mart Raudsepp" Message-ID: <1534460441.6a4b543dbfc67cdff52c25a6a4de9778052726d1.leio@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/libinput/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-libs/libinput/libinput-1.11.3.ebuild X-VCS-Directories: dev-libs/libinput/ X-VCS-Committer: leio X-VCS-Committer-Name: Mart Raudsepp X-VCS-Revision: 6a4b543dbfc67cdff52c25a6a4de9778052726d1 X-VCS-Branch: master Date: Thu, 16 Aug 2018 23:01:38 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 96bad0de-d3d5-4f19-bde2-381efab8aa7e X-Archives-Hash: abf5168267264821c7e5f3f8b6a4fb0e commit: 6a4b543dbfc67cdff52c25a6a4de9778052726d1 Author: Mart Raudsepp gentoo org> AuthorDate: Thu Aug 16 23:00:14 2018 +0000 Commit: Mart Raudsepp gentoo org> CommitDate: Thu Aug 16 23:00:41 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6a4b543d dev-libs/libinput-1.11.3: fix build with USE=test, other tweaks New portage allows USE=test independent of FEATURES=test, so handle that case - for now by just always telling meson to disable the build as well, as the deps wouldn't be there. Make use of meson_use function from meson.eclass. Remove .la and .a file removing, as meson does not use libtool, nor does it build static libraries without asking. Closes: https://bugs.gentoo.org/663342 Package-Manager: Portage-2.3.46, Repoman-2.3.10 dev-libs/libinput/libinput-1.11.3.ebuild | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/dev-libs/libinput/libinput-1.11.3.ebuild b/dev-libs/libinput/libinput-1.11.3.ebuild index 0635ed1b8fa..e26ac3c3c0f 100644 --- a/dev-libs/libinput/libinput-1.11.3.ebuild +++ b/dev-libs/libinput/libinput-1.11.3.ebuild @@ -11,7 +11,7 @@ SRC_URI="https://www.freedesktop.org/software/${PN}/${P}.tar.xz" LICENSE="MIT" SLOT="0/10" KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86" -IUSE="doc input_devices_wacom test" +IUSE="doc input_devices_wacom" # Tests require write access to udev rules directory which is a no-no for live system. # Other tests are just about logs, exported symbols and autotest of the test library. RESTRICT="test" @@ -39,9 +39,9 @@ src_configure() { # gui can be built but will not be installed local emesonargs=( -Ddebug-gui=false - -Ddocumentation="$(usex doc true false)" - -Dlibwacom="$(usex input_devices_wacom true false)" - -Dtests="$(usex test true false)" + $(meson_use doc documentation) + $(meson_use input_devices_wacom libwacom) + -Dtests=false # tests are restricted -Dudev-dir="$(get_udevdir)" ) meson_src_configure @@ -53,7 +53,6 @@ src_install() { docinto html dodoc -r "${BUILD_DIR}"/html/. fi - find "${ED}" \( -name "*.a" -o -name "*.la" \) -delete || die } pkg_postinst() {